patch 'net/ice: fix querying RSS hash for DCF' has been queued to stable release 22.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Jun 30 14:25:35 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/02/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/36f6235b19bb6c65ca82166ab5f61ec5d04dc120
Thanks.
Luca Boccassi
---
>From 36f6235b19bb6c65ca82166ab5f61ec5d04dc120 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
[ 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")
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 223fa39f33..f92d20bd74 100644
--- a/drivers/net/ice/ice_dcf_ethdev.c
+++ b/drivers/net/ice/ice_dcf_ethdev.c
@@ -1430,8 +1430,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.47.2
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-06-30 13:21:21.967981905 +0100
+++ 0005-net-ice-fix-querying-RSS-hash-for-DCF.patch 2025-06-30 13:21:21.743057270 +0100
@@ -1 +1 @@
-From 5c5641ec00d3db04a5c123e86a09a3b4c8c748b9 Mon Sep 17 00:00:00 2001
+From 36f6235b19bb6c65ca82166ab5f61ec5d04dc120 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5c5641ec00d3db04a5c123e86a09a3b4c8c748b9 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -15 +16 @@
- drivers/net/intel/ice/ice_dcf_ethdev.c | 3 +--
+ drivers/net/ice/ice_dcf_ethdev.c | 3 +--
@@ -18,5 +19,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 223fa39f33..f92d20bd74 100644
+--- a/drivers/net/ice/ice_dcf_ethdev.c
++++ b/drivers/net/ice/ice_dcf_ethdev.c
+@@ -1430,8 +1430,7 @@ ice_dcf_dev_rss_hash_conf_get(struct rte_eth_dev *dev,
More information about the stable
mailing list