[PATCH] net/mlx5: fix inline data size adjustment for Verbs API

Raslan Darawsheh rasland at nvidia.com
Sun Jul 6 16:16:22 CEST 2025


Hi,


On 02/07/2025 12:34 PM, Shani Peretz wrote:
> This fix ensures that when using Verbs for queue creation,
> the maximum inline data size is adjusted to prevent rejection
> in mlx5_calc_send_wqe() from the rdma_core library.
> The adjustment is achieved by reducing the Ethernet minimal inline
> size and adding the data minimal inline size,
> there for decreasing the maximum inline data size to fit within
> acceptable limits.
> 
> Fixes: 0c2f7837c673 ("net/mlx5: mitigate Tx queue parameter adjustment")
> 
> Signed-off-by: Shani Peretz <shperetz at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh



More information about the dev mailing list