patch 'net/txgbe: fix to create FDIR filter for SCTP packet' has been queued to stable release 23.11.5

Xueming Li xuemingl at nvidia.com
Wed Jul 30 16:56:11 CEST 2025


Hi,

FYI, your patch has been queued to stable release 23.11.5

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/10/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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=dde1fb6dc495e141550b58299eb3e6291a557974

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From dde1fb6dc495e141550b58299eb3e6291a557974 Mon Sep 17 00:00:00 2001
From: Jiawen Wu <jiawenwu at trustnetic.com>
Date: Fri, 13 Jun 2025 16:41:47 +0800
Subject: [PATCH] net/txgbe: fix to create FDIR filter for SCTP packet
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 0db38d54b57a963bab33dca65c1795eefdca2dd5 ]

The check for the mask of SCTP item is repeated and wrong, fix it to
make it work.

Fixes: b973ee26747a ("net/txgbe: parse flow director filter")
Cc: stable at dpdk.org

Signed-off-by: Jiawen Wu <jiawenwu at trustnetic.com>
---
 drivers/net/txgbe/txgbe_flow.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/drivers/net/txgbe/txgbe_flow.c b/drivers/net/txgbe/txgbe_flow.c
index 3c02f0e891..a50bdffd62 100644
--- a/drivers/net/txgbe/txgbe_flow.c
+++ b/drivers/net/txgbe/txgbe_flow.c
@@ -2067,19 +2067,6 @@ txgbe_parse_fdir_filter_normal(struct rte_eth_dev *dev __rte_unused,
 			rule->input.dst_port =
 				sctp_spec->hdr.dst_port;
 		}
-		/* others even sctp port is not supported */
-		sctp_mask = item->mask;
-		if (sctp_mask &&
-			(sctp_mask->hdr.src_port ||
-			 sctp_mask->hdr.dst_port ||
-			 sctp_mask->hdr.tag ||
-			 sctp_mask->hdr.cksum)) {
-			memset(rule, 0, sizeof(struct txgbe_fdir_rule));
-			rte_flow_error_set(error, EINVAL,
-				RTE_FLOW_ERROR_TYPE_ITEM,
-				item, "Not supported by fdir filter");
-			return -rte_errno;
-		}
 
 		item = next_no_fuzzy_pattern(pattern, item);
 		if (item->type != RTE_FLOW_ITEM_TYPE_RAW &&
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-07-30 22:50:03.294756479 +0800
+++ 0002-net-txgbe-fix-to-create-FDIR-filter-for-SCTP-packet.patch	2025-07-30 22:50:02.916739584 +0800
@@ -1 +1 @@
-From 0db38d54b57a963bab33dca65c1795eefdca2dd5 Mon Sep 17 00:00:00 2001
+From dde1fb6dc495e141550b58299eb3e6291a557974 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 0db38d54b57a963bab33dca65c1795eefdca2dd5 ]
@@ -18 +21 @@
-index bce88aebd3..c7cbf96a46 100644
+index 3c02f0e891..a50bdffd62 100644


More information about the stable mailing list