net/mlx5: fix meson build for Direct Rules
authorOri Kam <orika@mellanox.com>
Thu, 18 Apr 2019 13:16:00 +0000 (13:16 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 19 Apr 2019 12:51:55 +0000 (14:51 +0200)
The meson build was missing the define for Direct Rules.

Fixes: 4f84a19779ca ("net/mlx5: add Direct Rules API")

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/meson.build

index 1a65c3a..1906add 100644 (file)
@@ -114,6 +114,8 @@ if build
                'mlx5dv_devx_obj_create' ],
                [ 'HAVE_IBV_FLOW_DEVX_COUNTERS', 'infiniband/mlx5dv.h',
                'MLX5DV_FLOW_ACTION_COUNTERS_DEVX' ],
+               [ 'HAVE_MLX5DV_DR', 'infiniband/mlx5dv.h',
+               'MLX5DV_DR_NS_TYPE_TERMINATING' ],
                [ 'HAVE_SUPPORTED_40000baseKR4_Full', 'linux/ethtool.h',
                'SUPPORTED_40000baseKR4_Full' ],
                [ 'HAVE_SUPPORTED_40000baseCR4_Full', 'linux/ethtool.h',