From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0067.outbound.protection.outlook.com [104.47.41.67]) by dpdk.org (Postfix) with ESMTP id 852847D4E for ; Thu, 7 Sep 2017 09:49:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=qLa52paLxfA8ICIT/dqv3wxQvnvFKapx2MQ2VUSkaCA=; b=e5RkwpQvwA2aLMes1VNvLTNfEUQhlZwJTW4NkRZImk15RJXD30OBaNlbO6+Dzr354Qt8UcV+hrNvg0UdcpNfoYAU1rdEiMqHNud8YAaC7lFq/G/Uv/766fTxjVdzoAhu3fHjHLRBiG81vHmyk6HM38up6eTjlvfDO/0lcxitv6I= Received: from [192.168.0.105] (103.76.56.167) by DM5PR07MB3097.namprd07.prod.outlook.com (10.172.85.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Thu, 7 Sep 2017 07:49:48 +0000 To: Olivier MATZ References: <20170815060743.21076-1-santosh.shukla@caviumnetworks.com> <20170906112834.32378-1-santosh.shukla@caviumnetworks.com> <20170906112834.32378-4-santosh.shukla@caviumnetworks.com> <20170907074646.olhbcfkw5tovu7tp@neon> Cc: dev@dpdk.org, thomas@monjalon.net, jerin.jacob@caviumnetworks.com, hemant.agrawal@nxp.com From: santosh Message-ID: <6a63a11a-31ba-9f52-cc87-3abc2db6e170@caviumnetworks.com> Date: Thu, 7 Sep 2017 13:19:32 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170907074646.olhbcfkw5tovu7tp@neon> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Originating-IP: [103.76.56.167] X-ClientProxiedBy: SG2PR0601CA0004.apcprd06.prod.outlook.com (10.170.128.14) To DM5PR07MB3097.namprd07.prod.outlook.com (10.172.85.7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 412369cc-85cb-4407-7da3-08d4f5c504a2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR07MB3097; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3097; 3:nk4Z51VdY1a0fvHFhH7Fh4UmEq9kBfzoY8y6ds2aDGRGGhDuEeF3etqHXD8xhoZ1IRXI76msZlUotbLAb6pHynhWHZ8sZXrxO0oce1CPJNE98MXxfNoUAZfyKIrFGtx7gbhAwFyZMKhnYHKQhFeyytZBuVQ4Q2Q+XJtAaw3LcMW/LcVNLGNhsuOKCiuLGREmf4/FKyjIWqGNi+GxiHxs/8DB3mV/ic7uiYfmPJ8A0EXf3oxKtI0hhwMnVnLipEhq; 25:JqeJIcQKD6IO7fVKyZ612U/VqIBOsiP59N9W7DfSELwnthyAftTWkvZ8xS7xuJ8A7CBOKwwKD38L+T/iWQgF/f2ognqOvo6rxNTa+lqs7v37v5qoA3HeQ/tRWSGb2Lp3rUG8FgYzKYBSWaRFxuyUjPcP5W3fFpR/R8ooGVQh5vDsieYZXTHGCD0T3OWh+9MBGxoHahCjn3wSftDj4rTKvLcb5TcMxC2y2KEL0poUamOcsffjvoXXm8CvCCc9KIfNjR5bU3bD+Ouk5aPdbKR9FiIXL5KCmVZxZEbBd6NCMKwEHdFUbrC6UMlveEP2OHiXVQMIYdvQkhLgUJeYscW3TA==; 31:VNKlBnCGiqYxlDjzRTystZgVNv/lOJh7HqgxS5ZTQ6Y36UzWpZbbE4RMAYBqGku7LePOiKJF1UWNlpYZqEF2+9S9v52j9N0FE18z/MFVcPwEEUyvqSkKkPqDKcnxNrUD7iwp7cA5zsBt/j8DAKTp2eBWm6ZjnVLI1Yhs3VqacFPB8NUhNx+bTDPc0muPRMjE9qdydWeF5VWANEkpHn+qfEnd6gLieAQFd4u4QUDX8yM= X-MS-TrafficTypeDiagnostic: DM5PR07MB3097: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3097; 20:QFbtmaJGRtzEk+tA1VmRwXoWoaxH4TSPnNIbmzCgnqZVAGu77wtdTm71kCrkjpWAbBGOpDTu9Y8G6sT/zvqGFhU6e+IKRfPI4Dld1a8G8BpVFLUuVUeCwdNwGz53C72jeXllYiX/yf0CQN/Ba8dZop2o8S5xtkxzlGI8SV/y4qpS7EGnUmZppxk4+z7YKsFyJCCl4Mj2EaE70rqmQaJIgn84XaPTzwhoDJ1s8UpCHxsJTHKLr8Luq90/lCSfQuBWlYJwLQUn5xR1XaBCj0cWlvdoDtIwFNMGpak0iLrfyyPx9jVxCHNFAbM3fvd1Jw1w/he4SVwQHRdXe41JQEe2UR52yp5b2W7TR5fMd6j5NmVM8tvw1AUMbp6cYQIXLVOLNspiJhu4ekyc/HeJleUl7u1gbaB+vwRClD9UrH5w++pdvzzEREtHSqtr7Mdg+IOy7218kQ/0OC0Fy5j2W0HsDwsWwmDQHDx9rOh4FMql9/xG6JuoGHwnd9Xdtj5NoKJSKNx3ApDbn2CcV4XL49vT9TkZBafPLxdcXV4BzDvWLEygVTpU6ewMRJ37w1zZvD9lMYyMfG2ywvGDz4/g6AJx7CwqDNaPN5eMlf3t8zj1bmw=; 4:RK3v1oV0n0bfR6FBN0Sa/u2r6eUuynaGKBuBwVQdslzcg6A+KjmABcSqnGdFjj9IkBwo70I+C8hww6gpaz2scgckI9TuRNjo5BmK49PYgR8CsUOdAwl2tB5ivblfkjQ3G6ReA0hemoPGZvcMdLZcUr8PUuptcUJddcM1JiuKhFn82qy5Iod+3g8mqwt6zj33lD6hhYnNPMvGBQrxViRHPNb1k1MOH8V6INtx/d3jzC40NOiuGkB8kgZq5FSyTf1FBERMXz5fQjyZ/aNVbQNXToRJ2MKeXtceCZ2DrP0yVPI= X-Exchange-Antispam-Report-Test: UriScan:(131327999870524); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(100000703101)(100105400095)(6041248)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR07MB3097; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR07MB3097; X-Forefront-PRVS: 04238CD941 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(6009001)(199003)(377454003)(24454002)(189002)(64126003)(7736002)(305945005)(25786009)(65806001)(3846002)(66066001)(47776003)(230700001)(117156002)(65956001)(50466002)(6116002)(65826007)(23746002)(31686004)(68736007)(31696002)(33646002)(106356001)(4326008)(93886005)(8656003)(50986999)(36756003)(478600001)(72206003)(6666003)(110136004)(105586002)(83506001)(53936002)(4001350100001)(42186005)(97736004)(6246003)(77096006)(8676002)(229853002)(5660300001)(81156014)(81166006)(8936002)(2906002)(101416001)(2950100002)(86152003)(76176999)(6916009)(42882006)(189998001)(54356999)(90366009)(6486002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3097; H:[192.168.0.105]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; DM5PR07MB3097; 23:TjFvw80TBYtYWSIl0lFk6WwCQqghkm60U3i7k?= =?Windows-1252?Q?YTUmZ642j3eBc2oFzwAs27M5a325VBW1/vNNp0Dac/eIC7Xqi1Fe/KLf?= =?Windows-1252?Q?yVRVdN+1DIFzYGEloVlBJ1C44Xo76DOlpZkQbPEHymW3+b2POtwLvgjj?= =?Windows-1252?Q?ohlI1WmmaO9l+SS+FF1likB42ST1Wv5jyCwa4gDNNvrw289dMMmOmzvk?= =?Windows-1252?Q?4YcZW+tnH9GUvrGBc37q69KqNbNU4BNiU2B2Ga/uvsBgOJ528gb3H5Mw?= =?Windows-1252?Q?/ljJxZFX/gwiK2MqCg3wxx7vN8fAYOz4HdAMZWss6yEM7yhaM/i62onL?= =?Windows-1252?Q?aoCz9ksoqKFTkWSgeJQbc1jhwAiHarMEFU8fJDcofVWH9gdgRg9W16iV?= =?Windows-1252?Q?o/55BG6wMCAEIA44yWM1cEIIbdUYMLUvRjUNPhw1gzSwwoP0DIB38oJi?= =?Windows-1252?Q?A856dEx5Wh4oO5/ahs+xon+s1925bPCjrXCqWfiKGWr88dPwWrxplKTC?= =?Windows-1252?Q?tjNFMqkBIpwg90IosUI1lDLJtsszehFQen1gpRTDwhI3zKP1OArYp/ik?= =?Windows-1252?Q?0CYxXIl174FSlwRfBK63BQjT5i+FTWsGbhNaT4rHW9AUo0WX94MK/95/?= =?Windows-1252?Q?cjfIvpkIwOQb/V7CWxS0szgtv7eTIuJzsp5HrV0N+qMTO+Mp8r3qtGSY?= =?Windows-1252?Q?iAoE83Gh/sNHbekMK/1e4ERbxi2Lz5Fm96tU4DGaoGvZiT9s2HdbqEMb?= =?Windows-1252?Q?X+7bBU+4FhXKuau7pPQa4myTXfvtxu882rLnOAyRjexZtfMjXoeFgHGJ?= =?Windows-1252?Q?Bw1qKf9+BtrmGyhAosn3wUoZyZSFRXzQhfAbejpH9xh72psMcdloNTUd?= =?Windows-1252?Q?Hoi+itNiQujQY8/N7KK1eYJSqPLBJIzep+AaaMZo4OCd/v9VvVg3fqkH?= =?Windows-1252?Q?kfiqm/LcWrFnN0jOAmiTKDFjtugBxMyTswIsUiwsHR7GGu9VS37QqAX4?= =?Windows-1252?Q?arPFHg5ZAyAMNY2pdlUWfwN22k4+2I0Od3tNj0S7O980JK5QqjYny8mS?= =?Windows-1252?Q?OB0Htxm9xIVk40gnbv/wDGIpMPrnuzWwClq6iKZSbnJRCL8gvOOfY0me?= =?Windows-1252?Q?udxsGfXqxAQ3rt88wj4GXbeXGR4vaOH88P2OU3Vpa6/RSmbpBefh1J2F?= =?Windows-1252?Q?iP1E9oSiWgovcmN55m0iyUhvzWo1stMp4Xa2W2GFNsRMDGs1zHA5GJR8?= =?Windows-1252?Q?fl/HfrWFLVD9IjqkNR5p973U2nGoKW0NUcSPfwvLmAIJCVNu3o4IsEWI?= =?Windows-1252?Q?ZYhqIbksPfbZnwW/7WLNghg5SeX9MTCY5EEuQA9HHAvaabQzlE7P4OMi?= =?Windows-1252?Q?Cdlr1yqazDYnZLNEFPYMHmUwpPBMeKzxw1hGdryk9JoK2bKzlNC6shGH?= =?Windows-1252?Q?7gKUqnV6Sh9HFGhgOZSq4psWexOkWMI/2k+hilKiw2CPTm11/PcYXERX?= =?Windows-1252?Q?MxNmV7rtTLN4AUHqcicISd02wEL?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3097; 6:7lRFed/qgT7H4HIUOlTkcf+HbrSIiENsneqdw26NkvHCZ5qEvgUvlSSvFtIMDidoSX7+sh9744sO2FazsBU3woF3wR9JyECynVqcbkwmwmv8KctXkg0b6EGBrQJcMkprDNhMFfhswf/Ba03moC0wcNBT2LZ9FdfT1WX3Sp1wij/+tPFWeZFYZ2Mw6KVmL0BwMihDl2MLutPiy79o/iVM5YQLLrXOwnlLsF/PJUymEFQFjMTb4K7J2ADy6cRi7oQsCfW/D/F+/OyHz099u4Hy/vab7UKZNpyWf0tOq/ZUgc9+nu7uaGizqNImQD4/Evpy3KVQ+gmK13Za32ssAahYcA==; 5:P8VhvDTV7pj0uWpP9HzyjNK/lmTvVHrsxblN+Tgzjfw3YqcfXWQL7N3IXX1Zmig9iBu8nccVNqQe8WHBvYbMzYJoE3UoggC2IxoqDgngGWL2TU1qsaeC7eC3v1q7M7p/R0sWg0ldLWWv7IFtg07e9A==; 24:x1bxo7TAQXrUO7wyw8RaB2ox7P/yRpPmJreGzXhaiW5+LLvCBh+8tGtkl/83BW5kMV7id0KTw132YHU6X8RSPfbQgTJm7199Oo0y40uERro=; 7:dbvJfor+qU16Q52Ioxist+l2bz0XZn+EMozWs4jr/ivcu/+6mg2MtZmteJ+gXRFjQEJ7XY/As9FZR5qTRb4Mkbfvmj9k2IEAmSbNX+a67RnHpv/X6vJ66eoanPtWV6/p2ZkjPL521ZaQFnPPsFVr4XEKuoVrPsR9AhIngB58ZvxhXG/NEd472XiYr8m2gyCGJrL2xx9XJIW6anci3PyB6eMqnJalhBC3j4JnYIBrGaA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2017 07:49:48.1827 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3097 Subject: Re: [dpdk-dev] [PATCH v5 3/8] mempool: add flags arg in xmem size and usage 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: Thu, 07 Sep 2017 07:49:52 -0000 On Thursday 07 September 2017 01:16 PM, Olivier MATZ wrote: > On Wed, Sep 06, 2017 at 04:58:29PM +0530, Santosh Shukla wrote: >> @@ -1503,6 +1505,8 @@ size_t rte_mempool_xmem_size(uint32_t elt_num, size_t total_elt_sz, >> * Number of elements in the paddr array. >> * @param pg_shift >> * LOG2 of the physical pages size. >> + * @param flags >> + * The mempool flag. >> * @return >> * On success, the number of bytes needed to store given number of >> * objects, aligned to the given page size. If the provided memory > Minor typo: "the mempool flagS" > in v6, Thanks.