patch 'net/i40e: fix RSS on plain IPv4' has been queued to stable release 22.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Jul 14 17:11:11 CEST 2025
Hi,
FYI, your patch has been queued to stable release 22.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 07/16/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/9897ac2fd5d8e7c09ed104739f4140510719f570
Thanks.
Luca Boccassi
---
>From 9897ac2fd5d8e7c09ed104739f4140510719f570 Mon Sep 17 00:00:00 2001
From: Dhanya Pillai <dhanya.r.pillai at intel.com>
Date: Sat, 5 Jul 2025 21:54:07 +0000
Subject: [PATCH] net/i40e: fix RSS on plain IPv4
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[ upstream commit 5d47e73e5f4f2eb69bd73f642cfd72b49436bf96 ]
Currently, i40e driver is missing the flag reporting RSS support for
plain IPv4. Configuring rss function to RTE_ETH_RSS_IPV4 returns an
error: "invalid rss hash function value", even though the HW supports
RSS on plain IPv4 traffic.
Fixes: a286ebeb0714 ("net/i40e: add dynamic mapping of SW flow types to HW pctypes")
Reported-by: Morten Brørup <mb at smartsharesystems.com>
Signed-off-by: Dhanya Pillai <dhanya.r.pillai at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/i40e/i40e_rxtx.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c
index 6522f2b810..55985e7e37 100644
--- a/drivers/net/i40e/i40e_rxtx.c
+++ b/drivers/net/i40e/i40e_rxtx.c
@@ -3577,6 +3577,8 @@ i40e_set_default_pctype_table(struct rte_eth_dev *dev)
ad->flow_types_mask = 0ULL;
ad->pctypes_mask = 0ULL;
+ ad->pctypes_tbl[RTE_ETH_FLOW_IPV4] =
+ (1ULL << I40E_FILTER_PCTYPE_NONF_IPV4_OTHER);
ad->pctypes_tbl[RTE_ETH_FLOW_FRAG_IPV4] =
(1ULL << I40E_FILTER_PCTYPE_FRAG_IPV4);
ad->pctypes_tbl[RTE_ETH_FLOW_NONFRAG_IPV4_UDP] =
--
2.47.2
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-07-14 16:09:41.301072420 +0100
+++ 0016-net-i40e-fix-RSS-on-plain-IPv4.patch 2025-07-14 16:09:40.716449076 +0100
@@ -1 +1 @@
-From 5d47e73e5f4f2eb69bd73f642cfd72b49436bf96 Mon Sep 17 00:00:00 2001
+From 9897ac2fd5d8e7c09ed104739f4140510719f570 Mon Sep 17 00:00:00 2001
@@ -8,0 +9,2 @@
+[ upstream commit 5d47e73e5f4f2eb69bd73f642cfd72b49436bf96 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
- drivers/net/intel/i40e/i40e_rxtx.c | 2 ++
+ drivers/net/i40e/i40e_rxtx.c | 2 ++
@@ -24,5 +25,5 @@
-diff --git a/drivers/net/intel/i40e/i40e_rxtx.c b/drivers/net/intel/i40e/i40e_rxtx.c
-index 0b06130fe5..aba3c11ee5 100644
---- a/drivers/net/intel/i40e/i40e_rxtx.c
-+++ b/drivers/net/intel/i40e/i40e_rxtx.c
-@@ -3657,6 +3657,8 @@ i40e_set_default_pctype_table(struct rte_eth_dev *dev)
+diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c
+index 6522f2b810..55985e7e37 100644
+--- a/drivers/net/i40e/i40e_rxtx.c
++++ b/drivers/net/i40e/i40e_rxtx.c
+@@ -3577,6 +3577,8 @@ i40e_set_default_pctype_table(struct rte_eth_dev *dev)
More information about the stable
mailing list