* [PATCH] net/i40e: fix missing support for RSS IPv4
@ 2025-07-05 21:54 Dhanya Pillai
0 siblings, 0 replies; only message in thread
From: Dhanya Pillai @ 2025-07-05 21:54 UTC (permalink / raw)
To: Bruce Richardson, Kirill Rybalchenko, Ferruh Yigit
Cc: dev, Dhanya Pillai, stable
Currently, i40e driver is missing support for RTE_ETH_RSS_IPV4
flag. Configuring rss function to RTE_ETH_RSS_IPV4 returns
invalid rss hash function value.
Fixes: a286ebeb0714 ("net/i40e: add dynamic mapping of SW flow types to HW pctypes")
Cc: stable@dpdk.org
Signed-off-by: Dhanya Pillai <dhanya.r.pillai@intel.com>
---
drivers/net/intel/i40e/i40e_rxtx.c | 2 ++
1 file changed, 2 insertions(+)
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)
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.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-05 21:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-05 21:54 [PATCH] net/i40e: fix missing support for RSS IPv4 Dhanya Pillai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).