Skip to contentSkip to conversation

bus/pci: remove VFIO status log in scan

PATCH Applied David Marchand 2 participants 2 messages Oct 4, 2022 – Oct 10, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bus/pci: remove VFIO status log in scan

Linux EAL triggers a scan on all buses, PCI included. Once done, it configures VFIO.
Checking for VFIO status in the PCI bus scan is pointless.

---
 drivers/bus/pci/linux/pci.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/bus/pci/linux/pci.c +0 -5
index c8703d52f3..e69595ca2b 100644
@@ -452,11 +452,6 @@ rte_pci_scan(void)
 	if (!rte_eal_has_pci())
 		return 0;
 
-#ifdef VFIO_PRESENT
-	if (!pci_vfio_is_enabled())
-		RTE_LOG(DEBUG, EAL, "VFIO PCI modules not loaded\n");
-#endif
-
 	dir = opendir(rte_pci_get_sysfs_path());
 	if (dir == NULL) {
 		RTE_LOG(ERR, EAL, "%s(): opendir failed: %s\n",
Signature · 1 line
2.37.3
#1 lore raw

04/10/2022 10:00, David Marchand:

Quoted 5 lines

Linux EAL triggers a scan on all buses, PCI included. Once done, it configures VFIO.
Checking for VFIO status in the PCI bus scan is pointless.

Applied, thanks.