net/mlx5: fix flow director conversion
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 23 Jan 2018 08:05:08 +0000 (09:05 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:04:28 +0000 (10:04 +0100)
commitd10f422fd59a7a6d01da1b2a79975e9776fba840
treee95ce86733f65a86e02326b0d901082142759754
parentb233b027490b858f740a75fac19632a25d3aefdd
net/mlx5: fix flow director conversion

Flow director must provide the same spec and mask to be sure to be
validated.

Fixes: 4c3e9bcdd52e ("net/mlx5: support flow director")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow.c