From: Raslan Darawsheh <rasland@nvidia.com>
To: Viacheslav Ovsiienko <viacheslavo@nvidia.com>, dev@dpdk.org
Cc: matan@nvidia.com, suanmingm@nvidia.com, stable@dpdk.org,
Edwin Brossette <edwin.brossette@6wind.com>,
Dariusz Sosnowski <dsosnowski@nvidia.com>
Subject: Re: [PATCH v2] net/mlx5: fix the maximal queue size query
Date: Wed, 14 May 2025 12:22:49 +0300 [thread overview]
Message-ID: <31fd7752-11c7-4f74-a4a7-79991214609d@nvidia.com> (raw)
In-Reply-To: <20250514075530.419423-1-viacheslavo@nvidia.com>
Hi,
On 14/05/2025 10:55 AM, Viacheslav Ovsiienko wrote:
> The mlx5 PMD manages the device using two modes: the Verbs API
> and the DevX API. Each API offers its own method for querying
> the maximum work queue size (in descriptors).
>
> The corrected patch enhanced the rte_eth_dev_info_get() API
> support in mlx5 PMD to return the true maximum number of descriptors.
> It also implemented a limit check during queue creation, but this
> was applied only to "DevX mode." Consequently, the "Verbs mode"
> was overlooked, leading to malfunction on legacy NICs that do
> not support DevX.
>
> This patch adds support for Verbs mode, and all limit checks are
> updated accordingly.
>
> Fixes: 4c3d7961d900 ("net/mlx5: fix reported Rx/Tx descriptor limits")
> Cc: stable@dpdk.org
>
> Reported-by: Edwin Brossette <edwin.brossette@6wind.com>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
>
> ---
> v2 - minor fix for signed/unsigned comparison in debug assert
Patch applied to next-net-mlx,
--
Kindest regards
Raslan Darawsheh
prev parent reply other threads:[~2025-05-14 9:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-20 17:05 net/mlx5: wrong Rx/Tx descriptor limits when DevX is off Edwin Brossette
2024-12-22 7:39 ` Asaf Penso
2024-12-23 13:08 ` Slava Ovsiienko
2025-02-12 14:34 ` Edwin Brossette
2025-03-05 9:17 ` Slava Ovsiienko
2025-03-17 15:02 ` Edwin Brossette
2025-04-29 12:25 ` [PATCH] net/mlx5: fix the maximal queue size query Viacheslav Ovsiienko
2025-05-14 7:55 ` [PATCH v2] " Viacheslav Ovsiienko
2025-05-14 9:22 ` Raslan Darawsheh [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=31fd7752-11c7-4f74-a4a7-79991214609d@nvidia.com \
--to=rasland@nvidia.com \
--cc=dev@dpdk.org \
--cc=dsosnowski@nvidia.com \
--cc=edwin.brossette@6wind.com \
--cc=matan@nvidia.com \
--cc=stable@dpdk.org \
--cc=suanmingm@nvidia.com \
--cc=viacheslavo@nvidia.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).