On Tue, Jan 17, 2017 at 04:51:55PM -0800, Yongseok Koh wrote:
> When the WQ is wrapped around, it wrongly checks the condition when
> resetting the pointer. It should be compared against the end of the queue,
> not the beginning of the queue. And this isn't even needed when the length
> of the copying data crosses the boundary.
> 
> Fixes: e5291c280c08 ("net/mlx5: use work queue buffer as a raw buffer")
> 
> CC: sta...@dpdk.org
> Signed-off-by: Yongseok Koh <ys...@mellanox.com>
> ---
>  drivers/net/mlx5/mlx5_rxtx.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

Thanks for addressing this issue.

Acked-by: Adrien Mazarguil <adrien.mazarg...@6wind.com>

-- 
Adrien Mazarguil
6WIND

Reply via email to