RE: [PATCH] net/mlx5: fix condition to avoid Tx failure

2022-08-18 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Slava Ovsiienko > Sent: Wednesday, August 17, 2022 5:15 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Dmitry Kozlyuk ; Raja Zidane > ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix condition to avoid Tx failur

[PATCH] net/mlx5: fix condition to avoid Tx failure

2022-08-17 Thread Viacheslav Ovsiienko
From: Raja Zidane 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