From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 65A49A052E; Tue, 21 Jan 2020 08:59:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 52E4234EF; Tue, 21 Jan 2020 08:59:58 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id C6B32322C for ; Tue, 21 Jan 2020 08:59:56 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00L7uAQo023117; Mon, 20 Jan 2020 23:59:55 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0818; bh=YC+QFUQzW6RriQjyLc0fwylTUXauZsu+Wq0xuz9cLbw=; b=e8IwxEgT8hebC2TskX8ujqIiNICZ6qF0oGu9dWVfc8f7zZZKF2jEYKpNmqIBo6gEoSlZ YQ7OZ1jkQFUyDPpmrYa3vvrWeEU0uTbGTq+ChjGIDu8gMp3/E2ZB/HxdbuckDXMcXDpd WQl0F7wQ00W1PlGqjkTg+7cgfWGnEYjjqFp76W87IDdnv90mMHn0kEWtreNSo5ghhyKC +nzprxWIl7QqB6KL84FJM3mb2wOWpl9up2zziuwXWeo4wA58M+UoBAWqtdq+u+9rHvK3 cG1JBvgqTmpJEmeuu7Y2sbq16NXn6ag4YOX414mwtGA/kU5ZPm7kwn8sAfWkbj9QVmBU hg== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2xm08v9gt6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 20 Jan 2020 23:59:55 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 20 Jan 2020 23:59:53 -0800 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 20 Jan 2020 23:59:53 -0800 Received: from jerin-lab.marvell.com (jerin-lab.marvell.com [10.28.34.14]) by maili.marvell.com (Postfix) with ESMTP id 7BF743F703F; Mon, 20 Jan 2020 23:59:52 -0800 (PST) From: To: CC: , , Jerin Jacob Date: Tue, 21 Jan 2020 13:30:21 +0530 Message-ID: <20200121080021.2835490-1-jerinj@marvell.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-01-21_02:2020-01-20, 2020-01-21 signatures=0 Subject: [dpdk-dev] [PATCH] bus/pci: set boot-up log prints to absolute minimum 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Jerin Jacob Some machines may have a lot of PCI devices, logs from PCI probe creates a lot of clutter on boot-up, typically one needs to scroll the screen to find other issues in boot-up. This patch changes the loglevel of PCI probes to `debug` to reduce the clutter on default boot-up logs Signed-off-by: Jerin Jacob --- drivers/bus/pci/pci_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bus/pci/pci_common.c b/drivers/bus/pci/pci_common.c index 3f5542076..665a8b3df 100644 --- a/drivers/bus/pci/pci_common.c +++ b/drivers/bus/pci/pci_common.c @@ -136,7 +136,7 @@ rte_pci_probe_one_driver(struct rte_pci_driver *dr, /* Match of device and driver failed */ return 1; - RTE_LOG(INFO, EAL, "PCI device "PCI_PRI_FMT" on NUMA socket %i\n", + RTE_LOG(DEBUG, EAL, "PCI device "PCI_PRI_FMT" on NUMA socket %i\n", loc->domain, loc->bus, loc->devid, loc->function, dev->device.numa_node); @@ -161,7 +161,7 @@ rte_pci_probe_one_driver(struct rte_pci_driver *dr, return -EEXIST; } - RTE_LOG(INFO, EAL, " probe driver: %x:%x %s\n", dev->id.vendor_id, + RTE_LOG(DEBUG, EAL, " probe driver: %x:%x %s\n", dev->id.vendor_id, dev->id.device_id, dr->driver.name); /* -- 2.24.1