patch 'net/ice: fix querying RSS hash for DCF' has been queued to stable release 23.11.5

Xueming Li xuemingl at nvidia.com
Wed Jul 30 16:56:18 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=8f4cd11dc0779a41e55e1946b6410cb472752be6

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 8f4cd11dc0779a41e55e1946b6410cb472752be6 Mon Sep 17 00:00:00 2001
From: Mingjin Ye <mingjinx.ye at intel.com>
Date: Wed, 18 Jun 2025 07:08:43 +0000
Subject: [PATCH] net/ice: fix querying RSS hash for DCF
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 5c5641ec00d3db04a5c123e86a09a3b4c8c748b9 ]

When getting the rss hash configuration, return the currently configured
rss_hf instead of the default value.

Fixes: c223cadc9e5f ("net/ice: support RSS hash configuration in DCF mode")
Cc: stable at dpdk.org

Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/ice/ice_dcf_ethdev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c
index f8031681da..d6b69ca54e 100644
--- a/drivers/net/ice/ice_dcf_ethdev.c
+++ b/drivers/net/ice/ice_dcf_ethdev.c
@@ -1458,8 +1458,7 @@ ice_dcf_dev_rss_hash_conf_get(struct rte_eth_dev *dev,
 	if (!(hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RSS_PF))
 		return -ENOTSUP;
 
-	/* Just set it to default value now. */
-	rss_conf->rss_hf = ICE_RSS_OFFLOAD_ALL;
+	rss_conf->rss_hf = dev->data->dev_conf.rx_adv_conf.rss_conf.rss_hf;
 
 	if (!rss_conf->rss_key)
 		return 0;
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-07-30 22:50:03.719085629 +0800
+++ 0009-net-ice-fix-querying-RSS-hash-for-DCF.patch	2025-07-30 22:50:02.992751386 +0800
@@ -1 +1 @@
-From 5c5641ec00d3db04a5c123e86a09a3b4c8c748b9 Mon Sep 17 00:00:00 2001
+From 8f4cd11dc0779a41e55e1946b6410cb472752be6 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 5c5641ec00d3db04a5c123e86a09a3b4c8c748b9 ]
@@ -15 +18 @@
- drivers/net/intel/ice/ice_dcf_ethdev.c | 3 +--
+ drivers/net/ice/ice_dcf_ethdev.c | 3 +--
@@ -18,5 +21,5 @@
-diff --git a/drivers/net/intel/ice/ice_dcf_ethdev.c b/drivers/net/intel/ice/ice_dcf_ethdev.c
-index 88d943d432..778722a869 100644
---- a/drivers/net/intel/ice/ice_dcf_ethdev.c
-+++ b/drivers/net/intel/ice/ice_dcf_ethdev.c
-@@ -1451,8 +1451,7 @@ ice_dcf_dev_rss_hash_conf_get(struct rte_eth_dev *dev,
+diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c
+index f8031681da..d6b69ca54e 100644
+--- a/drivers/net/ice/ice_dcf_ethdev.c
++++ b/drivers/net/ice/ice_dcf_ethdev.c
+@@ -1458,8 +1458,7 @@ ice_dcf_dev_rss_hash_conf_get(struct rte_eth_dev *dev,


More information about the stable mailing list