patch 'net/ice: fix RSS hash update' has been queued to stable release 21.11.3

Kevin Traynor ktraynor at redhat.com
Tue Oct 25 17:06:36 CEST 2022


Hi,

FYI, your patch has been queued to stable release 21.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/01/22. 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/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/a991f641f3557743f2a41a9e941027809ae65105

Thanks.

Kevin

---
>From a991f641f3557743f2a41a9e941027809ae65105 Mon Sep 17 00:00:00 2001
From: Zhichao Zeng <zhichaox.zeng at intel.com>
Date: Thu, 4 Aug 2022 17:32:32 +0800
Subject: [PATCH] net/ice: fix RSS hash update

[ upstream commit 04887b812a9f57e79b5005a2ba26b04fed686173 ]

This patch fixes the issue that the RSS does not update correctly
when the user sets it to none.

Fixes: 4717a12cfaf1 ("net/ice: initialize and update RSS based on user config")

Signed-off-by: Zhichao Zeng <zhichaox.zeng at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
---
 drivers/net/ice/ice_ethdev.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index 7df1b4ec19..fb2b1998f2 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drivers/net/ice/ice_ethdev.c
@@ -4624,8 +4624,6 @@ ice_rss_hash_update(struct rte_eth_dev *dev,
 		return status;
 
-	if (rss_conf->rss_hf == 0) {
+	if (rss_conf->rss_hf == 0)
 		pf->rss_hf = 0;
-		return 0;
-	}
 
 	/* RSS hash configuration */
-- 
2.37.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-10-25 14:18:59.466422940 +0100
+++ 0041-net-ice-fix-RSS-hash-update.patch	2022-10-25 14:18:58.404798066 +0100
@@ -1 +1 @@
-From 04887b812a9f57e79b5005a2ba26b04fed686173 Mon Sep 17 00:00:00 2001
+From a991f641f3557743f2a41a9e941027809ae65105 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 04887b812a9f57e79b5005a2ba26b04fed686173 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index e8304a1f2b..62bcc1d095 100644
+index 7df1b4ec19..fb2b1998f2 100644
@@ -22 +23 @@
-@@ -4672,8 +4672,6 @@ ice_rss_hash_update(struct rte_eth_dev *dev,
+@@ -4624,8 +4624,6 @@ ice_rss_hash_update(struct rte_eth_dev *dev,



More information about the stable mailing list