From: Luca Boccassi <bluca@debian.org>
To: Somnath Kotur <somnath.kotur@broadcom.com>, stable@dpdk.org
Subject: Re: [dpdk-stable] [19.11] net/bnxt: fix vnic Rx queue cnt updation
Date: Wed, 02 Dec 2020 10:31:25 +0000 [thread overview]
Message-ID: <6707d429deefef8a6a4729afae5470d69b49e6dc.camel@debian.org> (raw)
In-Reply-To: <20201202092728.25864-1-somnath.kotur@broadcom.com>
On Wed, 2020-12-02 at 14:57 +0530, Somnath Kotur wrote:
> The vnic's Rx queue count needs to be updated while it is being
> setup, this was missed during the backport
>
> Fixes: c897ba654d92 ("net/bnxt: allow group ID 0 for RSS action")
>
> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
> ---
> drivers/net/bnxt/bnxt_ethdev.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
> index 6b69172990..fc8532a464 100644
> --- a/drivers/net/bnxt/bnxt_ethdev.c
> +++ b/drivers/net/bnxt/bnxt_ethdev.c
> @@ -296,8 +296,12 @@ static int bnxt_setup_one_vnic(struct bnxt *bp, uint16_t vnic_id)
>
> if (BNXT_HAS_RING_GRPS(bp) && rxq->rx_deferred_start)
> rxq->vnic->fw_grp_ids[j] = INVALID_HW_RING_ID;
> + else
> + vnic->rx_queue_cnt++;
> }
>
> + PMD_DRV_LOG(DEBUG, "vnic->rx_queue_cnt = %d\n", vnic->rx_queue_cnt);
> +
> rc = bnxt_vnic_rss_configure(bp, vnic);
> if (rc)
> goto err_out;
Acked-by: Luca Boccassi <bluca@debian.org>
Thanks, applied.
--
Kind regards,
Luca Boccassi
prev parent reply other threads:[~2020-12-02 10:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-02 9:27 Somnath Kotur
2020-12-02 10:31 ` Luca Boccassi [this message]
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=6707d429deefef8a6a4729afae5470d69b49e6dc.camel@debian.org \
--to=bluca@debian.org \
--cc=somnath.kotur@broadcom.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).