Hi, > -----Original Message----- > From: Alex Vesker <[email protected]> > Sent: Thursday, March 23, 2023 2:34 PM > To: Alex Vesker <[email protected]>; Slava Ovsiienko > <[email protected]>; NBU-Contact-Thomas Monjalon (EXTERNAL) > <[email protected]>; Suanming Mou <[email protected]>; Matan > Azrad <[email protected]> > Cc: [email protected]; Ori Kam <[email protected]> > Subject: [PATCH] net/mlx5/hws: fix send sync drain empty queue check > > 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: 90488887ee33 ("net/mlx5/hws: support synchronous drain") > Signed-off-by: Alex Vesker <[email protected]> > Reviewed-by: Erez Shitrit <[email protected]> > Acked-by: Matan Azrad [email protected]
Fixed Acked-by tag, Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh

