From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30062.outbound.protection.outlook.com [40.107.3.62]) by dpdk.org (Postfix) with ESMTP id ACA571B125 for ; Wed, 17 Oct 2018 12:10:39 +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=hASE//diS5pHoeneRwak4rZ4XOqbVLls/T3S3hrN3cI=; b=lvka2mOeRvHUz79I4sDrdp44IxNvryRGqrYQH2btUIDsqGYAU76+MuxzlUo5FNGu/NxFq5SuN0oAaEedCJy9TvuyPLSnKMI/QTL71ML4pl612Lu+aq0H2rRlOFNl1nwPyQ7sETEevUHULcwCgxoqsxkU1Y7INijAqB8hjvQFhR8= Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (20.177.56.80) by VI1PR04MB4974.eurprd04.prod.outlook.com (20.177.49.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Wed, 17 Oct 2018 10:10:38 +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 10:10:38 +0000 From: Shreyansh Jain To: "thomas@monjalon.net" CC: "dev@dpdk.org" , Shreyansh Jain Thread-Topic: [PATCH v2 3/3] net/dpaa2: convert logs from errors to debug Thread-Index: AQHUZgGmRWP895wH7kmW7EiiaRRV/A== Date: Wed, 17 Oct 2018 10:10:38 +0000 Message-ID: <20181017100954.18284-4-shreyansh.jain@nxp.com> References: <20181017091151.15017-1-shreyansh.jain@nxp.com> <20181017100954.18284-1-shreyansh.jain@nxp.com> In-Reply-To: <20181017100954.18284-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: BM1PR01CA0088.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::28) 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; VI1PR04MB4974; 6:cmg0X7QR5oZ1ICZLsHdHFLvWZBSR2zL7Xkrd4NJQfbbgMU46r2cSOQ6zwPy5tXAa+3uCK4K0+JtT/PJOgcZHsGRoDPersVbwd9oKnd6Ou1hVZCoMhxtLU5pg4lMQTaxrYpxpS1bWWhjUaBxdOBC98q1ZOkX0IglHBGdEbD+KuIU2IjYoq93VtTbR5ZnZwCb+ssCSAfvTTjYu6ojxdaSE9kMtOc3yuN/L0I98GLxPrinAlj7koTDv5S5uNZ1v2arNrBaNySsDvSASO9weCxj4MPGXGW2Z9F1Q+GKex2EOgn4+TfIDMOIZ2ioFS6QsYs5JPdqPfmrWhu37N49PoG2v5mwgDamYoyvXBwCW2Mc9p/WvN5bnq4HpCPVVP2eobRTEBAW11DydC6j0gxYcP4vQSrpLMgSZgSLnk6tOT2T7Vb1QL5pbTnWie3pWlaHbTixOHIjq6f5CZIB3wZTvWSXk/Q==; 5:2GVlJvjOzrkwbMrRpcSzF3y7JWGGW4h/qygDszIhqcfGHHSIICiWh2XILX0c/GeTndZMhVCbwn4s8wp3K94S7m0c+rSZtbkUD1O1SML1KiP9LslWXw0o2nuKi/S96v9XC/HNaFy7PpHjrBPw1wVC4bFgGxewVGuyrt2M4JyBkLM=; 7:9SnxJPhpITJ+/xfajcNMRjWFort2Eu0P8o/3rTgxvJJ6mSkf7Xzx/eo45UAb3+Y9eZlqIPmEPWf1xYfzPAMKQ+umqJJR0vgmCAC24Q4H6xwLmDQERELWO7Q3CNsojFOWkNxl9EvQt0C7Q58H0UBy2RsSyXtj0MDJZ+bEgwqE+xQrdBlhqiqr1CxrPeFDGnlbagklwcwi749rjDp8hHCduzD2JHxD3Q0fLWmL44ZqWV1RmYrh6Fgy5UN9CCcSJRri x-ms-office365-filtering-correlation-id: 8f181f04-40bb-4ee0-8d28-08d63418c910 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:VI1PR04MB4974; x-ms-traffictypediagnostic: VI1PR04MB4974: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB4974; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4974; x-forefront-prvs: 08286A0BE2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(39860400002)(376002)(136003)(396003)(199004)(189003)(476003)(6436002)(36756003)(6512007)(6486002)(71190400001)(446003)(186003)(71200400001)(2616005)(5640700003)(11346002)(54906003)(86362001)(2501003)(26005)(97736004)(14444005)(102836004)(256004)(6116002)(5250100002)(3846002)(316002)(99286004)(478600001)(4326008)(25786009)(386003)(486006)(1730700003)(55236004)(52116002)(14454004)(53936002)(7736002)(1076002)(6506007)(8936002)(2906002)(105586002)(8676002)(106356001)(50226002)(2900100001)(76176011)(2351001)(78486010)(81156014)(44832011)(66066001)(305945005)(68736007)(5660300001)(6916009)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4974; H:VI1PR04MB4688.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 1ag5LjOnqWzGjdDV1dCuQghlxpj0xsOmY/Yt5XpA7Ffi+o0bEWXyRH0eJMODi46CjxAg8Utx5Fcqq+ppdTEJJNryvXFpKKuqFNlcvo51hWTKSkHb+Ap/zGo1YfB/bvoa5S+HEx4zMWkQ619lnk8SKw4lRLropyXP5IMYKxD4zzXWtKtxUeLBYSHjaYA52IwXe3brp97gnBUbEx4FY9lVZYkFb3zJ+Dg6FDWHi4/Pyo4/9iriLaOniXsDoDqt/1zgIlIA4sDoA0X2O9kO4nSbk9tJgDXUUoquqFxtM0dqW+oOXYqlhdTKP4isNfo+V/QHNy1uCQLw+bcq7LbxvtCWWNkat9C8vRZ5SpkO53c4x68= 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: 8f181f04-40bb-4ee0-8d28-08d63418c910 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2018 10:10:38.1161 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4974 Subject: [dpdk-dev] [PATCH v2 3/3] net/dpaa2: convert logs from errors to debug 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 10:10:40 -0000 In case the link is down during initial link state check, messages for link state check flood the console. Reducing the log level for these. Signed-off-by: Shreyansh Jain --- drivers/net/dpaa2/dpaa2_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_eth= dev.c index 3987d13df..d8b7fa186 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -1412,7 +1412,7 @@ dpaa2_dev_link_update(struct rte_eth_dev *dev, =20 ret =3D dpni_get_link_state(dpni, CMD_PRI_LOW, priv->token, &state); if (ret < 0) { - DPAA2_PMD_ERR("error: dpni_get_link_state %d", ret); + DPAA2_PMD_DEBUG("error: dpni_get_link_state %d", ret); return -1; } =20 @@ -1474,7 +1474,7 @@ dpaa2_dev_set_link_up(struct rte_eth_dev *dev) } ret =3D dpni_get_link_state(dpni, CMD_PRI_LOW, priv->token, &state); if (ret < 0) { - DPAA2_PMD_ERR("Unable to get link state (%d)", ret); + DPAA2_PMD_DEBUG("Unable to get link state (%d)", ret); return -1; } =20 --=20 2.17.1