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

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

Fixes: be11b35817e0 ("mlx4: move scattered Tx processing to helper function")

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