From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0080.outbound.protection.outlook.com [104.47.40.80]) by dpdk.org (Postfix) with ESMTP id BFC231B1BC for ; Tue, 10 Oct 2017 16:17:49 +0200 (CEST) Received: from BN6PR03CA0002.namprd03.prod.outlook.com (10.168.230.140) by BN3PR03MB2353.namprd03.prod.outlook.com (10.166.74.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 10 Oct 2017 14:17:48 +0000 Received: from BN1BFFO11FD022.protection.gbl (2a01:111:f400:7c10::1:109) by BN6PR03CA0002.outlook.office365.com (2603:10b6:404:23::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7 via Frontend Transport; Tue, 10 Oct 2017 14:17:48 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; caviumnetworks.com; dkim=none (message not signed) header.d=none; caviumnetworks.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD022.mail.protection.outlook.com (10.58.144.85) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.77.10 via Frontend Transport; Tue, 10 Oct 2017 14:17:48 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v9AEHjjw009158; Tue, 10 Oct 2017 07:17:45 -0700 From: Hemant Agrawal To: CC: , Date: Tue, 10 Oct 2017 19:47:11 +0530 Message-ID: <1507645031-21774-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131521186682931218; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(376002)(39380400002)(39860400002)(346002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(50986999)(104016004)(2351001)(53936002)(106466001)(69596002)(47776003)(105606002)(54906003)(316002)(2906002)(16586007)(6666003)(5660300001)(189998001)(85426001)(5003940100001)(33646002)(50466002)(68736007)(48376002)(498600001)(6916009)(356003)(4326008)(50226002)(8936002)(97736004)(81156014)(305945005)(77096006)(86362001)(8676002)(36756003)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2353; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD022; 1:CTY3BWzgz/9u/94+1Rq4jKef1uUTuFoK1EUzIpvucz+FlCCu9r/siO882wjmVxRSVeF34lqAsfQEyRCjaFY8Elq++DdoQbWee0oBdAIFhd0XOZ1uPhJLOTbhMeEx+r6Q MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 13a8cb7a-e220-45ce-26b2-08d50fe9af21 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:BN3PR03MB2353; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2353; 3:EUwVfFiLvcmaJWkNS6ILdtT44AncyhVIlZvyQJ+aposHEVj2tkLlcugadx7EABcYsMmHMoaHiHJ6K53aoxN4XIfFmjyg+YU8oAhRzpU7364BgVnkFLj9fLJNfQu8dvRN87jXjW0P20XY4XxMq4GnlEcWfotPbFsl2pUXNSDQeDzFCR3G+rZS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yXjUSJU0xA7AfmBga2W2DtmFiTQIElVbiqXFCNMOnLEMWxREeB4iXg= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123563025)(20161123561025)(20161123565025)(20161123556025)(20161123559100)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR03MB2353; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR03MB2353; X-Forefront-PRVS: 04569283F9 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2353; 23:q9ecBBKhGrT5qABXjRLKn8HEoUzEkhqjQC2QVTUaU?= =?us-ascii?Q?S0X1FVZYfuoGGGEuC+dC5PMWQXD6UioPnOYR452o4lY8echLnNtwkRz6oN7C?= =?us-ascii?Q?r0EvdjQ42YLT18ieQB/FenT9ayo6PpOZYrgqmEDEIzPjt8OYVZp8obvutFDj?= =?us-ascii?Q?hIl2db342/yeGCHR0X0pyXXx5nfsTyJuigktuUftSCHgucvdnrdmRShgGwva?= =?us-ascii?Q?6VIAXLCwvXooNTSFd8mXMDUcrQwStIrHxo1JcA5tDiqllTrR2mJFLmgCmHPx?= =?us-ascii?Q?MLAWk/LVOtk/7CRzqajGDTJgmgndxUVE4KcWYZscXHlWI+n3tCM9Vaqp+q39?= =?us-ascii?Q?xFkX1+sGHrqRu7RKC0nleOJqcGR8YX8F9ITqRSMZK5IPx4BBAzujRCxAfsgf?= =?us-ascii?Q?8JLOhb7BSxI0dByxAgMqi3PTdLPz3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HAJjH97fMZ9pWjXhELEOravZ8Br8OIwLCf6st6HYYY1XqlMegPZb2EOF4fgr+7K+NQrEDK5sD3hIlUdk2b/a/XOWr4JYnGUc82n9sSdFLJPTqds0szyVW9/QeGQy4KIoPDzI2Em5AAPmGV7uHbIjB6x6vaVCinMoUVE7FbAyKMZxg==; 5:FW5vLz+k1XSpxOT05PJ4ttA96p+CLwHpguGTB1mTpyDDJ8vY19rhuEc2oR5uuTnt5sbHVJM4b91ApG9RDzlVmL+iNAtS34Y7nzyXSnYjnqEsOlpzYXCsxEaTju3UOi67Cqjy0pWSaXmQWGWvmDG/NQHms9csjUXKCy2b0BX1YW4=; 24:0x4WAcrefpwUzaDceXmnHaXAfyj42epDoYN6NpP5saEIqYWNLKQ8AbFmM0gHqGIBdzVaR585RfUH9zkkEm5YfdKzLds1miBuRGDjtzJPUVw=; 7:d1/IwuGAoFtHbMLUKYdaRhrnMaB8LfbL0eacde1iYQSbB4by0q5aZ3jIyG5i6vEJViFRvLdfHRJfJ2Lu+FeUJC+000nwQnEdrT8TECGptew/Vd1suSkCjXw8IhEW2AYgHA6mNtbEnCM7VtxN2goUdKnUmggXtohn9+EbuZXatUg29Jx4AIKNut9Yo92ub7aj6MOhCzVt1VDWivXHmvZKnZyx8LipNtH5Gxpd9l8Kp90= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2017 14:17:48.0591 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB2353 Subject: [dpdk-dev] [PATCH] mempool: remove get capability debug print 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: Tue, 10 Oct 2017 14:17:50 -0000 This is not required to be printed for every mempool call. Signed-off-by: Hemant Agrawal --- lib/librte_mempool/rte_mempool.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c index 57a4f81..6357fd4 100644 --- a/lib/librte_mempool/rte_mempool.c +++ b/lib/librte_mempool/rte_mempool.c @@ -559,10 +559,7 @@ rte_mempool_populate_default(struct rte_mempool *mp) /* Get mempool capabilities */ mp_flags = 0; ret = rte_mempool_ops_get_capabilities(mp, &mp_flags); - if (ret == -ENOTSUP) - RTE_LOG(DEBUG, MEMPOOL, "get_capability not supported for %s\n", - mp->name); - else if (ret < 0) + if ((ret < 0) && (ret != -ENOTSUP)) return ret; /* update mempool capabilities */ -- 2.7.4