]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: ensure IPsec VF<->PF compatibility
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 27 Apr 2022 17:31:52 +0000 (10:31 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Apr 2022 16:40:02 +0000 (09:40 -0700)
commit15a069253a4d2b34666f3288f9d5f2250014ee53
treefcf8f500b846ce461bad6b555644f06605e24d25
parent16861931b506ec5aa8d0f377932e72ab1fb9f9ab
ixgbe: ensure IPsec VF<->PF compatibility

The VF driver can forward any IPsec flags and such makes the function
is not extendable and prone to backward/forward incompatibility.

If new software runs on VF, it won't know that PF configured something
completely different as it "knows" only XFRM_OFFLOAD_INBOUND flag.

Fixes: 4d9386935777 ("ixgbe: add VF IPsec management")
Reviewed-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Shannon Nelson <snelson@pensando.io>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://lore.kernel.org/r/20220427173152.443102-1-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c