[PATCH v2] net/mlx5: fix the maximal queue size query
Raslan Darawsheh
rasland at nvidia.com
Wed May 14 11:22:49 CEST 2025
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 at dpdk.org
>
> Reported-by: Edwin Brossette <edwin.brossette at 6wind.com>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
>
> ---
> v2 - minor fix for signed/unsigned comparison in debug assert
Patch applied to next-net-mlx,
--
Kindest regards
Raslan Darawsheh
More information about the dev
mailing list