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 BE12CA00C3; Fri, 14 Jan 2022 18:46:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6ADED41154; Fri, 14 Jan 2022 18:46:38 +0100 (CET) Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) by mails.dpdk.org (Postfix) with ESMTP id CE30940C35 for ; Fri, 14 Jan 2022 18:46:36 +0100 (CET) Received: by mail-il1-f180.google.com with SMTP id h30so8932746ila.12 for ; Fri, 14 Jan 2022 09:46:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=4SCSRC3sWOl5seTEPYnq+QadXla3RWwJjT6rbw/C2mA=; b=gfQ4bEEA+Xjlgerktzzl0iERrgdwuDKhPgFR1ELXbXTfIxDRhYWhdzjknCoqRuC8qn yYwo+QV1Y9nGsnqStYaQ2er8NFMpZQH+e71Y+SLsam72SHX2xL7uajKybpHhxXFHKnPd nGX35e483rVDjMq8E88cE+ObuTnixpD7QYbUg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4SCSRC3sWOl5seTEPYnq+QadXla3RWwJjT6rbw/C2mA=; b=zMP0uBn7QQFxlq0CP6Ss3gO61JhpaxA/PlCehDVUje/a7Dc9C6a+SKOuIMbaKjXfe+ Nf4OqNDWcoieDnXL+wXgBIMZa4+VhXOj1I42UNnGz5kMcRla2xZu++MaUxe1sCD7rcoY wrdwGRG/lgrihthTGqTeNFtSL7CiJZ1sNwajJm+Iur5xmbI7yrTkKR2NaAErTY8pUhnO K8qTtL/aRWha0327QkXD5UBs0s875PlYx97kIZJ8wNYtuiCh+dCTv3VUUFDuzXYuAwyA aauYUcmVICJLKiJqu0LnPHrWt1a9/s4Zc8/7Z5WL6rsOErFQsF55E8/4RyziLl6466mR x3wA== X-Gm-Message-State: AOAM532998rRaTuNFr2lyaKlIceC2QpIEmZ9z8y+WOAGL9InwLwZutEG v9vvDlRV6Kifqo0o8ypCGM/a3URngrbJFZp8isdHvn8+zYemjDfv X-Google-Smtp-Source: ABdhPJwHMUZYumHHz59SgjGfMIiHsZs6WvPyjnKycuQ9UPgaU9ntey45h88mGWLQuHXPNWl3XyNZdTdaWwKyELJ7jSY= X-Received: by 2002:a05:6e02:1d0d:: with SMTP id i13mr5245886ila.311.1642182396182; Fri, 14 Jan 2022 09:46:36 -0800 (PST) MIME-Version: 1.0 References: <20220112134152.3850-1-geoffrey.le_gourrierec@6wind.com> In-Reply-To: <20220112134152.3850-1-geoffrey.le_gourrierec@6wind.com> From: Ajit Khaparde Date: Fri, 14 Jan 2022 09:46:20 -0800 Message-ID: Subject: Re: [PATCH] net/bnxt: add back dependency to virt kmods To: =?UTF-8?Q?Geoffrey_Le_Gourri=C3=A9rec?= Cc: dpdk-dev , Somnath Kotur , Ferruh Yigit , Hemant Agrawal , Andrew Rybchenko , Tyler Retzlaff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Wed, Jan 12, 2022 at 5:42 AM Geoffrey Le Gourri=C3=A9rec wrote: > > During a large refactoring sweep for 21.11, a previous commit > removed the dependency the bnxt driver had on Linux virtual > bus drivers, such as vfio-pci. This breaks port detection. > > This patch adds the kmod dependency back as it was. > > Fixes: 295968d17407 ("ethdev: add namespace") > Signed-off-by: Geoffrey Le Gourri=C3=A9rec Acked-by: Ajit Khaparde Thanks. Patch applied to dpdk-next-net-brcm. > > --- > drivers/net/bnxt/bnxt_ethdev.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethde= v.c > index f79f33ab4e17..3ca6b7be7b6a 100644 > --- a/drivers/net/bnxt/bnxt_ethdev.c > +++ b/drivers/net/bnxt/bnxt_ethdev.c > @@ -6302,4 +6302,5 @@ bool is_bnxt_supported(struct rte_eth_dev *dev) > RTE_LOG_REGISTER_SUFFIX(bnxt_logtype_driver, driver, NOTICE); > RTE_PMD_REGISTER_PCI(net_bnxt, bnxt_rte_pmd); > RTE_PMD_REGISTER_PCI_TABLE(net_bnxt, bnxt_pci_id_map); > +RTE_PMD_REGISTER_KMOD_DEP(net_bnxt, "* igb_uio | uio_pci_generic | vfio-= pci"); > > -- > 2.30.2 >