patch 'net/dpaa2: add L4 destination port to RSS hash key' has been queued to stable release 24.11.7
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Jul 6 12:20:40 CEST 2026
Hi,
FYI, your patch has been queued to stable release 24.11.7
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/05/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/7b8e7654593cc4cb7dc6140f6ec56a1343a650ef
Thanks.
Luca Boccassi
---
>From 7b8e7654593cc4cb7dc6140f6ec56a1343a650ef Mon Sep 17 00:00:00 2001
From: Maxime Leroy <maxime at leroys.fr>
Date: Tue, 16 Jun 2026 12:47:10 +0200
Subject: [PATCH] net/dpaa2: add L4 destination port to RSS hash key
[ upstream commit 0d7cfb1318c18021644056f92775f70d422f558b ]
The TCP/UDP case of the RSS key builder added two extracts but both used
NH_FLD_TCP_PORT_SRC, so the L4 destination port was never part of the
hash. Use NH_FLD_TCP_PORT_DST for the second extract so both source and
destination ports contribute.
NET_PROT_TCP is kept: it maps to the hardware's generic L4 port
extraction (parser L4 offset, valid for TCP/UDP/SCTP), so this also
covers UDP traffic.
Fixes: 89c2ea8f5408 ("net/dpaa2: add RSS flow distribution")
Signed-off-by: Maxime Leroy <maxime at leroys.fr>
---
drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
index b492593837..c23fd4ca7c 100644
--- a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
+++ b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
@@ -423,7 +423,7 @@ dpaa2_distset_to_dpkg_profile_cfg(
kg_cfg->extracts[i].extract.from_hdr.prot =
NET_PROT_TCP;
kg_cfg->extracts[i].extract.from_hdr.field =
- NH_FLD_TCP_PORT_SRC;
+ NH_FLD_TCP_PORT_DST;
kg_cfg->extracts[i].type =
DPKG_EXTRACT_FROM_HDR;
kg_cfg->extracts[i].extract.from_hdr.type =
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-07-03 12:55:48.502243096 +0100
+++ 0048-net-dpaa2-add-L4-destination-port-to-RSS-hash-key.patch 2026-07-03 12:55:46.678574191 +0100
@@ -1 +1 @@
-From 0d7cfb1318c18021644056f92775f70d422f558b Mon Sep 17 00:00:00 2001
+From 7b8e7654593cc4cb7dc6140f6ec56a1343a650ef Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0d7cfb1318c18021644056f92775f70d422f558b ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index 13825046d8..e7578b7576 100644
+index b492593837..c23fd4ca7c 100644
@@ -27 +28 @@
-@@ -425,7 +425,7 @@ dpaa2_distset_to_dpkg_profile_cfg(
+@@ -423,7 +423,7 @@ dpaa2_distset_to_dpkg_profile_cfg(
More information about the stable
mailing list