summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2022-05-05 13:06:42 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2022-05-06 09:32:52 +0300
commit0c05ab78e3f2105de0f7be56e244906b1e8d176d (patch)
tree4601b62e5e802f1810a5eab10b6810adfaa9f281 /drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
parent482db2f1dd211f73ad9d71e33ae15c1df6379982 (diff)
downloadlinux-0c05ab78e3f2105de0f7be56e244906b1e8d176d.tar.xz
ixgbe: propagate XFRM offload state direction instead of flags
Convert the ixgbe driver to rely on XFRM offload state direction instead of flags bits that were not checked at all. Reviewed-by: Raed Salem <raeds@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
index d2b64ff8eb4e..809ab51a7842 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h
@@ -74,7 +74,7 @@ struct ixgbe_ipsec {
struct sa_mbx_msg {
__be32 spi;
- u8 flags;
+ u8 dir;
u8 proto;
u16 family;
__be32 addr[4];