From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B5EB52C8 for ; Tue, 27 Jun 2017 16:23:42 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jun 2017 07:23:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,399,1493708400"; d="scan'208";a="985730787" Received: from silpixa00372839.ir.intel.com (HELO silpixa00372839.ger.corp.intel.com) ([10.237.222.154]) by orsmga003.jf.intel.com with ESMTP; 27 Jun 2017 07:23:37 -0700 From: Ferruh Yigit To: Thomas Monjalon Cc: dev@dpdk.org, shreyansh.jain@nxp.com, Ferruh Yigit Date: Tue, 27 Jun 2017 15:23:34 +0100 Message-Id: <20170627142334.18766-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.13.0 Subject: [dpdk-dev] [PATCH] eal/pci: reduce log verbosity X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2017 14:23:44 -0000 When debug level logging enabled (--log-level=8) each driver failed to probe the device printed, like: EAL: Driver (net_ark) doesn't match the device EAL: Driver (net_avp) doesn't match the device EAL: Driver (net_bnxt) doesn't match the device EAL: Driver (net_cxgbe) doesn't match the device EAL: Driver (net_e1000_igb) doesn't match the device EAL: Driver (net_e1000_igb_vf) doesn't match the device EAL: Driver (net_e1000_em) doesn't match the device EAL: Driver (net_ena) doesn't match the device EAL: Driver (net_enic) doesn't match the device EAL: Driver (net_fm10k) doesn't match the device EAL: Driver (net_i40e) doesn't match the device EAL: Driver (net_i40e_vf) doesn't match the device .... Overall hundreds of similar lines printed, because all drivers printed for all devices. This is too much noise and there is already a log message printed when device matched. Removing the debug log completely. Signed-off-by: Ferruh Yigit --- lib/librte_eal/common/eal_common_pci.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/librte_eal/common/eal_common_pci.c b/lib/librte_eal/common/eal_common_pci.c index 78b097e61..479c62d67 100644 --- a/lib/librte_eal/common/eal_common_pci.c +++ b/lib/librte_eal/common/eal_common_pci.c @@ -183,12 +183,9 @@ rte_pci_probe_one_driver(struct rte_pci_driver *dr, loc = &dev->addr; /* The device is not blacklisted; Check if driver supports it */ - if (!rte_pci_match(dr, dev)) { + if (!rte_pci_match(dr, dev)) /* Match of device and driver failed */ - RTE_LOG(DEBUG, EAL, "Driver (%s) doesn't match the device\n", - dr->driver.name); return 1; - } RTE_LOG(INFO, EAL, "PCI device "PCI_PRI_FMT" on NUMA socket %i\n", loc->domain, loc->bus, loc->devid, loc->function, -- 2.13.0