]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ixgbe: Add new ndo to trust VF
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Fri, 28 Aug 2015 06:58:33 +0000 (06:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Oct 2015 12:48:53 +0000 (05:48 -0700)
commit54011e4db839504791cf8317fc48949c683587d4
tree0084cb505d3f22ba0a9478e3fba69fd6e55564b8
parentdd461d6aa894761fe67c30ddf81eec0d08be216b
ixgbe: Add new ndo to trust VF

Implements the new netdev op to trust VF in ixgbe.

The administrator can turn on and off VF trusted by ip command which
supports trust message.
 # ip link set dev eth0 vf 1 trust on
or
 # ip link set dev eth0 vf 1 trust off

Send a ping to reset VF on changing the status of trusting.
VF driver will reconfigure its features on reset.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h