[PATCH v2] net/mlx5: fallback to verbs for Tx memory allocation if devx unsupported

Dariusz Sosnowski dsosnowski at nvidia.com
Mon Jul 13 13:15:25 CEST 2026


On Tue, Jun 30, 2026 at 03:53:11PM +0530, banoth.saikumar at oracle.com wrote:
> From: Banoth Saikumar <banoth.saikumar at oracle.com>
> 
> Previously, the mlx5 PMD attempted to allocate consecutive Tx memory
> using DevX without checking whether the NIC actually supported DevX.
> This led to allocation failures on legacy or unsupported NICs.
> 
> This patch adds a fallback mechanism: if DevX is not available, the PMD
> skips DevX-based allocation and allows the verbs path to handle memory
> allocation and registration. This improves compatibility with older
> NICs and ensures Tx queue setup proceeds correctly.
> 
> Fixes: bbfab2eb2528 ("net/mlx5: allocate and release unique
> resources for Tx queues")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Banoth Saikumar <banoth.saikumar at oracle.com>

Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>


More information about the dev mailing list