net/mlx5: fix TSO TCP checksum flag
authorShahaf Shuler <shahafs@mellanox.com>
Tue, 7 Mar 2017 11:47:51 +0000 (13:47 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:52 +0000 (15:52 +0200)
commit2a6c96be134178583b707e68c9297820aaee088b
tree3bc3119b859014a6736cde633f61ad151a408cb1
parent42936846b122b05f0e8cfa696a9fad2ce70695a2
net/mlx5: fix TSO TCP checksum flag

Since PKT_TX_TCP_SEG implies PKT_TX_TCP_CKSUM, the PMD must force this
flag.
The fix applied for both tunneled and non-tunneled packets.

Fixes: 3f13f8c23a7c ("net/mlx5: support hardware TSO")
Fixes: b247f346019b ("net/mlx5: support hardware TSO for VXLAN and GRE")

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c