Skip to contentSkip to conversation

net/ice: fix RSS hash update

PATCH Applied [email protected] 2 participants 2 messages Aug 4, 2022 – Aug 8, 2022 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/ice: fix RSS hash update

From: Zhichao Zeng <[email protected]>

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")
---
 drivers/net/ice/ice_ethdev.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/net/ice/ice_ethdev.c +1 -3
index b2300790ae..587b01cf23 100644
@@ -4670,10 +4670,8 @@ ice_rss_hash_update(struct rte_eth_dev *dev,
 	if (status)
 		return status;
 
-	if (rss_conf->rss_hf == 0) {
+	if (rss_conf->rss_hf == 0)
 		pf->rss_hf = 0;
-		return 0;
-	}
 
 	/* RSS hash configuration */
 	ice_rss_hash_set(pf, rss_conf->rss_hf);
Signature · 1 line
2.25.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 13 lines

-----Original Message-----
From: Zeng, ZhichaoX <[email protected]>
Sent: Thursday, August 4, 2022 5:33 PM
To: [email protected]
Cc: [email protected]; Yang, Qiming <[email protected]>; Zhou, YidingX <[email protected]>; Zeng, ZhichaoX <[email protected]>; Zhang, Qi Z <[email protected]>; Junyu Jiang <[email protected]>
Subject: [PATCH] net/ice: fix RSS hash update

From: Zhichao Zeng <[email protected]>

Quoted 7 lines

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")

Applied to dpdk-next-net-intel.

Thanks
Qi