From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shreyansh Jain Subject: [PATCH 0/3] Reduce logging level for dpaax and fslmc Date: Wed, 17 Oct 2018 09:12:25 +0000 Message-ID: <20181017091151.15017-1-shreyansh.jain@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , Shreyansh Jain To: "thomas@monjalon.net" Return-path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50040.outbound.protection.outlook.com [40.107.5.40]) by dpdk.org (Postfix) with ESMTP id C268A548B for ; Wed, 17 Oct 2018 11:12:26 +0200 (CEST) Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Based on discussion in [1], some logs for dpaax have been reduced to DEBUG state only. All logs which are not part of exposed API (like dpaax_iova_table_populate), only dump DEBUG now. Other exposed API also don't dump ERR as this library needs to be transparent. Only WARN is used. Patch 1: .) change ERR -> DEBUG .) Default log level is set to ERR Patch 2: .) Not checking the returns from dpaax library - even if that is failed, the PA->VA translation would still work, albeit with old method. Patch 3: .) While working on Patch 1, some logs from net/dpaa2 were also observed which shouldn't necessarily be ERR. Changed them to DEBUG. [1] http://mails.dpdk.org/archives/dev/2018-October/116096.html Shreyansh Jain (3): common/dpaax: reduce logging level bus/fslmc: ignore dpaax pa-va table errors net/dpaa2: convert logs from errors to debug drivers/bus/fslmc/fslmc_bus.c | 8 +++--- drivers/common/dpaax/dpaax_iova_table.c | 35 +++++++++++++------------ drivers/net/dpaa2/dpaa2_ethdev.c | 4 +-- 3 files changed, 24 insertions(+), 23 deletions(-) --=20 2.17.1