From: Geoffrey Le GourriƩrec Date: Wed, 12 Jan 2022 13:41:52 +0000 (+0100) Subject: net/bnxt: restore dependency on kernel modules X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4d47569cc191b77c40c74e644c67549f18e9edf3;p=dpdk.git net/bnxt: restore dependency on kernel modules 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 --- 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");