summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorHiroshi Shimamoto2015-08-28 08:58:33 +0200
committerJeff Kirsher2015-10-23 14:48:53 +0200
commit54011e4db839504791cf8317fc48949c683587d4 (patch)
tree0084cb505d3f22ba0a9478e3fba69fd6e55564b8 /drivers/net/ethernet/intel/ixgbe/ixgbe.h
parentif_link: Add control trust VF (diff)
downloadkernel-qcow2-linux-54011e4db839504791cf8317fc48949c683587d4.tar.gz
kernel-qcow2-linux-54011e4db839504791cf8317fc48949c683587d4.tar.xz
kernel-qcow2-linux-54011e4db839504791cf8317fc48949c683587d4.zip
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe.h
index dda0f678339a..920de986296c 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe.h
@@ -152,6 +152,7 @@ struct vf_data_storage {
u16 vlan_count;
u8 spoofchk_enabled;
bool rss_query_enabled;
+ u8 trusted;
unsigned int vf_api;
};