patch 'net/cnxk: fix Rx inject LF' has been queued to stable release 24.11.4

Kevin Traynor ktraynor at redhat.com
Fri Nov 21 12:21:03 CET 2025


Hi,

FYI, your patch has been queued to stable release 24.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/26/25. 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/49c087983d021e0570f198a34f4a07389cf2e68c

Thanks.

Kevin

---
>From 49c087983d021e0570f198a34f4a07389cf2e68c Mon Sep 17 00:00:00 2001
From: Aarnav JP <ajp at marvell.com>
Date: Thu, 13 Nov 2025 10:08:07 +0530
Subject: [PATCH] net/cnxk: fix Rx inject LF

[ upstream commit 7d2c9dae103299edffbb436793ef499a6fdd9beb ]

Fix illegal access on error.

Fixes: 47cca253d605 ("net/cnxk: support Rx inject")

Signed-off-by: Aarnav JP <ajp at marvell.com>
---
 drivers/net/cnxk/cn10k_ethdev_sec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/cnxk/cn10k_ethdev_sec.c b/drivers/net/cnxk/cn10k_ethdev_sec.c
index 35b1665a10..8de80031aa 100644
--- a/drivers/net/cnxk/cn10k_ethdev_sec.c
+++ b/drivers/net/cnxk/cn10k_ethdev_sec.c
@@ -1347,4 +1347,6 @@ cn10k_eth_sec_rx_inject_config(void *device, uint16_t port_id, bool enable)
 
 	inl_lf = roc_nix_inl_inb_inj_lf_get(nix);
+	if (!inl_lf)
+		return -ENOTSUP;
 	sa_base = roc_nix_inl_inb_sa_base_get(nix, dev->inb.inl_dev);
 
-- 
2.51.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-11-21 11:05:12.016020535 +0000
+++ 0079-net-cnxk-fix-Rx-inject-LF.patch	2025-11-21 11:05:09.560201583 +0000
@@ -1 +1 @@
-From 7d2c9dae103299edffbb436793ef499a6fdd9beb Mon Sep 17 00:00:00 2001
+From 49c087983d021e0570f198a34f4a07389cf2e68c Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7d2c9dae103299edffbb436793ef499a6fdd9beb ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -17 +18 @@
-index f26830637f..855bea1796 100644
+index 35b1665a10..8de80031aa 100644
@@ -20 +21 @@
-@@ -1337,4 +1337,6 @@ cn10k_eth_sec_rx_inject_config(void *device, uint16_t port_id, bool enable)
+@@ -1347,4 +1347,6 @@ cn10k_eth_sec_rx_inject_config(void *device, uint16_t port_id, bool enable)



More information about the stable mailing list