Message ID | 1507645031-21774-1-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Accepted |
Commit | e9508b64cadf091cf49bd128ab625b4ea68b3888 |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3810157qgn; Tue, 10 Oct 2017 07:17:52 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBfAqOoW1MMoBPtVBqwvBWbyjWMWMOcHrWkug1tHDRc8uv4tPj97Ynr0+AX6us2YzQ4xiUu X-Received: by 10.223.139.12 with SMTP id n12mr11890476wra.223.1507645072492; Tue, 10 Oct 2017 07:17:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507645072; cv=none; d=google.com; s=arc-20160816; b=AfMlz9A9W/KA+0ryym3xS8V51caJsh84OtoapngRyokFuv+qCj6ZFSEAeuqzw0SWeX z46FEjD8JpUAM6ot6TrlD1QKEMsM9oUZd+17VhroG2HKNIdJnczk7l//pOf6B7yky37b gYa9lIAT9RJDkbWqiyfRHEPjcMMfWRDfHpz6Osv/avUQgMKXXUag/rrcaLD2+JjRwKRG 9eSr7aglwgZ6ODpl4WhSkGPC1lgKRMiZ1xkLo5Nf+wCMinwXOTcu9D3Rdo3TltYx8kPN BY4581v9T9lW+59HUc7+FExoa5W8ExeLifk1/De0w8UxwgoKpvSleFm8xH3qwySrZDua 7GhA== 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:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:message-id:date:cc:to:from :arc-authentication-results; bh=h+C5mp9PYAMTYlVrHXLUTIGMxns5AdljIXU7ZHyEDRo=; b=GvGbt90XuVfQQLuX1VZ5c9yP0JOwCTJQRs0WC7Hr1SHd7XL5CUAW1Iiqq8ZjR2dFRx EdDfPo2D9ufCUfb3HU1O4NwSyMFQB9zUqGyp1a3KGeQaikltAnvx9TvwOgwK/Z7EW3Vv /86aG5LOfEEe610a91zZG/i+5BYUuj9OZ6M5BLdoF+EGQ6Xm2pkyqL9vCOEz7d5cixBR y9raKjJ/7xc1R3/T4zYQpY0RKQ85qOxhgkGFVERvsi2a7pWeX1jP8ei9wOD3ruYSBB4F 1QTdONBTg1Pb2joNMHquTL7SmxAKPuXZigWeROosThQPJNxlmCCakZemUk/5dgO9vzq1 FQuw== ARC-Authentication-Results: i=1; mx.google.com; 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 b20si9090872wma.41.2017.10.10.07.17.52; Tue, 10 Oct 2017 07:17:52 -0700 (PDT) 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; 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 30B481B208; Tue, 10 Oct 2017 16:17:52 +0200 (CEST) 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 <dev@dpdk.org>; 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 <hemant.agrawal@nxp.com> To: <olivier.matz@6wind.com> CC: <dev@dpdk.org>, <santosh.shukla@caviumnetworks.com> 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+rZSpXqRMQUWcn03338sns+WDzxWYr0AiLUQ5CaiIfrcj13fBOrh8xo0GxMFws7BcfGcq73oe+nxJpXQJp2F7sp871VIZ91vdv1HhyIGCDXyTgLSr3qDv0V8Nb3AWSGnAEfWMj+dGk4sgTIY5ruWQIVDxwtLx9+2dmZfI9Stxy9lltknnM8MM8YlRu8=; 25:/pibnnI//ml3ZFI6Tg9Gss88gczpAg6EfG1Pl2nHYH15S7GU53in4LchytyheIlza9GgkUPcMQT+WuWnDHyqrd02VJT1hjLJDfcR693dWJ7OUCYDNh0R3p/ZZrzjF9nnTkUuiN750rdQ9SCpOavjLZA4aqrZEbqW+LDnZrT+eAq1Z0ZakeDP7l1ti3MYh50FN730mB/BheOgKi++7jETwwFOPQAVJl3XHQKqpBQFTYKUeU8qMznDe1js6VYMJnNrE5WcmNEC0WheWT4DI+jJxpTXXwQNtbYCnte523s40Wzz+Dwnc/EAxTNesKKBTGjYSG90FH22weP94iJLY8p5VQ== X-MS-TrafficTypeDiagnostic: BN3PR03MB2353: X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2353; 31:k9MwbQWlQUVOSodT6zuez3FdvNDyWrQnXaoE+JtUumoL68CdRsc6Ms56D9xdmZuSNi2wvMUqsQ6V3pdohKHTk5oLb9I8lPq+jv+Amf+UrM9YIwNBVp7d+t9KrmAY8fnrNJQN0WMJzcw1EjKGxYWVeT/zicOFPDjz9zJCBjV5hHf/vKrxPBvqweYbMkFvaso49KP5ubEPEeAKDrt7tLSdyWDjP56/JpCV/czAwxy8Jzg=; 4:BG4fDEkRGubePK0KwHH6E/MEcjP3sisieP6aW9OMKPaI4EJJYdpLyIIuWTML7bbvE9eyIdLqYX2wC37j5mkJADmIDbMEtZbd5HnUoMO14wSH589ewiAPMT0GGuq4wSo2zx9pPFpXli7VefLbAqyE4fIevhvGzKhkqG1Ai2aYqPL7c/iEIOxIItij9i6+Y7Fuz0I5iOuY5cYgtWbGe6J3WPwD0RuuFscojJR4n9cwubnXQ2bejodHvyXjUSJU0xA7AfmBga2W2DtmFiTQIElVbiqXFCNMOnLEMWxREeB4iXg= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <BN3PR03MB2353DCBC03B5A3D46B5FDAB589750@BN3PR03MB2353.namprd03.prod.outlook.com> 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?= S0X1FVZYfuoGGGEuC+dC5PMWQXD6UioPnOYR452o4lY8echLnNtwkRz6oN7Cr0EvdjQ42YLT18ieQB/FenT9ayo6PpOZYrgqmEDEIzPjt8OYVZp8obvutFDjhIl2db342/yeGCHR0X0pyXXx5nfsTyJuigktuUftSCHgucvdnrdmRShgGwva6VIAXLCwvXooNTSFd8mXMDUcrQwStIrHxo1JcA5tDiqllTrR2mJFLmgCmHPxMLAWk/LVOtk/7CRzqajGDTJgmgndxUVE4KcWYZscXHlWI+n3tCM9Vaqp+q39xFkX1+sGHrqRu7RKC0nleOJqcGR8YX8F9ITqRSMZK5IPx4BBAzujRCxAfsgf8JLOhb7BSxI0dByxAgMqi3PTdLPz3ag+OfqJ5kR4MP7szYd4z+k4tqTHyjeBx4VLD2SnGsRRhwaCH73C3S0ww+JuVTw52K/2EOLcGYrWWW7HxI1e1G6oz7VRPte80RPobp1l7nZbVwPYv7ciIAOmJwlvI55QYsccytHSwKvrqzIoPxx1hWkyfD6EbaKIBgyXh5VdcMlBSXOKfjqFGm3tLtrEI8CSt3AEgomgro5+wD5JLyVjvdMnckDw5/1yaUIfwZCUgFZcrNvf0XlGZ7KhtroVll81BPNY9S2N5AM9ZL5LcxTEX9DBrDSALKgCcpE8FIiGzb6M7sz0xJcrVGI7e9oEGlV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hrnMaB8LfbL0eacde1iYQSbB4by0q5aZ3jIyG5i6vEJViFRvLdfHRJfJ2Lu+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 <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
mempool: remove get capability debug print
|
expand
|
On Tuesday 10 October 2017 07:47 PM, Hemant Agrawal wrote: > This is not required to be printed for every mempool call. > > Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> > --- Will print only in debug mode though, But ok with patch. Reviewed-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> Thanks.
10/10/2017 16:28, santosh: > > On Tuesday 10 October 2017 07:47 PM, Hemant Agrawal wrote: > > This is not required to be printed for every mempool call. > > > > Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> > > --- > > Will print only in debug mode though, But ok with patch. > > Reviewed-by: Santosh Shukla <santosh.shukla@caviumnetworks.com> > Thanks. Applied, thanks
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 */
This is not required to be printed for every mempool call. Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- lib/librte_mempool/rte_mempool.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.7.4