* [PATCH] net/ice: fix DCF RSS hash update
@ 2025-06-11 9:50 Mingjin Ye
2025-06-17 2:42 ` Jiale, SongX
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Mingjin Ye @ 2025-06-11 9:50 UTC (permalink / raw)
To: dev; +Cc: Mingjin Ye, stable, Bruce Richardson, Anatoly Burakov
Get rss hash configuration, rss_hf is always the default value.
The driver does nothing if the rss key is invalid during the rss
hash update.
This patch is get the current configuration of rss_hf. Extract
the update rss key code from ice_dcf_dev_rss_hash_update to
ice_dcf_set_rss_key and make it consistent with the pf behaviour.
Fixes: c223cadc9e5f ("net/ice: support RSS hash configuration in DCF mode")
Cc: stable@dpdk.org
Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com>
---
drivers/net/intel/ice/ice_dcf_ethdev.c | 38 +++++++++++++++-----------
1 file changed, 22 insertions(+), 16 deletions(-)
diff --git a/drivers/net/intel/ice/ice_dcf_ethdev.c b/drivers/net/intel/ice/ice_dcf_ethdev.c
index efff76afa8..accabd0ab9 100644
--- a/drivers/net/intel/ice/ice_dcf_ethdev.c
+++ b/drivers/net/intel/ice/ice_dcf_ethdev.c
@@ -1394,31 +1394,38 @@ ice_dcf_dev_rss_reta_query(struct rte_eth_dev *dev,
}
static int
-ice_dcf_dev_rss_hash_update(struct rte_eth_dev *dev,
- struct rte_eth_rss_conf *rss_conf)
+ice_dcf_set_rss_key(struct ice_dcf_hw *hw, uint8_t *key, uint8_t key_len)
{
- struct ice_dcf_adapter *adapter = dev->data->dev_private;
- struct ice_dcf_hw *hw = &adapter->real_hw;
- int ret;
-
- if (!(hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RSS_PF))
- return -ENOTSUP;
-
/* HENA setting, it is enabled by default, no change */
- if (!rss_conf->rss_key || rss_conf->rss_key_len == 0) {
+ if (!key || key_len == 0) {
PMD_DRV_LOG(DEBUG, "No key to be configured");
return 0;
- } else if (rss_conf->rss_key_len != hw->vf_res->rss_key_size) {
+ } else if (key_len != hw->vf_res->rss_key_size) {
PMD_DRV_LOG(ERR, "The size of hash key configured "
"(%d) doesn't match the size of hardware can "
- "support (%d)", rss_conf->rss_key_len,
+ "support (%d)", key_len,
hw->vf_res->rss_key_size);
return -EINVAL;
}
- rte_memcpy(hw->rss_key, rss_conf->rss_key, rss_conf->rss_key_len);
+ rte_memcpy(hw->rss_key, key, key_len);
+
+ return ice_dcf_configure_rss_key(hw);
+}
+
+static int
+ice_dcf_dev_rss_hash_update(struct rte_eth_dev *dev,
+ struct rte_eth_rss_conf *rss_conf)
+{
+ struct ice_dcf_adapter *adapter = dev->data->dev_private;
+ struct ice_dcf_hw *hw = &adapter->real_hw;
+ int ret;
+
+ if (!(hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RSS_PF))
+ return -ENOTSUP;
- ret = ice_dcf_configure_rss_key(hw);
+ /* set hash key */
+ ret = ice_dcf_set_rss_key(hw, rss_conf->rss_key, rss_conf->rss_key_len);
if (ret)
return ret;
@@ -1452,8 +1459,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
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [PATCH] net/ice: fix DCF RSS hash update
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:08 ` [PATCH v2 1/2] net/ice: fix getting DCF RSS hash Mingjin Ye
2 siblings, 0 replies; 8+ messages in thread
From: Jiale, SongX @ 2025-06-17 2:42 UTC (permalink / raw)
To: Ye, MingjinX, dev
Cc: Ye, MingjinX, stable, Richardson, Bruce, Burakov, Anatoly
> -----Original Message-----
> From: Mingjin Ye <mingjinx.ye@intel.com>
> Sent: Wednesday, June 11, 2025 5:51 PM
> To: dev@dpdk.org
> Cc: Ye, MingjinX <mingjinx.ye@intel.com>; stable@dpdk.org; Richardson,
> Bruce <bruce.richardson@intel.com>; Burakov, Anatoly
> <anatoly.burakov@intel.com>
> Subject: [PATCH] net/ice: fix DCF RSS hash update
>
> Get rss hash configuration, rss_hf is always the default value.
> The driver does nothing if the rss key is invalid during the rss hash update.
>
> This patch is get the current configuration of rss_hf. Extract the update rss key
> code from ice_dcf_dev_rss_hash_update to ice_dcf_set_rss_key and make it
> consistent with the pf behaviour.
>
> Fixes: c223cadc9e5f ("net/ice: support RSS hash configuration in DCF mode")
> Cc: stable@dpdk.org
>
> Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com>
> ---
Tested-by: Jiale Song <songx.jiale@intel.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] net/ice: fix DCF RSS hash update
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 ` [PATCH v2 1/2] net/ice: fix getting DCF RSS hash Mingjin Ye
2 siblings, 1 reply; 8+ messages in thread
From: Bruce Richardson @ 2025-06-17 11:33 UTC (permalink / raw)
To: Mingjin Ye; +Cc: dev, stable, Anatoly Burakov
On Wed, Jun 11, 2025 at 09:50:57AM +0000, Mingjin Ye wrote:
> Get rss hash configuration, rss_hf is always the default value.
> The driver does nothing if the rss key is invalid during the rss
> hash update.
>
> This patch is get the current configuration of rss_hf. Extract
> the update rss key code from ice_dcf_dev_rss_hash_update to
> ice_dcf_set_rss_key and make it consistent with the pf behaviour.
>
> Fixes: c223cadc9e5f ("net/ice: support RSS hash configuration in DCF mode")
> Cc: stable@dpdk.org
>
> Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com>
Hi,
some comments inline below.
/Bruce
> ---
> drivers/net/intel/ice/ice_dcf_ethdev.c | 38 +++++++++++++++-----------
> 1 file changed, 22 insertions(+), 16 deletions(-)
>
> diff --git a/drivers/net/intel/ice/ice_dcf_ethdev.c b/drivers/net/intel/ice/ice_dcf_ethdev.c
> index efff76afa8..accabd0ab9 100644
> --- a/drivers/net/intel/ice/ice_dcf_ethdev.c
> +++ b/drivers/net/intel/ice/ice_dcf_ethdev.c
> @@ -1394,31 +1394,38 @@ ice_dcf_dev_rss_reta_query(struct rte_eth_dev *dev,
> }
>
> static int
> -ice_dcf_dev_rss_hash_update(struct rte_eth_dev *dev,
> - struct rte_eth_rss_conf *rss_conf)
> +ice_dcf_set_rss_key(struct ice_dcf_hw *hw, uint8_t *key, uint8_t key_len)
> {
> - struct ice_dcf_adapter *adapter = dev->data->dev_private;
> - struct ice_dcf_hw *hw = &adapter->real_hw;
> - int ret;
> -
> - if (!(hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RSS_PF))
> - return -ENOTSUP;
> -
> /* HENA setting, it is enabled by default, no change */
> - if (!rss_conf->rss_key || rss_conf->rss_key_len == 0) {
> + if (!key || key_len == 0) {
> PMD_DRV_LOG(DEBUG, "No key to be configured");
> return 0;
> - } else if (rss_conf->rss_key_len != hw->vf_res->rss_key_size) {
> + } else if (key_len != hw->vf_res->rss_key_size) {
> PMD_DRV_LOG(ERR, "The size of hash key configured "
> "(%d) doesn't match the size of hardware can "
> - "support (%d)", rss_conf->rss_key_len,
> + "support (%d)", key_len,
> hw->vf_res->rss_key_size);
> return -EINVAL;
> }
>
> - rte_memcpy(hw->rss_key, rss_conf->rss_key, rss_conf->rss_key_len);
> + rte_memcpy(hw->rss_key, key, key_len);
> +
> + return ice_dcf_configure_rss_key(hw);
> +}
> +
> +static int
> +ice_dcf_dev_rss_hash_update(struct rte_eth_dev *dev,
> + struct rte_eth_rss_conf *rss_conf)
> +{
> + struct ice_dcf_adapter *adapter = dev->data->dev_private;
> + struct ice_dcf_hw *hw = &adapter->real_hw;
> + int ret;
> +
> + if (!(hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RSS_PF))
> + return -ENOTSUP;
>
> - ret = ice_dcf_configure_rss_key(hw);
> + /* set hash key */
> + ret = ice_dcf_set_rss_key(hw, rss_conf->rss_key, rss_conf->rss_key_len);
> if (ret)
> return ret;
>
This part of the diff (from start of the patch to here) is just extracting
the existing code into a new function, right? There is no change to
behaviour here?
> @@ -1452,8 +1459,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;
>
This line seems to be the main fix in this patch. Is it worth splitting the
patch in two - having this fix and the code refactor above in separate
patches?
> if (!rss_conf->rss_key)
> return 0;
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 1/2] net/ice: fix getting DCF RSS hash
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:08 ` Mingjin Ye
2025-06-18 7:08 ` [PATCH v2 2/2] net/ice: fix updating " Mingjin Ye
2025-06-18 13:34 ` [PATCH v2 1/2] net/ice: fix getting " Bruce Richardson
2 siblings, 2 replies; 8+ messages in thread
From: Mingjin Ye @ 2025-06-18 7:08 UTC (permalink / raw)
To: dev; +Cc: Mingjin Ye, stable, Bruce Richardson, Anatoly Burakov
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 2/2] net/ice: fix updating DCF RSS hash
2025-06-18 7:08 ` [PATCH v2 1/2] net/ice: fix getting DCF RSS hash Mingjin Ye
@ 2025-06-18 7:08 ` Mingjin Ye
2025-06-18 13:41 ` Bruce Richardson
2025-06-18 13:34 ` [PATCH v2 1/2] net/ice: fix getting " Bruce Richardson
1 sibling, 1 reply; 8+ messages in thread
From: Mingjin Ye @ 2025-06-18 7:08 UTC (permalink / raw)
To: dev; +Cc: Mingjin Ye, stable, Bruce Richardson, Anatoly Burakov
The driver does nothing if the rss key is invalid during the rss
hash update.
Extract the update rss key code from ice_dcf_dev_rss_hash_update to
ice_dcf_set_rss_key and make it consistent with the pf behaviour.
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 | 35 +++++++++++++++-----------
1 file changed, 21 insertions(+), 14 deletions(-)
diff --git a/drivers/net/intel/ice/ice_dcf_ethdev.c b/drivers/net/intel/ice/ice_dcf_ethdev.c
index a21b6e5972..accabd0ab9 100644
--- a/drivers/net/intel/ice/ice_dcf_ethdev.c
+++ b/drivers/net/intel/ice/ice_dcf_ethdev.c
@@ -1394,31 +1394,38 @@ ice_dcf_dev_rss_reta_query(struct rte_eth_dev *dev,
}
static int
-ice_dcf_dev_rss_hash_update(struct rte_eth_dev *dev,
- struct rte_eth_rss_conf *rss_conf)
+ice_dcf_set_rss_key(struct ice_dcf_hw *hw, uint8_t *key, uint8_t key_len)
{
- struct ice_dcf_adapter *adapter = dev->data->dev_private;
- struct ice_dcf_hw *hw = &adapter->real_hw;
- int ret;
-
- if (!(hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RSS_PF))
- return -ENOTSUP;
-
/* HENA setting, it is enabled by default, no change */
- if (!rss_conf->rss_key || rss_conf->rss_key_len == 0) {
+ if (!key || key_len == 0) {
PMD_DRV_LOG(DEBUG, "No key to be configured");
return 0;
- } else if (rss_conf->rss_key_len != hw->vf_res->rss_key_size) {
+ } else if (key_len != hw->vf_res->rss_key_size) {
PMD_DRV_LOG(ERR, "The size of hash key configured "
"(%d) doesn't match the size of hardware can "
- "support (%d)", rss_conf->rss_key_len,
+ "support (%d)", key_len,
hw->vf_res->rss_key_size);
return -EINVAL;
}
- rte_memcpy(hw->rss_key, rss_conf->rss_key, rss_conf->rss_key_len);
+ rte_memcpy(hw->rss_key, key, key_len);
+
+ return ice_dcf_configure_rss_key(hw);
+}
+
+static int
+ice_dcf_dev_rss_hash_update(struct rte_eth_dev *dev,
+ struct rte_eth_rss_conf *rss_conf)
+{
+ struct ice_dcf_adapter *adapter = dev->data->dev_private;
+ struct ice_dcf_hw *hw = &adapter->real_hw;
+ int ret;
+
+ if (!(hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RSS_PF))
+ return -ENOTSUP;
- ret = ice_dcf_configure_rss_key(hw);
+ /* set hash key */
+ ret = ice_dcf_set_rss_key(hw, rss_conf->rss_key, rss_conf->rss_key_len);
if (ret)
return ret;
--
2.25.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [PATCH] net/ice: fix DCF RSS hash update
2025-06-17 11:33 ` Bruce Richardson
@ 2025-06-18 7:19 ` Ye, MingjinX
0 siblings, 0 replies; 8+ messages in thread
From: Ye, MingjinX @ 2025-06-18 7:19 UTC (permalink / raw)
To: Richardson, Bruce; +Cc: dev, stable, Burakov, Anatoly
> -----Original Message-----
> From: Richardson, Bruce <bruce.richardson@intel.com>
> Sent: Tuesday, June 17, 2025 7:34 PM
> To: Ye, MingjinX <mingjinx.ye@intel.com>
> Cc: dev@dpdk.org; stable@dpdk.org; Burakov, Anatoly
> <anatoly.burakov@intel.com>
> Subject: Re: [PATCH] net/ice: fix DCF RSS hash update
>
> On Wed, Jun 11, 2025 at 09:50:57AM +0000, Mingjin Ye wrote:
> > Get rss hash configuration, rss_hf is always the default value.
> > The driver does nothing if the rss key is invalid during the rss hash
> > update.
> >
> > This patch is get the current configuration of rss_hf. Extract the
> > update rss key code from ice_dcf_dev_rss_hash_update to
> > ice_dcf_set_rss_key and make it consistent with the pf behaviour.
> >
> > Fixes: c223cadc9e5f ("net/ice: support RSS hash configuration in DCF
> > mode")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com>
>
> Hi,
>
> some comments inline below.
>
> /Bruce
>
> > ---
> > drivers/net/intel/ice/ice_dcf_ethdev.c | 38
> > +++++++++++++++-----------
> > 1 file changed, 22 insertions(+), 16 deletions(-)
> >
> > diff --git a/drivers/net/intel/ice/ice_dcf_ethdev.c
> > b/drivers/net/intel/ice/ice_dcf_ethdev.c
> > index efff76afa8..accabd0ab9 100644
> > --- a/drivers/net/intel/ice/ice_dcf_ethdev.c
> > +++ b/drivers/net/intel/ice/ice_dcf_ethdev.c
> > @@ -1394,31 +1394,38 @@ ice_dcf_dev_rss_reta_query(struct
> rte_eth_dev
> > *dev, }
> >
> > static int
> > -ice_dcf_dev_rss_hash_update(struct rte_eth_dev *dev,
> > - struct rte_eth_rss_conf *rss_conf)
> > +ice_dcf_set_rss_key(struct ice_dcf_hw *hw, uint8_t *key, uint8_t
> > +key_len)
> > {
> > - struct ice_dcf_adapter *adapter = dev->data->dev_private;
> > - struct ice_dcf_hw *hw = &adapter->real_hw;
> > - int ret;
> > -
> > - if (!(hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RSS_PF))
> > - return -ENOTSUP;
> > -
> > /* HENA setting, it is enabled by default, no change */
> > - if (!rss_conf->rss_key || rss_conf->rss_key_len == 0) {
> > + if (!key || key_len == 0) {
> > PMD_DRV_LOG(DEBUG, "No key to be configured");
> > return 0;
> > - } else if (rss_conf->rss_key_len != hw->vf_res->rss_key_size) {
> > + } else if (key_len != hw->vf_res->rss_key_size) {
> > PMD_DRV_LOG(ERR, "The size of hash key configured "
> > "(%d) doesn't match the size of hardware can "
> > - "support (%d)", rss_conf->rss_key_len,
> > + "support (%d)", key_len,
> > hw->vf_res->rss_key_size);
> > return -EINVAL;
> > }
> >
> > - rte_memcpy(hw->rss_key, rss_conf->rss_key, rss_conf-
> >rss_key_len);
> > + rte_memcpy(hw->rss_key, key, key_len);
> > +
> > + return ice_dcf_configure_rss_key(hw); }
> > +
> > +static int
> > +ice_dcf_dev_rss_hash_update(struct rte_eth_dev *dev,
> > + struct rte_eth_rss_conf *rss_conf) {
> > + struct ice_dcf_adapter *adapter = dev->data->dev_private;
> > + struct ice_dcf_hw *hw = &adapter->real_hw;
> > + int ret;
> > +
> > + if (!(hw->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RSS_PF))
> > + return -ENOTSUP;
> >
> > - ret = ice_dcf_configure_rss_key(hw);
> > + /* set hash key */
> > + ret = ice_dcf_set_rss_key(hw, rss_conf->rss_key,
> > +rss_conf->rss_key_len);
> > if (ret)
> > return ret;
> >
>
> This part of the diff (from start of the patch to here) is just extracting the
> existing code into a new function, right? There is no change to behaviour
> here?
No logic was changed. There is a difference in behavior. Previously, when the rss_key is null, noting will happen. But now it continues to perform the next steps. This patch makes the behavior of PF and VF consistent.
>
> > @@ -1452,8 +1459,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;
> >
>
> This line seems to be the main fix in this patch. Is it worth splitting the patch
> in two - having this fix and the code refactor above in separate patches?
It is okay to split the patch as these two are for separate purpose.
>
> > if (!rss_conf->rss_key)
> > return 0;
> > --
> > 2.25.1
> >
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 1/2] net/ice: fix getting DCF RSS hash
2025-06-18 7:08 ` [PATCH v2 1/2] net/ice: fix getting DCF RSS hash Mingjin Ye
2025-06-18 7:08 ` [PATCH v2 2/2] net/ice: fix updating " Mingjin Ye
@ 2025-06-18 13:34 ` Bruce Richardson
1 sibling, 0 replies; 8+ messages in thread
From: Bruce Richardson @ 2025-06-18 13:34 UTC (permalink / raw)
To: Mingjin Ye; +Cc: dev, stable, Anatoly Burakov
On Wed, Jun 18, 2025 at 07:08:43AM +0000, Mingjin Ye wrote:
> 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>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 2/2] net/ice: fix updating DCF RSS hash
2025-06-18 7:08 ` [PATCH v2 2/2] net/ice: fix updating " Mingjin Ye
@ 2025-06-18 13:41 ` Bruce Richardson
0 siblings, 0 replies; 8+ messages in thread
From: Bruce Richardson @ 2025-06-18 13:41 UTC (permalink / raw)
To: Mingjin Ye; +Cc: dev, stable, Anatoly Burakov
On Wed, Jun 18, 2025 at 07:08:44AM +0000, Mingjin Ye wrote:
> The driver does nothing if the rss key is invalid during the rss
> hash update.
>
> Extract the update rss key code from ice_dcf_dev_rss_hash_update to
> ice_dcf_set_rss_key and make it consistent with the pf behaviour.
>
> Fixes: c223cadc9e5f ("net/ice: support RSS hash configuration in DCF mode")
> Cc: stable@dpdk.org
>
> Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com>
> ---
So just to confirm. The behaviour change here is that, if an empty (zero-length)
or null key is provided, the function continues to clearing existing RSS,
rather than just exiting immediately, right?
/Bruce
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-06-18 13:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [PATCH v2 1/2] net/ice: fix getting DCF RSS hash Mingjin Ye
2025-06-18 7:08 ` [PATCH v2 2/2] net/ice: fix updating " Mingjin Ye
2025-06-18 13:41 ` Bruce Richardson
2025-06-18 13:34 ` [PATCH v2 1/2] net/ice: fix getting " Bruce Richardson
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).