From: Mingjin Ye <mingjinx.ye@intel.com>
To: dev@dpdk.org
Cc: Mingjin Ye <mingjinx.ye@intel.com>,
stable@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>,
Anatoly Burakov <anatoly.burakov@intel.com>
Subject: [PATCH v2 1/2] net/ice: fix getting DCF RSS hash
Date: Wed, 18 Jun 2025 07:08:43 +0000 [thread overview]
Message-ID: <20250618070844.174484-1-mingjinx.ye@intel.com> (raw)
In-Reply-To: <20250611095058.114465-1-mingjinx.ye@intel.com>
When getting the rss hash configuration, it returns the currently
configured rss_hf instead of the default value.
Fixes: c223cadc9e5f ("net/ice: support RSS hash configuration in DCF mode")
Cc: stable@dpdk.org
Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com>
---
v2: Split into 2 patches
---
drivers/net/intel/ice/ice_dcf_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/intel/ice/ice_dcf_ethdev.c b/drivers/net/intel/ice/ice_dcf_ethdev.c
index efff76afa8..a21b6e5972 100644
--- a/drivers/net/intel/ice/ice_dcf_ethdev.c
+++ b/drivers/net/intel/ice/ice_dcf_ethdev.c
@@ -1452,8 +1452,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.25.1
next prev parent reply other threads:[~2025-06-18 7:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-11 9:50 [PATCH] net/ice: fix DCF RSS hash update Mingjin Ye
2025-06-17 2:42 ` Jiale, SongX
2025-06-17 11:33 ` Bruce Richardson
2025-06-18 7:19 ` Ye, MingjinX
2025-06-18 7:08 ` Mingjin Ye [this message]
2025-06-18 7:08 ` [PATCH v2 2/2] net/ice: fix updating DCF RSS hash Mingjin Ye
2025-06-18 13:41 ` Bruce Richardson
2025-06-18 13:34 ` [PATCH v2 1/2] net/ice: fix getting " Bruce Richardson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250618070844.174484-1-mingjinx.ye@intel.com \
--to=mingjinx.ye@intel.com \
--cc=anatoly.burakov@intel.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).