Hi,
> -Original Message-
> From: Alex Vesker
> Sent: Thursday, March 23, 2023 2:34 PM
> To: Alex Vesker ; Slava Ovsiienko
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Suanming Mou ; Matan
> Azrad
> Cc: dev@dpdk.org; Ori Kam
> Subject: [PATCH] net/mlx5/hws
The function that checks if the queue is empty used on queue
action for SYNC and ASYNC drain didn't function correctly
since cur_post is a free running value and not cyclic.
The fix is bitwise AND cur_post to get the real value.
Fixes: 9047ee33 ("net/mlx5/hws: support synchronous drain")
Signe
2 matches
Mail list logo