net/mlx5: fix HW checksum offload for outer IP
authorYongseok Koh <yskoh@mellanox.com>
Wed, 3 Jan 2018 08:06:22 +0000 (00:06 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitd1eded3a8e6fa28087eef3062081a8b0f2dca222
tree7d6a221f9671097732259a208bd79d0e74205669
parent21e3a9747fd67f0581842d4070b4e34a4885cbbe
net/mlx5: fix HW checksum offload for outer IP

Checking HW checksum offload flag for outer IP is missing. If flag is set
for only outer IP, this can't be set properly.

Fixes: f5fde5205101 ("net/mlx5: add hardware checksum offload for tunnel packets")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.h