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: sta...@dpdk.org Reported-by: Edwin Brossette <edwin.brosse...@6wind.com> Signed-off-by: Viacheslav Ovsiienko <viachesl...@nvidia.com> Acked-by: Dariusz Sosnowski <dsosnow...@nvidia.com> --- v2 - minor fix for signed/unsigned comparison in debug assert
Patch applied to next-net-mlx, -- Kindest regards Raslan Darawsheh