net/mlx5: fix flow rule configuration
authorDekel Peled <dekelp@mellanox.com>
Mon, 5 Aug 2019 07:07:05 +0000 (10:07 +0300)
committerRaslan Darawsheh <rasland@mellanox.com>
Tue, 6 Aug 2019 15:42:12 +0000 (17:42 +0200)
commit9b08de133e0118e8b4baa51885d5545865821bd9
tree1e9116489fc60bb9cdf766bd61a01c179592f918
parenta3970d31e6fb0673611a4a0a4891b7109ae419cc
net/mlx5: fix flow rule configuration

Some flow rules were not configured.

Part of the code in function flow_dv_matcher_enable() is enclosed in
'#ifdef HAVE_MLX5DV_DR' preprocessor directive.
Using this directive is not needed here, and prevents compilation of
relevant code.

This patch removes the unnecessary preprocessor directive.

Fixes: 4f84a19779ca ("net/mlx5: add Direct Rules API")
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c