pci: increase log level to show blacklisted devices
authorHuilong Xu <huilongx.xu@intel.com>
Tue, 31 May 2016 02:40:12 +0000 (10:40 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 30 Jun 2016 12:01:37 +0000 (14:01 +0200)
Maybe we should change log level, when add port in blacklist,
for check it easy.
It does not influence performance and function.

Signed-off-by: Huilong Xu <huilongx.xu@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
lib/librte_eal/common/eal_common_pci.c

index ba5283d..7248c38 100644 (file)
@@ -188,7 +188,7 @@ rte_eal_pci_probe_one_driver(struct rte_pci_driver *dr, struct rte_pci_device *d
                /* no initialization when blacklisted, return without error */
                if (dev->devargs != NULL &&
                        dev->devargs->type == RTE_DEVTYPE_BLACKLISTED_PCI) {
-                       RTE_LOG(DEBUG, EAL, "  Device is blacklisted, not initializing\n");
+                       RTE_LOG(INFO, EAL, "  Device is blacklisted, not initializing\n");
                        return 1;
                }