numam-dpdk/drivers/net/mlx5
Yongseok Koh 16c6476830 net/mlx5: fix queue wrap-around of multi-packet send
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: fdcb0f5305 ("net/mlx5: use work queue buffer as a raw buffer")
Cc: stable@dpdk.org

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2017-01-30 22:18:26 +01:00
..
Makefile net/mlx5: add preliminary flow API support 2017-01-17 19:40:52 +01:00
mlx5_defs.h net/mlx5: increase RSS indirection table size limit 2017-01-30 22:18:26 +01:00
mlx5_ethdev.c net/mlx: remove link update lock 2017-01-17 19:41:43 +01:00
mlx5_fdir.c net/mlx5: add preliminary flow API support 2017-01-17 19:40:52 +01:00
mlx5_flow.c net/mlx5: extend IPv4 flow item 2017-01-17 19:40:52 +01:00
mlx5_mac.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5_mr.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5_prm.h net/mlx5: use vector types to speed up processing 2017-01-17 19:40:53 +01:00
mlx5_rss.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5_rxmode.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5_rxq.c net/mlx5: fix handling of small mbuf sizes 2016-11-07 18:21:41 +01:00
mlx5_rxtx.c net/mlx5: fix queue wrap-around of multi-packet send 2017-01-30 22:18:26 +01:00
mlx5_rxtx.h net/mlx5: fix Tx doorbell 2017-01-17 19:40:53 +01:00
mlx5_stats.c net/mlx5: support extended statistics 2017-01-17 20:13:13 +01:00
mlx5_trigger.c net/mlx5: support extended statistics 2017-01-17 20:13:13 +01:00
mlx5_txq.c net/mlx5: support ConnectX-5 devices 2017-01-17 19:41:42 +01:00
mlx5_utils.h remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
mlx5_vlan.c net/mlx: fix debug build with gcc 6.1 2016-09-30 12:27:18 +02:00
mlx5.c net/mlx5: increase RSS indirection table size limit 2017-01-30 22:18:26 +01:00
mlx5.h net/mlx5: support extended statistics 2017-01-17 20:13:13 +01:00
rte_pmd_mlx5_version.map mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00