patch 'net/dpaa2: use L4 port extraction for SCTP RSS' has been queued to stable release 25.11.3

Kevin Traynor ktraynor at redhat.com
Tue Jul 28 17:56:56 CEST 2026


Hi,

FYI, your patch has been queued to stable release 25.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/01/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/823af8a1ec731a6c8b0d06fab79d579c7d622707

Thanks.

Kevin

---
>From 823af8a1ec731a6c8b0d06fab79d579c7d622707 Mon Sep 17 00:00:00 2001
From: Maxime Leroy <maxime at leroys.fr>
Date: Tue, 16 Jun 2026 12:47:11 +0200
Subject: [PATCH] net/dpaa2: use L4 port extraction for SCTP RSS

[ upstream commit 4b200f10de27119481343b11aef547a607ef5287 ]

DPAA2 hardware exposes L4 source and destination port fields at the parser
L4 offset. These fields are valid when TCP, UDP, SCTP or DCCP is present.

The driver already uses the TCP port fields for the TCP/UDP RSS case.
Handle SCTP in the same L4 RSS case, so SCTP packets use the same L4
source and destination port extraction.

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 | 32 +++-----------------------
 1 file changed, 3 insertions(+), 29 deletions(-)

diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
index e7578b7576..4df66d8f33 100644
--- a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
+++ b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
@@ -229,5 +229,5 @@ dpaa2_distset_to_dpkg_profile_cfg(
 	uint64_t dist_field = 0;
 	int l2_configured = 0, l3_configured = 0;
-	int l4_configured = 0, sctp_configured = 0;
+	int l4_configured = 0;
 	int mpls_configured = 0;
 	int vlan_configured = 0;
@@ -408,4 +408,6 @@ dpaa2_distset_to_dpkg_profile_cfg(
 			case RTE_ETH_RSS_IPV6_TCP_EX:
 			case RTE_ETH_RSS_IPV6_UDP_EX:
+			case RTE_ETH_RSS_NONFRAG_IPV4_SCTP:
+			case RTE_ETH_RSS_NONFRAG_IPV6_SCTP:
 
 				if (l4_configured)
@@ -434,32 +436,4 @@ dpaa2_distset_to_dpkg_profile_cfg(
 				break;
 
-			case RTE_ETH_RSS_NONFRAG_IPV4_SCTP:
-			case RTE_ETH_RSS_NONFRAG_IPV6_SCTP:
-
-				if (sctp_configured)
-					break;
-				sctp_configured = 1;
-
-				kg_cfg->extracts[i].extract.from_hdr.prot =
-					NET_PROT_SCTP;
-				kg_cfg->extracts[i].extract.from_hdr.field =
-					NH_FLD_SCTP_PORT_SRC;
-				kg_cfg->extracts[i].type =
-					DPKG_EXTRACT_FROM_HDR;
-				kg_cfg->extracts[i].extract.from_hdr.type =
-					DPKG_FULL_FIELD;
-				i++;
-
-				kg_cfg->extracts[i].extract.from_hdr.prot =
-					NET_PROT_SCTP;
-				kg_cfg->extracts[i].extract.from_hdr.field =
-					NH_FLD_SCTP_PORT_DST;
-				kg_cfg->extracts[i].type =
-					DPKG_EXTRACT_FROM_HDR;
-				kg_cfg->extracts[i].extract.from_hdr.type =
-					DPKG_FULL_FIELD;
-				i++;
-				break;
-
 			default:
 				DPAA2_PMD_WARN(
-- 
2.55.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-28 16:54:53.294950801 +0100
+++ 0086-net-dpaa2-use-L4-port-extraction-for-SCTP-RSS.patch	2026-07-28 16:54:50.840135272 +0100
@@ -1 +1 @@
-From 4b200f10de27119481343b11aef547a607ef5287 Mon Sep 17 00:00:00 2001
+From 823af8a1ec731a6c8b0d06fab79d579c7d622707 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4b200f10de27119481343b11aef547a607ef5287 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list