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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Jul 6 12:20:41 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/cbdd0cfeedb7d062933ddd8b76c7c8d46dd802af

Thanks.

Luca Boccassi

---
>From cbdd0cfeedb7d062933ddd8b76c7c8d46dd802af 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 c23fd4ca7c..8c3353642b 100644
--- a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
+++ b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c
@@ -226,7 +226,7 @@ dpaa2_distset_to_dpkg_profile_cfg(
 	uint32_t loop = 0, i = 0;
 	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;
 	int esp_configured = 0;
@@ -405,6 +405,8 @@ dpaa2_distset_to_dpkg_profile_cfg(
 			case RTE_ETH_RSS_NONFRAG_IPV6_UDP:
 			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)
 					break;
@@ -431,34 +433,6 @@ dpaa2_distset_to_dpkg_profile_cfg(
 				i++;
 				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(
 				      "unsupported flow dist option 0x%" PRIx64,
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-03 12:55:48.535418005 +0100
+++ 0049-net-dpaa2-use-L4-port-extraction-for-SCTP-RSS.patch	2026-07-03 12:55:46.678574191 +0100
@@ -1 +1 @@
-From 4b200f10de27119481343b11aef547a607ef5287 Mon Sep 17 00:00:00 2001
+From cbdd0cfeedb7d062933ddd8b76c7c8d46dd802af Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4b200f10de27119481343b11aef547a607ef5287 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index e7578b7576..4df66d8f33 100644
+index c23fd4ca7c..8c3353642b 100644
@@ -25 +26 @@
-@@ -228,7 +228,7 @@ dpaa2_distset_to_dpkg_profile_cfg(
+@@ -226,7 +226,7 @@ dpaa2_distset_to_dpkg_profile_cfg(
@@ -34 +35 @@
-@@ -407,6 +407,8 @@ dpaa2_distset_to_dpkg_profile_cfg(
+@@ -405,6 +405,8 @@ dpaa2_distset_to_dpkg_profile_cfg(
@@ -43 +44 @@
-@@ -433,34 +435,6 @@ dpaa2_distset_to_dpkg_profile_cfg(
+@@ -431,34 +433,6 @@ dpaa2_distset_to_dpkg_profile_cfg(


More information about the stable mailing list