Re: [dpdk-dev] [PATCH] net/mlx5: fix queue wrap-around of multi-packet send

2017-01-20 Thread Ferruh Yigit
On 1/20/2017 4:56 PM, Adrien Mazarguil wrote: > 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 t

Re: [dpdk-dev] [PATCH] net/mlx5: fix queue wrap-around of multi-packet send

2017-01-20 Thread Adrien Mazarguil
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 copy

[dpdk-dev] [PATCH] net/mlx5: fix queue wrap-around of multi-packet send

2017-01-17 Thread Yongseok Koh
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 wo