net/ice: fix RSS hash update
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")
Signed-off-by Zhichao Zeng <[email protected]>
--- drivers/net/ice/ice_ethdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/net/ice/ice_ethdev.c +1 -3
@@ -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
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 updateFrom: 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")Signed-off-by Zhichao Zeng <[email protected]>
Acked-by Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi