* [PATCH] bus/pci: remove VFIO status log in scan
@ 2022-10-04 8:00 David Marchand
2022-10-10 15:55 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: David Marchand @ 2022-10-04 8:00 UTC (permalink / raw)
To: dev
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.
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
drivers/bus/pci/linux/pci.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c
index c8703d52f3..e69595ca2b 100644
--- a/drivers/bus/pci/linux/pci.c
+++ b/drivers/bus/pci/linux/pci.c
@@ -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",
--
2.37.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] bus/pci: remove VFIO status log in scan
2022-10-04 8:00 [PATCH] bus/pci: remove VFIO status log in scan David Marchand
@ 2022-10-10 15:55 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2022-10-10 15:55 UTC (permalink / raw)
To: David Marchand; +Cc: dev
04/10/2022 10:00, David Marchand:
> 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.
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-10 15:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-04 8:00 [PATCH] bus/pci: remove VFIO status log in scan David Marchand
2022-10-10 15:55 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).