net/mlx5: fix missing packet type calculation
authorYongseok Koh <yskoh@mellanox.com>
Wed, 26 Jul 2017 19:29:32 +0000 (12:29 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commit48dfc20f1e456a69ec3f7c7a06319107d0f78e8e
tree314a6514d6c5fb930c3d129c6d63f3a9d778fa1d
parent85245b8f04441b44f790c1d37a9b4d472b04ea79
net/mlx5: fix missing packet type calculation

Calculation of packet type is currently enabled only when HW checksum is
enabled.
This isn't related to HW checksum offload.  Enable it regardless.

Fixes: 081f7eae242e ("mlx5: process offload flags only when requested")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c