]> 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)
commit0fce0b82b9259eafce3c7208d1ef9e7efe41aabe
treefcf8f500b846ce461bad6b555644f06605e24d25
parent6cf8a31157699d718eec89b26ef86a6ff3b59c53
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: cd966c33267e ("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