[dpdk-dev] [PATCH] net/mlx5: fix queue wrap-around of multi-packet send
adrien.mazarguil at 6wind.com
Fri Jan 20 17:56:47 CET 2017
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: stable at dpdk.org
> Signed-off-by: Yongseok Koh <yskoh at 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.mazarguil at 6wind.com>
More information about the dev