From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FJLX8KexQMVvnC0JrWQAFQt6dmjbnASVbZ0mmc5ZVrs=; b=FBOR2DRjox0Lx9sge4wXs7brur36ZRMLW+1j095CyN502ZBNYwGGVvicMdiu4nDTNAFS8lRhlLMHnj4TB8283Ad5Mt8hrRg8Wq+XMCG9ThGj4Xvyr08QU+x3MIsqgJA1gnIDRZgHy90KFQ92yvneOCehH/M35XM4WPSCvVlX2Ok= Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (20.177.56.80) by VI1PR04MB4990.eurprd04.prod.outlook.com (20.177.49.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.24; Wed, 17 Oct 2018 09:12:25 +0000 Received: from VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::7988:5f2:be74:bf7a]) by VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::7988:5f2:be74:bf7a%6]) with mapi id 15.20.1228.032; Wed, 17 Oct 2018 09:12:25 +0000 From: Shreyansh Jain To: "thomas@monjalon.net" CC: "dev@dpdk.org" , Shreyansh Jain Thread-Topic: [PATCH 0/3] Reduce logging level for dpaax and fslmc Thread-Index: AQHUZfmFCei9SkeiiEefCM/7Z/wJQw== Date: Wed, 17 Oct 2018 09:12:25 +0000 Message-ID: <20181017091151.15017-1-shreyansh.jain@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.142.187.166] x-mailer: git-send-email 2.17.1 x-clientproxiedby: BM1PR0101CA0062.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::24) To VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:71::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB4990; 6:FU8AYtxewOTVszb5iuTo69Wt/t/Zfit+b+jkEqcHKRfDdDgmdTOqMPr+7tuh8Dl0tONJqJFH0+1i4ZKhZyyf2nqDHTevcX0pTDBh4jpHpmSbKRIaLQIQU/vENyHF8FQfiPXXbrv5TMCpVK8PBGKYkWt3er5e7406Xuc4vmBRk9cuGD9cEvkPFudvPd4NLbt09UlOpNO7HlU3Tn1LM/KYsP2fNDuBlz0oTNulFypgtj1uy2ers4zKXhBnkvQ+jLGwLpScv45ugs5KI8Gi8HVmCjnsBlbuVulmSh+eBhy86j45sZInRqZcY+lKyg/aAjElO3q02fDBI/CViboT5LXbbrakYUzFwnmNgQwgs1QHA/Tsa204PHWcflrILhTtwlJ2U5+KwewY6zbopN08yMcJgqcachAiqVXwiz+4TcMBNyHt3p11sNLE+SZfjpie92Z1k1Q0v+49V0SgBL59y7Eiyw==; 5:i37dhwFDtetAI83RvJpYf28M7ml/M8vMPleWSR3yNTlukPeI9svQ8lzYl4wyDcpPjC6xAqIoYe4mxRJb+D2cnTAjQnnngjDz15AFd8ninTla5P/ZVWV65fo27yHWjx9/xnBq2MWb2uV41udE6QnzDiBgdQ8bxecF3ygpyNTmIi0=; 7:Av/ycU3P018YuhK0iM82dRM0wJrukYY17CRgcfcWtax1fSSMEikEdZwMsEb4SVtUNHBhYi40XqjyhPFlnFjCdysTqyrHb0k7OcdX0PzNBC7VqrTWEiLpXG4eBFdduKHiy8TPZilLofB5yLJ7EFi0BYiBDF8KY+0gwkrGB1GJJoavFzLhlSlbH/V/G1zRQeoE/zKsRYgZMrzUZ6yB0u+mwEOX9vh9NsTGFtvsykeXgNbgpB/uQ4WtnOxSJQ1JOZnP x-ms-office365-filtering-correlation-id: 35e1017e-0b4f-4456-1f9c-08d63410a748 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4990; x-ms-traffictypediagnostic: VI1PR04MB4990: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231355)(944501410)(4982022)(52105095)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB4990; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4990; x-forefront-prvs: 08286A0BE2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(136003)(396003)(366004)(189003)(199004)(256004)(86362001)(486006)(36756003)(2900100001)(44832011)(6116002)(66066001)(3846002)(53936002)(1076002)(97736004)(102836004)(50226002)(26005)(476003)(5250100002)(186003)(68736007)(2501003)(78486010)(2616005)(71200400001)(81166006)(81156014)(71190400001)(14454004)(52116002)(1730700003)(99286004)(316002)(478600001)(8676002)(55236004)(8936002)(2906002)(6506007)(386003)(966005)(5640700003)(6916009)(305945005)(4326008)(54906003)(7736002)(25786009)(2351001)(5660300001)(105586002)(6436002)(106356001)(6512007)(6306002)(6486002)(17423001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4990; H:VI1PR04MB4688.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: /q/uuIRD/CkEd8VK9ja5GBBR501Hpuzu1Tywe3iVKocMPt2RRMLz9/hKP/XQ3BjZXVE1hqG8alob50gXD8bIfHbm7/etP1dq/CqO1aIsenXKFYIPFwbrfK13nk2kfiWjxXUvX0uAyKOiJhFtJ1/i95/RpkwHrp77XoYpG9k/OUhO6+BkpOs0+nhsUYFM5T/lzGqFVLo+BwIaxHpOf82k3+44K8uBF8hdkqj1iO1faYN5rIFDTP3RpP3/oD+XEtvmjayPpXd9yaygC0yCBuRvTvk7tIyE8iqBHHjKSX7Jnti+6kEb4WKpjf1nnRbe0UdbJH4zPvgnWhXUGC/e7ucwSdxjF0zPegAmiX+MLtpl1Sc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 35e1017e-0b4f-4456-1f9c-08d63410a748 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2018 09:12:25.4469 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4990 Subject: [dpdk-dev] [PATCH 0/3] Reduce logging level for dpaax and fslmc 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: Wed, 17 Oct 2018 09:12:27 -0000 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