diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-02-02 07:43:45 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-07 14:02:22 -0500 |
commit | 67eb03318bc5fe170ae832423fda7a23b0d801cf (patch) | |
tree | 9f5a83fb008781ba06e605a2ef88ec6d294ec24a /include | |
parent | 22fae97d863679994b951799dd4bbe7afd95897b (diff) | |
download | linux-67eb03318bc5fe170ae832423fda7a23b0d801cf.tar.bz2 |
net: Add support for fill_slave_info to VRF device
Allows userspace to have direct access to VRF table association
versus looking up master device and its table.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/if_link.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index d3e90b91e07e..d452cea59020 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -405,6 +405,14 @@ enum { #define IFLA_VRF_MAX (__IFLA_VRF_MAX - 1) +enum { + IFLA_VRF_PORT_UNSPEC, + IFLA_VRF_PORT_TABLE, + __IFLA_VRF_PORT_MAX +}; + +#define IFLA_VRF_PORT_MAX (__IFLA_VRF_PORT_MAX - 1) + /* IPVLAN section */ enum { IFLA_IPVLAN_UNSPEC, |