net/mlx5: fix tunneled TCP/UDP packet type
authorYongseok Koh <yskoh@mellanox.com>
Tue, 7 Nov 2017 19:04:49 +0000 (11:04 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Nov 2017 23:49:59 +0000 (00:49 +0100)
commit6c897093f2eb085af36d4de3a3464649e3b402eb
tree5ea646b3413b3a99d7a0f9c7319ffcd4bacf8327
parentab95b7e7b20c8a98cc1cfdc11844ea904fb1feb5
net/mlx5: fix tunneled TCP/UDP packet type

If tunneled bit is set in the HW descriptor, the l4_hdr_type bits
describe the inner packet.

Fixes: ea16068c0064 ("net/mlx5: fix L4 packet type support")
Cc: stable@dpdk.org
Reported-by: Xueming Li <xuemingl@mellanox.com>
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_rxtx.c