mlx5: fix scattered Tx with too many segments
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Mon, 23 Nov 2015 14:44:45 +0000 (15:44 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Nov 2015 16:49:27 +0000 (17:49 +0100)
commit34d062630609eb0d64a7d8b786336804c7fa2904
treef9fd8cef5150cb2dc6f8135a5965a2901144b9fc
parent2921677f15bf68dc7bd5d6fec2eb1f5d94bc32cf
mlx5: fix scattered Tx with too many segments

Buffers with too many segments are linearized to overcome
MLX5_PMD_SGE_WR_N, unfortunately the last segment is never sent.

Fixes: 3ee8444608a9 ("mlx5: support scattered Rx and Tx")

Signed-off-by: Jesper Wramberg <jesper.wramberg@gmail.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c