]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
authorAntony Antony <antony@phenome.org>
Wed, 14 Oct 2020 14:17:48 +0000 (16:17 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 4 Mar 2021 19:05:05 +0000 (11:05 -0800)
commit84e705e2913aa23ca5707b6f861c180bd3850645
tree1eb39dc308b69c2ef8a76d48db46fc755019bf3a
parentc8b9e7f05e2781e3e5fc54d6dfb7f8b8d243d73d
ixgbe: fail to create xfrm offload of IPsec tunnel mode SA

Based on talks and indirect references ixgbe IPsec offlod do not
support IPsec tunnel mode offload. It can only support IPsec transport
mode offload. Now explicitly fail when creating non transport mode SA
with offload to avoid false performance expectations.

Fixes: 18edfc0fe4a0 ("ixgbe: add ipsec offload add and remove SA")
Signed-off-by: Antony Antony <antony@phenome.org>
Acked-by: Shannon Nelson <snelson@pensando.io>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c
drivers/net/ethernet/intel/ixgbevf/ipsec.c