pci: fix log level of scan summary on BSD
authorThomas Monjalon <thomas@monjalon.net>
Tue, 11 Jul 2017 17:10:46 +0000 (19:10 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 3 Aug 2017 15:42:07 +0000 (17:42 +0200)
Printing the number of scanned devices should be a debug log,
not an error.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/bsdapp/eal/eal_pci.c

index d3fb3c2..04eacdc 100644 (file)
@@ -394,7 +394,7 @@ rte_pci_scan(void)
 
        close(fd);
 
-       RTE_LOG(ERR, EAL, "PCI scan found %u devices\n", dev_count);
+       RTE_LOG(DEBUG, EAL, "PCI scan found %u devices\n", dev_count);
        return 0;
 
 error: