patch 'net/txgbe: fix ntuple filter parsing' has been queued to stable release 24.11.3
Kevin Traynor
ktraynor at redhat.com
Fri Jul 18 21:31:11 CEST 2025
Hi,
FYI, your patch has been queued to stable release 24.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 07/23/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/bd50b4bd8c263b302d6d24f71bda115b6ec0f231
Thanks.
Kevin
---
>From bd50b4bd8c263b302d6d24f71bda115b6ec0f231 Mon Sep 17 00:00:00 2001
From: Jiawen Wu <jiawenwu at trustnetic.com>
Date: Fri, 13 Jun 2025 16:41:44 +0800
Subject: [PATCH] net/txgbe: fix ntuple filter parsing
[ upstream commit bed0e6aba0aef7a1e67d3ee620873817f00a511d ]
The rule is incorrectly parsed to ntuple filter when setting the pattern
likes:
flow create ... ipv4 / udp dst is ... / raw ... / end actions ... / end
It causes the rule to be created successfully, but not works. Fix it to
parse for FDIR rules.
Fixes: b7eeecb17556 ("net/txgbe: parse n-tuple filter")
Signed-off-by: Jiawen Wu <jiawenwu at trustnetic.com>
---
drivers/net/txgbe/txgbe_flow.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/txgbe/txgbe_flow.c b/drivers/net/txgbe/txgbe_flow.c
index 5d2dd45368..e0b1e1e5ba 100644
--- a/drivers/net/txgbe/txgbe_flow.c
+++ b/drivers/net/txgbe/txgbe_flow.c
@@ -362,5 +362,5 @@ cons_parse_ntuple_filter(const struct rte_flow_attr *attr,
if (item->type != RTE_FLOW_ITEM_TYPE_END &&
(!item->spec && !item->mask)) {
- goto action;
+ goto item_end;
}
@@ -491,4 +491,5 @@ cons_parse_ntuple_filter(const struct rte_flow_attr *attr,
}
+item_end:
/* check if the next not void item is END */
item = next_no_void_pattern(pattern, item);
--
2.50.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-07-18 20:29:15.843865190 +0100
+++ 0137-net-txgbe-fix-ntuple-filter-parsing.patch 2025-07-18 20:29:11.099907849 +0100
@@ -1 +1 @@
-From bed0e6aba0aef7a1e67d3ee620873817f00a511d Mon Sep 17 00:00:00 2001
+From bd50b4bd8c263b302d6d24f71bda115b6ec0f231 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit bed0e6aba0aef7a1e67d3ee620873817f00a511d ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index 1d854d0767..269f0b54e3 100644
+index 5d2dd45368..e0b1e1e5ba 100644
More information about the stable
mailing list