net/mlx5: fix packet type flags for Ethernet only frame
authorShahaf Shuler <shahafs@mellanox.com>
Tue, 24 Oct 2017 06:16:09 +0000 (09:16 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:01 +0000 (02:33 +0200)
commit3ca63b88a8c9c79d3ca630e2ed6cdff110b382b0
treeb28b8c422ad443be456a5825e37b8efbfa54926c
parentf59908fe499bc0e908295bf8ef874048f55186cd
net/mlx5: fix packet type flags for Ethernet only frame

Considering the PMD supports only Ethernet transport, packet which
arrives without any packet type flags in the completion should be
marked with L2_ETHER flag.

Fixes: ea16068c0064 ("net/mlx5: fix L4 packet type support")
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