patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <>
To: Viacheslav Ovsiienko <>,
Subject: Re: [dpdk-stable] [PATCH 20.11] net/mlx5: fix Tx queue size created with DevX
Date: Fri, 19 Feb 2021 10:36:26 +0000
Message-ID: <> (raw)
In-Reply-To: <>

On Thu, 2021-02-18 at 20:39 +0200, Viacheslav Ovsiienko wrote:
> [ upstream commit 00984de53312b8af1bb1b6579d69a3eeda4be381 ]
> The number of descriptors specified for queue creation
> implies the queue should be able to contain the specified
> amount of packets being sent. Typically one packet takes
> one queue descriptor (WQE) to be handled. If there is inline
> data option enabled one packet might require more WQEs to
> embrace the inline data and the overall queue size (the
> number of queue descriptors) should be adjusted accordingly.
> In mlx5 PMD the queues can be created either via Verbs, using
> the rdma-core library or via DevX as direct kernel/firmware call.
> The rdma-core does queue size adjustment internally, depending on
> TSO and inline setting. The DevX approach missed this point.
> This caused the queue size discrepancy and performance variations.
> The patch adjusts the Tx queue size for the DevX approach
> in the same as it is done in rdma-core implementation.
> Fixes: 86d259cec852 ("net/mlx5: separate Tx queue object creations")
> Cc:
> Signed-off-by: Viacheslav Ovsiienko <>
> ---
>  drivers/net/mlx5/mlx5_devx.c | 34 +++++++++++++++++++++++++++++-----
>  1 file changed, 29 insertions(+), 5 deletions(-)

Acked-by: Luca Boccassi <>

Thanks, applied and pushed.

Kind regards,
Luca Boccassi

      reply	other threads:[~2021-02-19 10:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-18 18:39 Viacheslav Ovsiienko
2021-02-19 10:36 ` 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ \
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone