]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitf049efc7f7cd2f3c419f55040928eaefb13b3636
treefcf8f500b846ce461bad6b555644f06605e24d25
parent126858db81a5094d20885bc59621c3b9497f9048
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: eda0333ac293 ("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