From af0b0743e22d296284dae3d7fae39635baa00912 Mon Sep 17 00:00:00 2001 From: Dekel Peled Date: Sun, 27 Oct 2019 17:33:05 +0200 Subject: [PATCH] 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 Acked-by: Viacheslav Ovsiienko Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_glue.c b/drivers/net/mlx5/mlx5_glue.c index b5aab52616..58c9a82bdb 100644 --- a/drivers/net/mlx5/mlx5_glue.c +++ b/drivers/net/mlx5/mlx5_glue.c @@ -976,7 +976,7 @@ mlx5_glue_devx_qp_query(struct ibv_qp *qp, const void *in, size_t inlen, void *out, size_t outlen) { -#ifdef HAVE_IBV_DEVX_ASYNC +#ifdef HAVE_IBV_DEVX_OBJ return mlx5dv_devx_qp_query(qp, in, inlen, out, outlen); #else (void)qp; -- 2.20.1