net/mlx5: fix GENEVE tunnel flow validation
authorMatan Azrad <matan@mellanox.com>
Wed, 19 Feb 2020 06:52:11 +0000 (06:52 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Feb 2020 14:17:30 +0000 (15:17 +0100)
commit5693233823b09b527376e94ce24df71918632dfa
treeee848f57619134fc9d05ee934bf298a5c109fea2
parent38ad946892830c9fb5f8fe221bf677ee8e9bc819
net/mlx5: fix GENEVE tunnel flow validation

The new Mellanox devices support GENEVE tunnel stateless offloads by
native HW parsers, FW doesn't need to configure flex parser to support
it.

The FW capability for GENEVE flex parser is not set for the above
devices, hence the GENEVE flow validation failed for them.

Remove the flex parser validation for GENEVE, stay only with the direct
FW capability for GENEVE support.

Fixes: e59a5dbcfd07 ("net/mlx5: add flow match on GENEVE item")
Cc: stable@dpdk.org
Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_flow.c