net/mlx5: fix Rx packet validation and type
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Fri, 20 Jan 2017 15:27:29 +0000 (16:27 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 30 Jan 2017 21:18:26 +0000 (22:18 +0100)
commit0603df73a077e66f8eef27a5df71aed6135cda3f
treea228a2fc7384bf9115a7c5dcc00bcb03bb85b3a0
parent87e1134f86dff1a61357b89c8a3a2202ec02bc71
net/mlx5: fix Rx packet validation and type

Rx checksum validation and packet type offloads are read from the wrong
location.

Fixes: 501505c5608a ("net/mlx: fix IPv4 and IPv6 packet type")
Fixes: 350f4c482e46 ("net/mlx5: fix Rx checksum macros")
Fixes: 6218063b39a6 ("net/mlx5: refactor Rx data path")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_prm.h
drivers/net/mlx5/mlx5_rxtx.c