patch 'net/i40e: fix RSS on plain IPv4' has been queued to stable release 23.11.5

Xueming Li xuemingl at nvidia.com
Wed Jul 30 16:56:28 CEST 2025


Hi,

FYI, your patch has been queued to stable release 23.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 08/10/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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=c6ede264ffe94a1702699b9897c5ea94f8071e32

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From c6ede264ffe94a1702699b9897c5ea94f8071e32 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
Cc: Xueming Li <xuemingl at nvidia.com>

[ 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")
Cc: stable at dpdk.org

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 e65e8829d9..4dafc23bc1 100644
--- a/drivers/net/i40e/i40e_rxtx.c
+++ b/drivers/net/i40e/i40e_rxtx.c
@@ -3603,6 +3603,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.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-07-30 22:50:04.296744315 +0800
+++ 0019-net-i40e-fix-RSS-on-plain-IPv4.patch	2025-07-30 22:50:03.052760197 +0800
@@ -1 +1 @@
-From 5d47e73e5f4f2eb69bd73f642cfd72b49436bf96 Mon Sep 17 00:00:00 2001
+From c6ede264ffe94a1702699b9897c5ea94f8071e32 Mon Sep 17 00:00:00 2001
@@ -7,0 +8,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 5d47e73e5f4f2eb69bd73f642cfd72b49436bf96 ]
@@ -21 +24 @@
- drivers/net/intel/i40e/i40e_rxtx.c | 2 ++
+ drivers/net/i40e/i40e_rxtx.c | 2 ++
@@ -24,5 +27,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 e65e8829d9..4dafc23bc1 100644
+--- a/drivers/net/i40e/i40e_rxtx.c
++++ b/drivers/net/i40e/i40e_rxtx.c
+@@ -3603,6 +3603,8 @@ i40e_set_default_pctype_table(struct rte_eth_dev *dev)


More information about the stable mailing list