From 4d47569cc191b77c40c74e644c67549f18e9edf3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Geoffrey=20Le=20Gourri=C3=A9rec?= Date: Wed, 12 Jan 2022 14:41:52 +0100 Subject: [PATCH] net/bnxt: restore dependency on kernel modules MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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") Cc: stable@dpdk.org Signed-off-by: Geoffrey Le Gourriérec Acked-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 999a9a5103..22e015d5aa 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -6360,4 +6360,4 @@ 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.39.5