net/mlx5: fix counting consumed Tx descriptors
authorYongseok Koh <yskoh@mellanox.com>
Tue, 25 Jul 2017 16:42:16 +0000 (09:42 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commit85245b8f04441b44f790c1d37a9b4d472b04ea79
treeee45590ab1802436edf55dd9aec847c1b41e77ce
parent54d3fe948dba0f7fe1479827a08e39d6c671a3fc
net/mlx5: fix counting consumed Tx descriptors

When advancing Tx ring index (txq->wqe_ci) in txq_scatter_v(), the title
descriptor of multi-packet send isn't taken into account if it doesn't
cross 64B boundary.

Fixes: 6cb559d67b83 ("net/mlx5: add vectorized Rx/Tx burst for x86")

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx_vec_sse.c