From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C0BFCA0C46; Mon, 27 Sep 2021 16:58:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DEE11410FE; Mon, 27 Sep 2021 16:58:11 +0200 (CEST) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mails.dpdk.org (Postfix) with ESMTP id 25D6F410DA for ; Mon, 27 Sep 2021 15:35:59 +0200 (CEST) Received: by mail-pl1-f169.google.com with SMTP id bb10so11818620plb.2 for ; Mon, 27 Sep 2021 06:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneconvergence.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9yc+H+5Zz5ZfZM/vnW3U24cGWfw7QnqdmH1ChaA9kXU=; b=Om+SfxXpgn2/Px3EuckdrBd+216dmLoq3hGYmNn/zYdvqW8Uh3ruHQMiY4nqIgjjak TRK8RiGDRZqw60vWeUhO47A2flP7LI+tQLZlwKdiBNJJrmNd+2dwiQTQ69cCSqzUy/YF o44ZewgS5UgAn3rZmkeO1igqLYoNKlwZFZndI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9yc+H+5Zz5ZfZM/vnW3U24cGWfw7QnqdmH1ChaA9kXU=; b=hkXuGYP1JEfiwlY5tjOCmzSiMGL60roaqSjPvuqBiQYsWuF/Re4HePBuVmD2kX0rDf FOZvNq/blyVEGTlixBr4tyrK0IPItrhD4px+ZWTFtDQhpvhd3T++LS87HJG6KwYpYIr4 5Rk5LxzD7yLjeIV1si0xogYcmWmA09V5n0ObBrKpgClPt6O7OLUu+nslarFNZYHyl4mj GWvVfGMLKwGXG1hXDjdVAXDHGDfmNXwpi03fC7d+Dv2Y4lDQ2AIxFVPUxeqYxr7YobYm tw+eLt9hzEjXN2+wjFcoRd0ohbNIVU3goiYF+hUaGnY+fQIdvREcr7nU75Gse6EPOw2M OGZQ== X-Gm-Message-State: AOAM5315BgvPNHqcTvDE9OnqiN+DB9BXbCkj684rmf/EzGF4SsBn7ZQI 1B/wxViQCL5hkqM5TgbqPZf4PQ== X-Google-Smtp-Source: ABdhPJzoSXB6ys2TKRLVIJFMHq2pPcPF9SJHCP0kiGVDri3iikKJ/JNaPco/BWCadB5Yp2Lcm82Kvg== X-Received: by 2002:a17:90a:a585:: with SMTP id b5mr19951824pjq.201.1632749758421; Mon, 27 Sep 2021 06:35:58 -0700 (PDT) Received: from srikanth-ThinkPad-T450.domain.name ([223.178.22.200]) by smtp.gmail.com with ESMTPSA id t6sm17342274pfh.63.2021.09.27.06.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 06:35:58 -0700 (PDT) From: Srikanth Kaka To: Matan Azrad , Viacheslav Ovsiienko Cc: dev@dpdk.org, Vag Singh , Anand Thulasiram , Srikanth Kaka Date: Mon, 27 Sep 2021 19:04:34 +0530 Message-Id: <20210927133450.10653-4-srikanth.k@oneconvergence.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210927133450.10653-1-srikanth.k@oneconvergence.com> References: <20210927133450.10653-1-srikanth.k@oneconvergence.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 27 Sep 2021 16:58:07 +0200 Subject: [dpdk-dev] [PATCH 03/19] common/mlx5: disabling auxiliary bus support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Disabling auxiliary bus support in FreeBSD at this moment Signed-off-by: Srikanth Kaka Signed-off-by: Vag Singh Signed-off-by: Anand Thulasiram --- drivers/common/mlx5/freebsd/mlx5_common_verbs.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/common/mlx5/freebsd/mlx5_common_verbs.c b/drivers/common/mlx5/freebsd/mlx5_common_verbs.c index 9080bd3e87..6a6ab7a7a2 100644 --- a/drivers/common/mlx5/freebsd/mlx5_common_verbs.c +++ b/drivers/common/mlx5/freebsd/mlx5_common_verbs.c @@ -12,7 +12,6 @@ #include #include -#include #include "mlx5_common_utils.h" #include "mlx5_common_log.h" @@ -25,12 +24,10 @@ struct ibv_device * mlx5_os_get_ibv_dev(const struct rte_device *dev) { - struct ibv_device *ibv; + struct ibv_device *ibv = NULL; if (mlx5_dev_is_pci(dev)) ibv = mlx5_os_get_ibv_device(&RTE_DEV_TO_PCI_CONST(dev)->addr); - else - ibv = mlx5_get_aux_ibv_device(RTE_DEV_TO_AUXILIARY_CONST(dev)); if (ibv == NULL) { rte_errno = ENODEV; DRV_LOG(ERR, "Verbs device not found: %s", dev->name); -- 2.30.2