From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0064.outbound.protection.outlook.com [104.47.1.64]) by dpdk.org (Postfix) with ESMTP id C4FC21B10E for ; Wed, 17 Oct 2018 11:12:30 +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=oJKsGzZ4IZJPcKl27trSuT2KykoJpl3CsxsPzvRFyPPMKJ7B8pJikJ2P3TztsAjC6mLUV5blKWX7FkLmoDBFvyNrzcIdOaACVJvy3EilULNs4ecMzRhn3kspvildSWt6hB7nCZF10wvUXhJkmj3Q5/QBQN1cvv7k4e6WLkLtVQE= Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (20.177.56.80) by VI1PR04MB3103.eurprd04.prod.outlook.com (10.170.229.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.31; Wed, 17 Oct 2018 09:12:29 +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:29 +0000 From: Shreyansh Jain To: "thomas@monjalon.net" CC: "dev@dpdk.org" , Shreyansh Jain Thread-Topic: [PATCH 3/3] net/dpaa2: convert logs from errors to debug Thread-Index: AQHUZfmHDCys5u9QMU2hXj66VxAs8Q== Date: Wed, 17 Oct 2018 09:12:29 +0000 Message-ID: <20181017091151.15017-4-shreyansh.jain@nxp.com> References: <20181017091151.15017-1-shreyansh.jain@nxp.com> In-Reply-To: <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; VI1PR04MB3103; 6:J/CAZnPyS9wJ7B8WWC3lIaDhvQDkkTDHoFxoGXZx0a2WX842+uW5AyN92KF/GEM3lbv8z7pl87UKmq6cA/K95mH/rzDFcIKG9WwP+tY6leo4Tn2sQONiQJMsD5/fNdg0K54m8LJFvkdL4VzlsYKUZFM+HUj2pSY7vByyw0jKQuE4p41OfSzIicIzvojG7nbwENREXaK5PKEBcsWDaDRv0vHrRBkfPpJ7M50fKiGg++EFrdZbFAeaCGM/HgBw7JfEHL3Dx0J/1TuoFWIuL6otIdLTjn2C2vA6uI2YJDq6t5OQ/TzKuo2G7zNpCbIuF6QxpbMdlWs3T4HwAQ3DyhKR2SV4xIIfHtP/ILsAewfdTCEwg52UNdvDIVrQvK/CdvqIYf+sF6lCR8fZ1R454Kv/zhgvRrU7tITNer1m3O/nVoplw5QkHB8ibJ3aVAaV8G3ADBIZsNQ/Qz4OTwB9cHtZlg==; 5:wsb0IFrouh1URW9OY89MTrq/XTVZUjW3MtTJTGN9N1HvZRGKonSwz9cOhxrlohzMR4pXNaIm55LhhXps+ep0j1WT/ggZOmc1HzF4WVybdgIzSqNnWS86cs66ewLH++Qf/u+ib01icwaY+lUmDvaQFPMQZj7TJ+05HzIA4BBQrl4=; 7:PCUzWWTdXHYDs9UDps36pOxGCoUZ9bR072Q2OI2T7zXbnRHJhJg+CIoCCrm7JBCb2+WlojwNMLrgQxi7HjZ+FwDZP/aF6QIN3pfZp600e6xwa3A++mptc33qH4ZTb8Csj1c+6wT5JG4WZhltlQmCqJ0V5sOPP12+hGAHuBk4lTskCmdQy8KSyG+E1h8TrV7tgZbvsEcSvvHtaHyFIGfbKz9tOFGQzqUvhUQS4+FBOjIvU8YKRzHZn2nHWTVyIB5p x-ms-office365-filtering-correlation-id: b8fe4749-bba3-4706-978f-08d63410a9e1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB3103; x-ms-traffictypediagnostic: VI1PR04MB3103: 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)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB3103; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB3103; x-forefront-prvs: 08286A0BE2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(366004)(136003)(376002)(39860400002)(189003)(199004)(102836004)(76176011)(99286004)(44832011)(2900100001)(26005)(386003)(186003)(6506007)(14454004)(55236004)(54906003)(36756003)(316002)(2616005)(5250100002)(486006)(78486010)(478600001)(476003)(11346002)(81166006)(52116002)(8676002)(1730700003)(81156014)(86362001)(8936002)(14444005)(50226002)(256004)(68736007)(2906002)(446003)(66066001)(2501003)(6436002)(4326008)(6916009)(6486002)(6116002)(105586002)(106356001)(1076002)(3846002)(71200400001)(71190400001)(305945005)(25786009)(7736002)(5640700003)(6512007)(5660300001)(2351001)(53936002)(97736004); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB3103; 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: 15hmGICmNh6ey779aBuqDkfgmqFq04tuNIGCzx/FQ9q/w27HiQfgoM55d8bS6UeqSDwlawJhDaO94qaGVhNcYokzkmdBymYrq3UWjBIBDf4iFhezLxwIXlsW0SnK1H511g18CvC+DfdtrlNwYdsUQeFJP8GrXpXNI420gDh/CfqQuCQVxUfc9eTKTTRvhdMTQZwyXIGnCpBBNvqIGnnXigG0O1gZA/Vkjhwjd+7C3EO24XqhwY/qGxtt8gd8sj6Xgdi3uXVfI8+WvkylPQcObxqx51pVfnVtelkxj1T98hgN8MefMSivZr+F5TS+e3aLkMvqnnDJg5nyvJisiIPlxUtpYlpOmYHm6j2owk1DEtQ= 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: b8fe4749-bba3-4706-978f-08d63410a9e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2018 09:12:29.8442 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3103 Subject: [dpdk-dev] [PATCH 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 09:12:31 -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