patch 'ethdev: fix MACsec item support in flow conversion' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:06:39 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.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 12/08/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/4e3e4060b69b2cf24a20a28022e1c46878fb6e3d
Thanks.
Kevin
---
>From 4e3e4060b69b2cf24a20a28022e1c46878fb6e3d Mon Sep 17 00:00:00 2001
From: Anatoly Burakov <anatoly.burakov at intel.com>
Date: Tue, 27 Oct 2026 09:50:09 +0000
Subject: [PATCH] ethdev: fix MACsec item support in flow conversion
[ upstream commit c8325b39396ea61f9f0621d0ef5149ca9d74a845 ]
RTE_FLOW_ITEM_TYPE_MACSEC was never added to rte_flow_desc_item[].
The table uses designated initializers, so the MACSEC slot is zero
filled: its name is NULL and its size is zero.
As a result, RTE_FLOW_CONV_OP_ITEM_NAME on MACSEC passes a NULL
source to strlcpy(), and rte_flow_copy() as well as the pattern
conversion operations reject any pattern containing a MACSEC item
as an unknown item type.
Add the missing descriptor entry.
Fixes: 0aaf097585a6 ("ethdev: add MACsec flow item")
Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
lib/ethdev/rte_flow.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/ethdev/rte_flow.c b/lib/ethdev/rte_flow.c
index 9342663141..c9ab6bc5a8 100644
--- a/lib/ethdev/rte_flow.c
+++ b/lib/ethdev/rte_flow.c
@@ -170,4 +170,5 @@ static const struct rte_flow_desc_data rte_flow_desc_item[] = {
MK_FLOW_ITEM(L2TPV2, sizeof(struct rte_flow_item_l2tpv2)),
MK_FLOW_ITEM(PPP, sizeof(struct rte_flow_item_ppp)),
+ MK_FLOW_ITEM(MACSEC, sizeof(struct rte_flow_item_macsec)),
MK_FLOW_ITEM(METER_COLOR, sizeof(struct rte_flow_item_meter_color)),
MK_FLOW_ITEM(IPV6_ROUTING_EXT, sizeof(struct rte_flow_item_ipv6_routing_ext)),
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:52.555021159 +0000
+++ 0473-ethdev-fix-MACsec-item-support-in-flow-conversion.patch 2026-12-03 12:52:39.359776805 +0000
@@ -1 +1 @@
-From c8325b39396ea61f9f0621d0ef5149ca9d74a845 Mon Sep 17 00:00:00 2001
+From 4e3e4060b69b2cf24a20a28022e1c46878fb6e3d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c8325b39396ea61f9f0621d0ef5149ca9d74a845 ]
+
@@ -18 +19,0 @@
-Cc: stable at dpdk.org
@@ -26 +27 @@
-index 704ed663c5..6e544f4bc9 100644
+index 9342663141..c9ab6bc5a8 100644
@@ -29,3 +30,3 @@
-@@ -230,4 +230,5 @@ static const struct rte_flow_desc_data rte_flow_desc_item[] = {
- MK_FLOW_ITEM_MASK(PPP, sizeof(struct rte_flow_item_ppp),
- rte_flow_item_ppp_mask),
+@@ -170,4 +170,5 @@ static const struct rte_flow_desc_data rte_flow_desc_item[] = {
+ MK_FLOW_ITEM(L2TPV2, sizeof(struct rte_flow_item_l2tpv2)),
+ MK_FLOW_ITEM(PPP, sizeof(struct rte_flow_item_ppp)),
@@ -33,2 +34,2 @@
- MK_FLOW_ITEM_MASK(METER_COLOR, sizeof(struct rte_flow_item_meter_color),
- rte_flow_item_meter_color_mask),
+ MK_FLOW_ITEM(METER_COLOR, sizeof(struct rte_flow_item_meter_color)),
+ MK_FLOW_ITEM(IPV6_ROUTING_EXT, sizeof(struct rte_flow_item_ipv6_routing_ext)),
More information about the stable
mailing list