DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ajit Khaparde <ajit.khaparde@broadcom.com>
To: Lance Richardson <lance.richardson@broadcom.com>
Cc: Somnath Kotur <somnath.kotur@broadcom.com>,
	dpdk-dev <dev@dpdk.org>,  dpdk stable <stable@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH 2/2] net/bnxt: fix rxq/txq offload information get op
Date: Wed, 23 Sep 2020 17:56:06 -0700	[thread overview]
Message-ID: <CACZ4nhtYMs0sxkdJQxR21EHLMkk7yPn+66erKjuT5dxxcUnq3g@mail.gmail.com> (raw)
In-Reply-To: <20200922173035.285151-2-lance.richardson@broadcom.com>

On Tue, Sep 22, 2020 at 10:30 AM Lance Richardson
<lance.richardson@broadcom.com> wrote:
>
> Return current offloads in rxq_info_get()/txq_info_get().
>
> Fixes: 2fc201884be8 ("net/bnxt: support rxq/txq get information")
> Cc: stable@dpdk.org
>
> Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
> Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Patch applied to dpdk-next-net-brcm. Thanks

> ---
>  drivers/net/bnxt/bnxt_ethdev.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
> index 61684e0291..1e990cdc4f 100644
> --- a/drivers/net/bnxt/bnxt_ethdev.c
> +++ b/drivers/net/bnxt/bnxt_ethdev.c
> @@ -2601,6 +2601,7 @@ bnxt_rxq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id,
>         qinfo->conf.rx_free_thresh = rxq->rx_free_thresh;
>         qinfo->conf.rx_drop_en = rxq->drop_en;
>         qinfo->conf.rx_deferred_start = rxq->rx_deferred_start;
> +       qinfo->conf.offloads = dev->data->dev_conf.rxmode.offloads;
>  }
>
>  static void
> @@ -2624,6 +2625,7 @@ bnxt_txq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id,
>         qinfo->conf.tx_free_thresh = txq->tx_free_thresh;
>         qinfo->conf.tx_rs_thresh = 0;
>         qinfo->conf.tx_deferred_start = txq->tx_deferred_start;
> +       qinfo->conf.offloads = dev->data->dev_conf.txmode.offloads;
>  }
>
>  static const struct {
> --
> 2.25.1
>

      parent reply	other threads:[~2020-09-24  0:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22 17:30 [dpdk-dev] [PATCH 1/2] net/bnxt: fix drop en in rxq get information Lance Richardson
2020-09-22 17:30 ` [dpdk-dev] [PATCH 2/2] net/bnxt: fix rxq/txq offload information get op Lance Richardson
2020-09-22 17:40   ` Lance Richardson
2020-09-24  0:56   ` Ajit Khaparde [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=CACZ4nhtYMs0sxkdJQxR21EHLMkk7yPn+66erKjuT5dxxcUnq3g@mail.gmail.com \
    --to=ajit.khaparde@broadcom.com \
    --cc=dev@dpdk.org \
    --cc=lance.richardson@broadcom.com \
    --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).