patch 'net/af_packet: fix rollover fanout mode' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:04:19 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/825382008d103dbf3b90fc46929f87bfc6bffb26

Thanks.

Kevin

---
>From 825382008d103dbf3b90fc46929f87bfc6bffb26 Mon Sep 17 00:00:00 2001
From: Frank Dressler <frank at dressler.pro>
Date: Fri, 23 Oct 2026 17:22:46 +0100
Subject: [PATCH] net/af_packet: fix rollover fanout mode

[ upstream commit ed88d622f4089bc0fd65bc556628f14aecd55d3c ]

The kernel rejects fanout configurations in which both the rollover
mode and the rollover flag are set. Because the PMD always set the
flag, the mode never worked.

Fixes: d3bc77ab05a4 ("net/af_packet: allow changing fanout mode")

Signed-off-by: Frank Dressler <frank at dressler.pro>
---
 drivers/net/af_packet/rte_eth_af_packet.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c
index bc02238be6..c64de528ac 100644
--- a/drivers/net/af_packet/rte_eth_af_packet.c
+++ b/drivers/net/af_packet/rte_eth_af_packet.c
@@ -774,4 +774,6 @@ get_fanout_mode(const char *fanout_mode)
 		load_balance |= PACKET_FANOUT_CPU;
 	} else if (!strcmp(fanout_mode, "rollover")) {
+		/* setting both is rejected by kernel */
+		load_balance &= ~PACKET_FANOUT_FLAG_ROLLOVER;
 		load_balance |= PACKET_FANOUT_ROLLOVER;
 	} else if (!strcmp(fanout_mode, "rnd")) {
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:48.605573131 +0000
+++ 0333-net-af_packet-fix-rollover-fanout-mode.patch	2026-12-03 12:52:39.252400566 +0000
@@ -1 +1 @@
-From ed88d622f4089bc0fd65bc556628f14aecd55d3c Mon Sep 17 00:00:00 2001
+From 825382008d103dbf3b90fc46929f87bfc6bffb26 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit ed88d622f4089bc0fd65bc556628f14aecd55d3c ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index eb56c566b4..77c017f676 100644
+index bc02238be6..c64de528ac 100644
@@ -22 +23 @@
-@@ -862,4 +862,6 @@ get_fanout_mode(const char *fanout_mode)
+@@ -774,4 +774,6 @@ get_fanout_mode(const char *fanout_mode)



More information about the stable mailing list