]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iplink: Support VF Trust
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Fri, 26 Feb 2016 02:40:18 +0000 (02:40 +0000)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 2 Mar 2016 17:26:24 +0000 (09:26 -0800)
commitb6d77d9ee312246146e9b5ca70a8a1426898b484
tree6b1bf971fd79f87ce1c85400627447d6a4a06d71
parent8a4cd3943fb8498a108f0d494bb3176deb01ab0f
iplink: Support VF Trust

Add IFLA_VF_TRUST message to trust the VF.
PF can accept some privileged operation from the trusted VF.
For example, ixgbe PF doesn't allow to enable VF promiscuous mode until
the VF is trusted because it may hurt performance.

To trust VF.
 # ip link set dev eth0 vf 1 trust on

To untrust VF.
 # ip link set dev eth0 vf 1 trust off

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
ip/iplink.c
man/man8/ip-link.8.in