diff options
author | Rony Efraim <ronye@mellanox.com> | 2013-06-13 13:19:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-13 17:51:04 -0700 |
commit | 1d8faf48c74b8329a0322dc4b2a2030ae5003c86 (patch) | |
tree | 63471c7ee9379f70e30b27b82cf6f155683b4468 /include/linux/if_link.h | |
parent | 3dc6475c0c9e55ac7f053ad6b8b398e779954545 (diff) |
net/core: Add VF link state control
Add netlink directives and ndo entry to allow for controling
VF link, which can be in one of three states:
Auto - VF link state reflects the PF link state (default)
Up - VF link state is up, traffic from VF to VF works even if
the actual PF link is down
Down - VF link state is down, no traffic from/to this VF, can be of
use while configuring the VF
Signed-off-by: Rony Efraim <ronye@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_link.h')
-rw-r--r-- | include/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_link.h b/include/linux/if_link.h index c3f817c3eb45..a86784dec3d3 100644 --- a/include/linux/if_link.h +++ b/include/linux/if_link.h @@ -12,5 +12,6 @@ struct ifla_vf_info { __u32 qos; __u32 tx_rate; __u32 spoofchk; + __u32 linkstate; }; #endif /* _LINUX_IF_LINK_H */ |