* [PATCH] net/ice: fix RSS hash update
@ 2022-08-04 9:32 zhichaox.zeng
2022-08-08 0:38 ` Zhang, Qi Z
0 siblings, 1 reply; 2+ messages in thread
From: zhichaox.zeng @ 2022-08-04 9:32 UTC (permalink / raw)
To: dev
Cc: stable, qiming.yang, yidingx.zhou, Zhichao Zeng, Qi Zhang, Junyu Jiang
From: Zhichao Zeng <zhichaox.zeng@intel.com>
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")
Cc: stable@dpdk.org
Signed-off-by: Zhichao Zeng <zhichaox.zeng@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 b2300790ae..587b01cf23 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drivers/net/ice/ice_ethdev.c
@@ -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);
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH] net/ice: fix RSS hash update
2022-08-04 9:32 [PATCH] net/ice: fix RSS hash update zhichaox.zeng
@ 2022-08-08 0:38 ` Zhang, Qi Z
0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2022-08-08 0:38 UTC (permalink / raw)
To: Zeng, ZhichaoX, dev; +Cc: stable, Yang, Qiming, Zhou, YidingX, Junyu Jiang
> -----Original Message-----
> From: Zeng, ZhichaoX <zhichaox.zeng@intel.com>
> Sent: Thursday, August 4, 2022 5:33 PM
> To: dev@dpdk.org
> Cc: stable@dpdk.org; Yang, Qiming <qiming.yang@intel.com>; Zhou, YidingX
> <yidingx.zhou@intel.com>; Zeng, ZhichaoX <zhichaox.zeng@intel.com>;
> Zhang, Qi Z <qi.z.zhang@intel.com>; Junyu Jiang <junyux.jiang@intel.com>
> Subject: [PATCH] net/ice: fix RSS hash update
>
> From: Zhichao Zeng <zhichaox.zeng@intel.com>
>
> 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")
> Cc: stable@dpdk.org
>
> Signed-off-by: Zhichao Zeng <zhichaox.zeng@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-08 0:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04 9:32 [PATCH] net/ice: fix RSS hash update zhichaox.zeng
2022-08-08 0:38 ` Zhang, Qi Z
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).