net/iavf: fix ESN session update
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")
Signed-off-by Radu Nicolau <[email protected]>
--- drivers/net/iavf/iavf_ipsec_crypto.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/iavf/iavf_ipsec_crypto.c +1 -0
@@ -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
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")Signed-off-by Radu Nicolau <[email protected]>
Reviewed-by Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi