From: Jerin Jacob <jerinjacobk@gmail.com>
To: skori@marvell.com
Cc: Nithin Dabilpuram <ndabilpuram@marvell.com>,
Kiran Kumar K <kirankumark@marvell.com>,
Satha Rao <skoteshwar@marvell.com>,
Harman Kalra <hkalra@marvell.com>,
dev@dpdk.org
Subject: Re: [PATCH] net/cnxk: add RSS config via ethdev configure API
Date: Thu, 23 May 2024 19:43:11 +0530 [thread overview]
Message-ID: <CALBAE1OQj1djhNvs6TNk-wpc9RiScXYDYe9sOfCQWLRVXLp51Q@mail.gmail.com> (raw)
In-Reply-To: <20240410131127.2482240-1-skori@marvell.com>
On Wed, Apr 10, 2024 at 6:41 PM <skori@marvell.com> wrote:
>
> From: Sunil Kumar Kori <skori@marvell.com>
>
> Currently user passed RSS configuration is ignored via
> rte_eth_dev_configure() API. Instead default RSS setup is done by
> driver.
Rewrite the git commit as fix and add Fixes: tag
>
> Adding handling for user passed RSS configuration too via
> rte_eth_dev_configure().
>
> Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
> ---
> drivers/net/cnxk/cnxk_ethdev.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c
> index 6b37bd877f..95a3d8aaf9 100644
> --- a/drivers/net/cnxk/cnxk_ethdev.c
> +++ b/drivers/net/cnxk/cnxk_ethdev.c
> @@ -1384,6 +1384,13 @@ cnxk_nix_configure(struct rte_eth_dev *eth_dev)
> goto free_nix_lf;
> }
>
> + /* Overwrite default RSS setup if requested by user */
> + rc = cnxk_nix_rss_hash_update(eth_dev, &conf->rx_adv_conf.rss_conf);
> + if (rc) {
> + plt_err("Failed to configure rss rc=%d", rc);
> + goto free_nix_lf;
> + }
> +
> /* Init the default TM scheduler hierarchy */
> rc = roc_nix_tm_init(nix);
> if (rc) {
> --
> 2.25.1
>
next prev parent reply other threads:[~2024-05-23 14:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-10 13:11 skori
2024-05-23 14:13 ` Jerin Jacob [this message]
2024-05-23 14:53 ` [PATCH v2 1/1] net/cnxk: fix " skori
2024-05-24 13:40 ` 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=CALBAE1OQj1djhNvs6TNk-wpc9RiScXYDYe9sOfCQWLRVXLp51Q@mail.gmail.com \
--to=jerinjacobk@gmail.com \
--cc=dev@dpdk.org \
--cc=hkalra@marvell.com \
--cc=kirankumark@marvell.com \
--cc=ndabilpuram@marvell.com \
--cc=skori@marvell.com \
--cc=skoteshwar@marvell.com \
/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).