[PATCH v1 5/6] net/ixgbe: fix missing HW write in IPsec
Anatoly Burakov
anatoly.burakov at intel.com
Tue Aug 18 15:19:31 CEST 2026
When removing an SA and finding ourselves with zero refcount on an IP table
entry, we zero out the IP table registers, but do not write them. Add the
missing write.
Fixes: 9a0752f498d2 ("net/ixgbe: enable inline IPsec")
Cc: radu.nicolau at intel.com
Cc: stable at dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
drivers/net/intel/ixgbe/ixgbe_ipsec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/intel/ixgbe/ixgbe_ipsec.c b/drivers/net/intel/ixgbe/ixgbe_ipsec.c
index 1d001b955b..2d1b3a43ca 100644
--- a/drivers/net/intel/ixgbe/ixgbe_ipsec.c
+++ b/drivers/net/intel/ixgbe/ixgbe_ipsec.c
@@ -312,6 +312,7 @@ ixgbe_crypto_remove_sa(struct ixgbe_crypto_session *ic_session)
IXGBE_WRITE_REG(hw, IXGBE_IPSRXIPADDR(1), 0);
IXGBE_WRITE_REG(hw, IXGBE_IPSRXIPADDR(2), 0);
IXGBE_WRITE_REG(hw, IXGBE_IPSRXIPADDR(3), 0);
+ IXGBE_WAIT_RWRITE;
}
} else { /* session->dir == RTE_CRYPTO_OUTBOUND */
int i;
--
2.52.0
More information about the dev
mailing list