patch 'net/i40e: program default RSS RETA at port configure' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:49:32 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/29/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/e38d8ab961abcf0b9ada9a0bbbf691cdc8046329
Thanks.
Luca Boccassi
---
>From e38d8ab961abcf0b9ada9a0bbbf691cdc8046329 Mon Sep 17 00:00:00 2001
From: Ciara Loftus <ciara.loftus at intel.com>
Date: Wed, 12 Aug 2026 14:38:44 +0000
Subject: [PATCH] net/i40e: program default RSS RETA at port configure
[ upstream commit b7f2b9aef628ae04a7de4a198896a9068a18b6ff ]
Currently the default RSS redirection table is only programmed
when the port is started, in `i40e_dev_rx_init()`. Between
`rte_eth_dev_configure()` and `rte_eth_dev_start()` the table holds a
stale value, so querying it with `rte_eth_dev_rss_reta_query()` reports
entries spread over the hardware default queue count instead of the
number of Rx queues the port was just configured with.
Program the default table in `i40e_dev_configure()`, where the Rx queue
count is already known, so a query before start reflects the configured
queues. VMDQ queue counts aren't known until queue setup, so that case is
still handled at start.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index dc90c0060c0..d81dcffa308 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -1995,6 +1995,13 @@ i40e_dev_configure(struct rte_eth_dev *dev)
/* A new configuration reverts the RETA to the driver default. */
pf->adapter->rss_reta_updated = 0;
+ /* Program the default RETA now while the Rx queue count is known, so that
+ * a query before the port is started reflects the configured queues.
+ */
+ ret = i40e_pf_reset_rss_reta(pf);
+ if (ret)
+ return ret;
+
ret = i40e_dev_init_vlan(dev);
if (ret < 0)
goto err;
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:43:56.710593133 +0000
+++ 0078-net-i40e-program-default-RSS-RETA-at-port-configure.patch 2026-10-27 11:43:53.594061924 +0000
@@ -1 +1 @@
-From b7f2b9aef628ae04a7de4a198896a9068a18b6ff Mon Sep 17 00:00:00 2001
+From e38d8ab961abcf0b9ada9a0bbbf691cdc8046329 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b7f2b9aef628ae04a7de4a198896a9068a18b6ff ]
+
@@ -19 +20,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
- drivers/net/intel/i40e/i40e_ethdev.c | 7 +++++++
+ drivers/net/i40e/i40e_ethdev.c | 7 +++++++
@@ -27,4 +28,4 @@
-diff --git a/drivers/net/intel/i40e/i40e_ethdev.c b/drivers/net/intel/i40e/i40e_ethdev.c
-index e6f57e144c..ba1f170135 100644
---- a/drivers/net/intel/i40e/i40e_ethdev.c
-+++ b/drivers/net/intel/i40e/i40e_ethdev.c
+diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
+index dc90c0060c0..d81dcffa308 100644
+--- a/drivers/net/i40e/i40e_ethdev.c
++++ b/drivers/net/i40e/i40e_ethdev.c
More information about the stable
mailing list