net/mlx5: fix compilation directive
authorDekel Peled <dekelp@mellanox.com>
Sun, 27 Oct 2019 15:33:05 +0000 (17:33 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commitaf0b0743e22d296284dae3d7fae39635baa00912
treea439bae0ea4ba53bd8ebabfd06b1d712b359f123
parent4e27d3ed02bd9d24daadc347ec1c130dab766065
net/mlx5: fix compilation directive

Glue function mlx5_glue_devx_qp_query() uses wrong directive
HAVE_IBV_DEVX_ASYNC by mistake.
This patch replaces the directive to HAVE_IBV_DEVX_OBJ, as required.

Fixes: 62d6f70f30f4 ("net/mlx5: add glue for queue query via DevX")
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5_glue.c