patch 'net/cnxk: fix security flag for custom inbound SA' has been queued to stable release 25.11.1

Kevin Traynor ktraynor at redhat.com
Thu Feb 26 14:10:33 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/02/26. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/1ef9aa60a5a423a3bc70dfed8c57b0662e656c80

Thanks.

Kevin

---
>From 1ef9aa60a5a423a3bc70dfed8c57b0662e656c80 Mon Sep 17 00:00:00 2001
From: Rahul Bhansali <rbhansali at marvell.com>
Date: Tue, 17 Feb 2026 11:13:34 +0530
Subject: [PATCH] net/cnxk: fix security flag for custom inbound SA

[ upstream commit b38522ad7338e7a9654774dbf5adc19858b22526 ]

Avoid NIX_RX_OFFLOAD_SECURITY_F fast path flag for
custom_inb_sa config.

Fixes: 7eaa499dd0c2 ("net/cnxk: support CN20K inline IPsec session")

Signed-off-by: Rahul Bhansali <rbhansali at marvell.com>
---
 drivers/net/cnxk/cn20k_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/cnxk/cn20k_ethdev.c b/drivers/net/cnxk/cn20k_ethdev.c
index a7ef1dd386..20be35c0e0 100644
--- a/drivers/net/cnxk/cn20k_ethdev.c
+++ b/drivers/net/cnxk/cn20k_ethdev.c
@@ -36,5 +36,5 @@ nix_rx_offload_flags(struct rte_eth_dev *eth_dev)
 		flags |= NIX_RX_OFFLOAD_PTYPE_F;
 
-	if (dev->rx_offloads & RTE_ETH_RX_OFFLOAD_SECURITY)
+	if (dev->rx_offloads & RTE_ETH_RX_OFFLOAD_SECURITY && !dev->nix.custom_inb_sa)
 		flags |= NIX_RX_OFFLOAD_SECURITY_F;
 
-- 
2.53.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-02-26 10:16:52.901144794 +0000
+++ 0151-net-cnxk-fix-security-flag-for-custom-inbound-SA.patch	2026-02-26 10:16:47.218460404 +0000
@@ -1 +1 @@
-From b38522ad7338e7a9654774dbf5adc19858b22526 Mon Sep 17 00:00:00 2001
+From 1ef9aa60a5a423a3bc70dfed8c57b0662e656c80 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b38522ad7338e7a9654774dbf5adc19858b22526 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list