patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Devendra Singh Rawat <dsinghrawat@marvell.com>
To: <dev@dpdk.org>, <palok@marvell.com>, <jerinj@marvell.com>
Cc: <stable@dpdk.org>, <GR-Everest-DPDK-Dev@marvell.com>,
	<manishc@marvell.com>,
	Devendra Singh Rawat <dsinghrawat@marvell.com>
Subject: [PATCH] net/qede: fix RSS indirection table initialization
Date: Thu, 25 May 2023 19:24:21 +0530	[thread overview]
Message-ID: <20230525135421.301959-1-dsinghrawat@marvell.com> (raw)

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(+)

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


             reply	other threads:[~2023-05-25 13:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-25 13:54 Devendra Singh Rawat [this message]
2023-05-26  9:07 ` Jerin Jacob
  -- strict thread matches above, loose matches on Subject: below --
2023-05-25  5:45 Devendra Singh Rawat
2023-05-25  5:30 Devendra Singh Rawat
2023-05-25 12:22 ` Jerin Jacob

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=20230525135421.301959-1-dsinghrawat@marvell.com \
    --to=dsinghrawat@marvell.com \
    --cc=GR-Everest-DPDK-Dev@marvell.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=manishc@marvell.com \
    --cc=palok@marvell.com \
    --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).