summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@oracle.com>2018-02-22 11:09:55 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-03-12 10:36:04 -0700
commit68c1fb2d30209757f9a9f6e5ea587ea3bb8724c0 (patch)
tree174b88584cd87dc4411218ec6ed8e2cd75a5425b /drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
parent8b4c6ed2ed0e3d53e93e20e3f20cadf0d1a47483 (diff)
downloadblackbird-op-linux-68c1fb2d30209757f9a9f6e5ea587ea3bb8724c0.tar.gz
blackbird-op-linux-68c1fb2d30209757f9a9f6e5ea587ea3bb8724c0.zip
ixgbe: check for 128-bit authentication
Make sure the Security Association is using a 128-bit authentication, since that's the only size that the hardware offload supports. 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>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
index da3ce7849e85..87d2800b94ab 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
@@ -32,6 +32,7 @@
#define IXGBE_IPSEC_MAX_RX_IP_COUNT 128
#define IXGBE_IPSEC_BASE_RX_INDEX 0
#define IXGBE_IPSEC_BASE_TX_INDEX IXGBE_IPSEC_MAX_SA_COUNT
+#define IXGBE_IPSEC_AUTH_BITS 128
#define IXGBE_RXTXIDX_IPS_EN 0x00000001
#define IXGBE_RXIDX_TBL_SHIFT 1
OpenPOWER on IntegriCloud