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>
This commit is contained in:
parent
22fae97d86
commit
67eb03318b
2 changed files with 29 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue