Re: [PATCH] net/mlx5: fix the queue length checking

2025-07-09 Thread Raslan Darawsheh
Hi, On 09/07/2025 7:00 AM, Bing Zhao wrote: In the new consecutive memory mode of Tx queues allocation, the needed WQ length is calculated via txq_calc_wqebb_cnt(). This function is used both in Verbs and Devx modes, but in the Devx queue creation, the actual length is re-calculated / adjusted

RE: [PATCH] net/mlx5: fix the queue length checking

2025-07-08 Thread Slava Ovsiienko
> -Original Message- > From: Bing Zhao > Sent: Wednesday, July 9, 2025 7:00 AM > To: Slava Ovsiienko ; dev@dpdk.org; Raslan > Darawsheh > Cc: Ori Kam ; Dariusz Sosnowski > ; Suanming Mou ; > Matan Azrad ; NBU-Contact-Thomas Monjalon > (EXTERNAL) > Subj

[PATCH] net/mlx5: fix the queue length checking

2025-07-08 Thread Bing Zhao
In the new consecutive memory mode of Tx queues allocation, the needed WQ length is calculated via txq_calc_wqebb_cnt(). This function is used both in Verbs and Devx modes, but in the Devx queue creation, the actual length is re-calculated / adjusted for the Devx API. The queue parameters 'max_inli