[PATCH] net/mlx5: fix condition to avoid Tx failure
Raslan Darawsheh
rasland at nvidia.com
Thu Aug 18 13:08:16 CEST 2022
Hi,
> -----Original Message-----
> From: Slava Ovsiienko <viacheslavo at nvidia.com>
> Sent: Wednesday, August 17, 2022 5:15 PM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at nvidia.com>; Raslan Darawsheh
> <rasland at nvidia.com>; Dmitry Kozlyuk <dkozlyuk at nvidia.com>; Raja Zidane
> <rzidane at nvidia.com>; stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix condition to avoid Tx failure
>
> From: Raja Zidane <rzidane at nvidia.com>
>
> If hardware descriptor (WQE) length exceeds one the HW can handle,
> the Tx queue failure occurs. PMD does the length check but there was
> a bug - the length limit was expressed in 16B units (WQEBB segments),
> while the calculated WQE length and limit were in 64B units (WQEBBs).
> Fix the condition to avoid subsequent Tx queue failure.
>
> Fixes: 18a1c20 ("net/mlx5: implement Tx burst template")
> Cc: stable at dpdk.org
>
> Signed-off-by: Raja Zidane <rzidane 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 stable
mailing list