net/mlx5: fix TSO segment size verification
authorShahaf Shuler <shahafs@mellanox.com>
Sun, 17 Sep 2017 08:12:49 +0000 (11:12 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commit96fc8d6561b1b1348af97c2ed275922315d228c4
tree9eaccb88a3cfa64036c9f22d967c5283c180a39a
parentf46900d03823aff1cb636a2f889caeee99c721b2
net/mlx5: fix TSO segment size verification

TSO segment size must be larger then 0.

Fixes: 3f13f8c23a7c ("net/mlx5: support hardware TSO")
Cc: stable@dpdk.org
Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c