net/qede: fix RSS indirection table initialization
Checks
Commit Message
RSS indirection table was not updated for VF ports during RSS hash
update, this resulted in device start failure.
This fix sets update rss indirection table in VFPF channel request,
sent for updating RSS hash for VF.
Fixes: 7ab35bf6b97b ("net/qede: fix RSS")
Cc: stable@dpdk.org
Signed-off-by: Devendra Singh Rawat <dsinghrawat@marvell.com>
Signed-off-by: Alok Prasad <palok@marvell.com>
---
drivers/net/qede/qede_ethdev.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Thu, May 25, 2023 at 7:24 PM Devendra Singh Rawat
<dsinghrawat@marvell.com> wrote:
>
> RSS indirection table was not updated for VF ports during RSS hash
> update, this resulted in device start failure.
> This fix sets update rss indirection table in VFPF channel request,
> sent for updating RSS hash for VF.
>
> Fixes: 7ab35bf6b97b ("net/qede: fix RSS")
> Cc: stable@dpdk.org
>
> Signed-off-by: Devendra Singh Rawat <dsinghrawat@marvell.com>
> Signed-off-by: Alok Prasad <palok@marvell.com>
Applied to dpdk-next-net-mrvl/for-next-net. Thanks
> ---
> drivers/net/qede/qede_ethdev.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c
> index a4923670d6..22cd470646 100644
> --- a/drivers/net/qede/qede_ethdev.c
> +++ b/drivers/net/qede/qede_ethdev.c
> @@ -2142,6 +2142,7 @@ int qede_rss_hash_update(struct rte_eth_dev *eth_dev,
> rss_params.rss_enable = 1;
> }
>
> + rss_params.update_rss_ind_table = 1;
> rss_params.update_rss_config = 1;
> /* tbl_size has to be set with capabilities */
> rss_params.rss_table_size_log = 7;
> --
> 2.18.2
>
@@ -2142,6 +2142,7 @@ int qede_rss_hash_update(struct rte_eth_dev *eth_dev,
rss_params.rss_enable = 1;
}
+ rss_params.update_rss_ind_table = 1;
rss_params.update_rss_config = 1;
/* tbl_size has to be set with capabilities */
rss_params.rss_table_size_log = 7;