Message ID | 20190222111440.30530-2-hemant.agrawal@nxp.com |
---|---|
State | Accepted |
Commit | f8f9f645226ed63f3b55dd487faa22f766078e53 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1609332jaa; Fri, 22 Feb 2019 03:16:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IZEwaZyUGoEdtUQWBrZwiXO7ibRjWW2lwvLxk2TZOmw6tNSIa447fSc2R6hetyv7r/EhGrX X-Received: by 2002:a50:9938:: with SMTP id k53mr2789556edb.134.1550834171075; Fri, 22 Feb 2019 03:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550834171; cv=none; d=google.com; s=arc-20160816; b=wiW2GEUmbe90PqCcq/GQMVD5WVSE4j4Ox103PO1Vrb42e1FV1TNKAw6Co1sdFZOuf6 1tlYpJE2e2hVYlBOO/Crz0Soq0nHmIbLjc+/jubR1a/TqYee/SkfWZCFjm8M/E1Q08sz P08l2164lTWv4j57V/C1f7Vbgz2Y+0lqIFt7CE3zyPwphAhJipbGC9PlzeRatjv/mxrq 4l1XPJ0XaqQhsIyueDe9HA+Uz23UdVZygbn0qFmAwhXByAeZaBgwc2EFtlxHFL7KhCur +40KJ4mXz+wlLwgeutPl4RZyQc3TybJtz0L15pLZgHbb5SzwovQi7V/Dt7a2RIt1LGKQ qcpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:mime-version :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic:cc :to:from:dkim-signature; bh=6Ypyw5ieGgkIRjYNRIsU+3ImKi2TK60mHMipuS3fhEM=; b=gXmUnB/eAKCr3uSVWAd8CtVSZzmzu7aorVHnmrmcGV7H+iOmV04iRa4HSx5K+0N94n 4BOOIkTardbRA0HgKleqt83bkcGSZhIYBo3rk1sbk4AYB8X87XDsDC74tyjEA4HMLV96 mb2bDnwfZ8DgWROeyCFSr9UXLllXs9sIzBWBmnUKCVWVObFyQp7hH6oj1j0jCrkpgGQM GK83UioJVOVEr0Ps5xuN78diEMv+24kGWuBDlE4nd1Qfd+wy95sRm/SbGO6HgroBHZzh YyjOhOWWBs7C0dsVOJJ+Bj2ba6g/j/foaCj1h17zSz6dp4PhagkgCnNCv3TKjoFqJXM5 HY7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b="YPxE/sSY"; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id m41si533659edc.360.2019.02.22.03.16.10; Fri, 22 Feb 2019 03:16:11 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b="YPxE/sSY"; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 70A8D2C39; Fri, 22 Feb 2019 12:16:04 +0100 (CET) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50061.outbound.protection.outlook.com [40.107.5.61]) by dpdk.org (Postfix) with ESMTP id 8D2751E34; Fri, 22 Feb 2019 12:16:00 +0100 (CET) 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=6Ypyw5ieGgkIRjYNRIsU+3ImKi2TK60mHMipuS3fhEM=; b=YPxE/sSYKRkw97aHbM6s5IOhj/N55cbclqIFxHCEOGh3+1XGUwVrhO1M0hN1+PX3G5AI4S92blbZumm0Vi6HpNmPU5aCX+aVGVNd8cqt5WTPiz+PulQRuJVewDUluvYOzZUAcMy6F74DmN6TAMw7MiBlgaMGqc3STrJ4EpSsPHA= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.65.19) by VI1PR0401MB2431.eurprd04.prod.outlook.com (10.169.134.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.14; Fri, 22 Feb 2019 11:15:59 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::1cad:15be:6f7e:cb84]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::1cad:15be:6f7e:cb84%9]) with mapi id 15.20.1643.016; Fri, 22 Feb 2019 11:15:59 +0000 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: "dev@dpdk.org" <dev@dpdk.org> CC: "ferruh.yigit@intel.com" <ferruh.yigit@intel.com>, Shreyansh Jain <shreyansh.jain@nxp.com>, "stable@dpdk.org" <stable@dpdk.org> Thread-Topic: [PATCH 2/6] mempool/dpaa2: fix to reduce continuous print on empty pool Thread-Index: AQHUyp/9/yB64hl2XUSpnb6ESM5/ng== Date: Fri, 22 Feb 2019 11:15:59 +0000 Message-ID: <20190222111440.30530-2-hemant.agrawal@nxp.com> References: <20190222111440.30530-1-hemant.agrawal@nxp.com> In-Reply-To: <20190222111440.30530-1-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [92.120.1.72] x-mailer: git-send-email 2.17.1 x-clientproxiedby: BM1PR01CA0084.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::24) To VI1PR0401MB2541.eurprd04.prod.outlook.com (2603:10a6:800:56::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 27b87814-ac60-4062-d408-08d698b71f65 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2431; x-ms-traffictypediagnostic: VI1PR0401MB2431: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; VI1PR0401MB2431; 23:u1SvD+z3cwXFRfcbd8yaaQIidNiXYszFOYKzL?= =?iso-8859-1?q?TxRrzji8XUGr5NzflyKplftQN?= =?iso-8859-1?q?Qi/v8+2koQUM8zx1N2zHmi3DQ0QeQ1tLfSILxxeKyFk+AHWcrWk?= =?iso-8859-1?q?eml6tDxpzmqM6Iz0kGNucbuc7qi2v+Sd0m+NBy7rO47HK4K8NO8?= =?iso-8859-1?q?63BfKrTfvgNzM3Rpr5OWsHyzWRZ2qA8KGkdP27EoiZnn90weBz7?= =?iso-8859-1?q?mvj2Duz+UQ67u2extskxX1x06L3zLhO6q6+UwBLVCdYBGfoNEUI?= =?iso-8859-1?q?Odcf8OyT/4tbCKSmdZakqnrvViR2xttfhFZ51L3OhLN7mWLQWhE?= =?iso-8859-1?q?bewqzTOCKNn+ic7YFBYgSCyT+3NGlWsuYZbs3lavbW0SkhEgTUN?= =?iso-8859-1?q?oZz+c74JssQNKdmwrghEPMgH4XkVE48kcIpaDbmYq1+k60kuDCO?= =?iso-8859-1?q?ccoThwRUVR8gINOjtjdCcij3kvI2AfetvyDESHY2Xe7yteArsvP?= =?iso-8859-1?q?IcB0Hj0egVQzHPJejFpg79SuEPIYNXzRi9y3DXOc9B6bYUGxGS8?= =?iso-8859-1?q?PkH8qupiZHuY0QPrLStFKbBw4sURcTmFoh4fe1UxHbRrIeStf0+?= =?iso-8859-1?q?di0ib30OzDi/kVE23YDQqSKeTqhnnpYYPVisTbR51ou+aL6bsrA?= =?iso-8859-1?q?xJvbImeg2EFx/ce2Se+gYl98huIoRqSY2kkI/7UK2i0t4zvBpaU?= =?iso-8859-1?q?tj9ztInr1tCq33/k48vwL2u+/u7KHT9uH0UOq3O45uTA+HHdki8?= =?iso-8859-1?q?YHmkyt0t3iidBGyjjOIeDrgrEcPZpGh0xY/c0ILYjCQuntk7MY9?= =?iso-8859-1?q?S6bAt+G58SSak4E+gFzpv2W+UqCKpVeUpL2nV5LBd2Zj4SzbXh5?= =?iso-8859-1?q?6CvG49ebWznqNz5i7nA4y52cTzNdQtJ7sIjrcBB+Lzds1fVc+iE?= =?iso-8859-1?q?eFBOGsWtiwF0qA7PEu/SohQFtMMQdU6KNtjubg7fBRweZR/TMbb?= =?iso-8859-1?q?X+9lb8GDlTB/vM84lvxn9zIm+EejTm2+7VcMu9HFX6dQPoqWmGl?= =?iso-8859-1?q?I11pODF5UmVATfHhm+43cP/YxUWFN3WuksLQjSkkEDMZAipQWgJ?= =?iso-8859-1?q?N/2pL92aBHTmE5Y9fryB4Ci8CK33j/oLt4CsNxTjzISKjQ6MlIe?= =?iso-8859-1?q?/ApTNVNrli9nSUV3qpIOvSeJkZ96wrXEB6qDPTNzlimMDS124hp?= =?iso-8859-1?q?LvWd5M1ehaGLnibO5xqokNnxlC7hIjTvcCE+wHM487CyyNHWWAc?= =?iso-8859-1?q?dxIbwX/gBJ3RwxTmWR0h2uJw9Ztto4bTwbBp6ymBr8FiKHQS/Xb?= =?iso-8859-1?q?H/xMyNl8+tdoK2kxukBa/9eCOWkig9R1k0v10wfLVBjgXyPrB7K?= =?iso-8859-1?q?uF0S4BQ9/OZEX93wI1acdZbKjsEziktZsHFFkKuHTNph/VgK+0A?= =?iso-8859-1?q?dsN4Q2H?= x-microsoft-antispam-prvs: <VI1PR0401MB2431AE63B1F442AC792DA020897F0@VI1PR0401MB2431.eurprd04.prod.outlook.com> x-forefront-prvs: 09565527D6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(376002)(396003)(136003)(366004)(189003)(199004)(2906002)(99286004)(8936002)(105586002)(26005)(54906003)(3846002)(6116002)(106356001)(71190400001)(8676002)(97736004)(316002)(6506007)(6512007)(1730700003)(5640700003)(81156014)(71200400001)(102836004)(36756003)(256004)(386003)(6486002)(50226002)(81166006)(6436002)(6916009)(86362001)(1076003)(305945005)(478600001)(5660300002)(68736007)(44832011)(2616005)(486006)(11346002)(2501003)(53936002)(2351001)(66066001)(4744005)(7736002)(4326008)(186003)(446003)(14454004)(76176011)(25786009)(52116002)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2431; H:VI1PR0401MB2541.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: GkUBkAGLjsHSVGGkGqcgHpFVbv9DW3mymwuHrBDYjZDVh4jlYaf5jGp7Gy74fybefnIlvs1ASGPcMAmc0moA9O+KDBbeP754Ksp6Qg26xz3FXVW5PO5UJxb1IAI7zd+q1gv+7B74b2XFno84Dl9O4oq2mFy7vwFfBEuRLXP48NbIa2Z8NUOiwNduk9L3IVBIqIm08Ty6t/Ns3MWI7bB52rNaH4loy9PKjdO1X23I+gY+/5ZaYyw/4EAxfMlkwXY2Uy8CnRFgcDE/P5ELy29oTgUObeab0F91Dv6tNKlpS1/NRK5/2RDNPAwZiDv0yBzkkh1I2fmgWw3W7NX40oBic6/2+ajjwJZmGfaFZ8Eo9qHwRvnUCoLuY8FmCftDGdQ/YpiwGs10aIlv6ifJKs48+uDPuWHIKXNvyJQG9OI9a3M= 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: 27b87814-ac60-4062-d408-08d698b71f65 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2019 11:15:58.2979 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2431 Subject: [dpdk-dev] [PATCH 2/6] mempool/dpaa2: fix to reduce continuous print on empty pool X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
[1/6] net/dpaa2: add support for VLAN tpid config
|
expand
|
diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c index 335eae40e..da66577cc 100644 --- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c +++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c @@ -326,8 +326,8 @@ rte_dpaa2_mbuf_alloc_bulk(struct rte_mempool *pool, * in pool, qbman_swp_acquire returns 0 */ if (ret <= 0) { - DPAA2_MEMPOOL_ERR("Buffer acquire failed with" - " err code: %d", ret); + DPAA2_MEMPOOL_DP_DEBUG( + "Buffer acquire failed with err code: %d", ret); /* The API expect the exact number of requested bufs */ /* Releasing all buffers allocated */ rte_dpaa2_mbuf_release(pool, obj_table, bpid,
Changing the print to DP_DEBUG to avoid continuous prints when buffer pools runs out of buffers Fixes: 3646ccf0b036 ("mempool/dpaa2: support dynamic logging") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1