Skip to contentSkip to conversation

net/iavf: fix ESN session update

PATCH Applied Radu Nicolau 2 participants 2 messages Sep 11, 2023 – Sep 13, 2023 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/iavf: fix ESN session update

Update both high and low section of the ESN.

Fixes 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
---
 drivers/net/iavf/iavf_ipsec_crypto.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/iavf/iavf_ipsec_crypto.c +1 -0
index 408b410f15..07a69db540 100644
@@ -828,6 +828,7 @@ iavf_ipsec_crypto_sa_update_esn(struct iavf_adapter *adapter,
 	/* set request params */
 	request->ipsec_data.sa_update->sa_index = sess->sa.hw_idx;
 	request->ipsec_data.sa_update->esn_hi = sess->esn.hi;
+	request->ipsec_data.sa_update->esn_low = sess->esn.low;
 
 	/* send virtual channel request to add SA to hardware database */
 	rc = iavf_ipsec_crypto_request(adapter,
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1 Applied
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: Radu Nicolau <[email protected]>
Sent: Monday, September 11, 2023 5:21 PM
To: Wu, Jingjing <[email protected]>; Xing, Beilei <[email protected]>
Cc: [email protected]; Nicolau, Radu <[email protected]>; [email protected]
Subject: [PATCH] net/iavf: fix ESN session update

Quoted 6 lines

Update both high and low section of the ESN.

Fixes 6bc987ecb860 ("net/iavf: support IPsec inline crypto")

Applied to dpdk-next-net-intel.

Thanks
Qi