ixgbe: add VF IPsec offload enable flag
authorShannon Nelson <shannon.nelson@oracle.com>
Mon, 13 Aug 2018 18:43:41 +0000 (11:43 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 28 Aug 2018 21:33:10 +0000 (14:33 -0700)
commit9e4e30cc0c41bb5c727851c7028f840d488365ee
tree8cb5db87fe8f1748ab694f329e3566772cd4197e
parenteda0333ac29304c5f5cd72d963d5d1e788ce49ab
ixgbe: add VF IPsec offload enable flag

Add a private flag to expressly enable support for VF IPsec offload.
The VF will have to be "trusted" in order to use the hardware offload,
but because of the general concerns of managing VF access, we want to
be sure the user specifically is enabling the feature.

This is likely a candidate for becoming a netdev feature flag.

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@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_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c