From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81EDBA00B8; Sun, 27 Oct 2019 16:38:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CFA4C1BEFD; Sun, 27 Oct 2019 16:38:07 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 713BD1BE80 for ; Sun, 27 Oct 2019 16:38:06 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from dekelp@mellanox.com) with ESMTPS (AES256-SHA encrypted); 27 Oct 2019 17:38:03 +0200 Received: from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx [10.128.130.87]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x9RFc3Hv027868; Sun, 27 Oct 2019 17:38:03 +0200 From: Dekel Peled To: matan@mellanox.com, viacheslavo@mellanox.com, shahafs@mellanox.com Cc: orika@mellanox.com, dev@dpdk.org, stable@dpdk.org Date: Sun, 27 Oct 2019 17:33:05 +0200 Message-Id: <054e73defb9f60739601ec5cfd965141db04552b.1572190441.git.dekelp@mellanox.com> X-Mailer: git-send-email 1.7.1 Subject: [dpdk-dev] [PATCH] net/mlx5: fix use of wrong compilation directive X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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 b5aab52..58c9a82 100644 --- a/drivers/net/mlx5/mlx5_glue.c +++ b/drivers/net/mlx5/mlx5_glue.c @@ -976,7 +976,7 @@ 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; -- 1.8.3.1