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 CE402A0093; Thu, 13 Jan 2022 16:16:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91F9042744; Thu, 13 Jan 2022 16:16:06 +0100 (CET) Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mails.dpdk.org (Postfix) with ESMTP id BB71640040 for ; Wed, 12 Jan 2022 14:42:22 +0100 (CET) Received: by mail-wr1-f54.google.com with SMTP id d19so4428538wrb.0 for ; Wed, 12 Jan 2022 05:42:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JmRRrpa28losxkvX6PAuRzgAtbBVp6O66LR/T1Lbx6I=; b=TEKFkqytqGhyRU8S4g5opICIH/yQwBCGGjc0BFyBLkGIW0+ubZ58sy1vFD0VEnlmSv EiA9QzV1BkTAUqKdThmg8AhDnlYjAJCb3j6Q7mwFce21TqKILadBAL3c/P5V9UsqqKuh MXnyxSWOsbsn1DsPC7eoaiCN26BfLqUig6XrIFuaz/Z7rxmsMQ793tm+SVesU1BjHVYH okJdtLBXMddW5/1GFpwQL/p0BTIW7XOtgU5k+vAxijucK2OjfVcmO2XLrnj00sCdldTL TUW9FHrEO0NV0RzdkeQfcU6kx0RkM42V3CEhmAIToS0QucmwEuAa+CMiaxfrIO+tKvre hvwg== 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:mime-version :content-transfer-encoding; bh=JmRRrpa28losxkvX6PAuRzgAtbBVp6O66LR/T1Lbx6I=; b=munwcUNAMx5YJ/UoOEpJRxH6uLfgt0CRW8rdIsv2Elv5gEONa5R1RvvLZ9xW0wex7y /bcCNLJUSKfb9/NOrPf5S2DYwB2TzQ7h7+QoKmrLXFfrDaTv9IPYvvY9H1pM8GGg39JJ lYT9Ddi5HjyBPFzZa+RxIbHlh9MinXLhxdyAquCJS4go8I4dhKNSIzW5yN6tVDDfxO6v 8v391vtOwPA3Id0sWVXLg+/3VroS7EB5xlkL5I2kNLAM0e8NAK7KW4PiIhUArpGTTkrC gYclVz3JL+ywzmM15Zpx04vGsgOCWR5LsW5u12fviYsuvQiJxhGkFOhVEhrpDBzBdPuy 7QQw== X-Gm-Message-State: AOAM533ClHOZnkKeRyMQ/RaJBV/5+S1qWNKYFU5BdZFPlF6tGDs+LNIA +nTqPafFqXXvJrzpF07u5BJRve+KvADpLfuD0wQ= X-Google-Smtp-Source: ABdhPJz0Ia6kKWyA5Dd8rmL1f5QbU8tliKhG2MZnEbwY3IHdd8DAK7Gm92rSzt4hjYJ9EcZX9nedCg== X-Received: by 2002:a05:6000:18ab:: with SMTP id b11mr8075461wri.385.1641994942540; Wed, 12 Jan 2022 05:42:22 -0800 (PST) Received: from extreme.dev.6wind.com ([185.13.181.2]) by smtp.gmail.com with ESMTPSA id c12sm12125061wrr.7.2022.01.12.05.42.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 05:42:22 -0800 (PST) From: =?UTF-8?q?Geoffrey=20Le=20Gourri=C3=A9rec?= To: dev@dpdk.org Cc: Ajit Khaparde , Somnath Kotur , Ferruh Yigit , Hemant Agrawal , Andrew Rybchenko , Tyler Retzlaff Subject: [PATCH] net/bnxt: add back dependency to virt kmods Date: Wed, 12 Jan 2022 14:41:52 +0100 Message-Id: <20220112134152.3850-1-geoffrey.le_gourrierec@6wind.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 13 Jan 2022 16:16:04 +0100 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 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Ʃrec --- 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_ethdev.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