From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0056.outbound.protection.outlook.com [104.47.33.56]) by dpdk.org (Postfix) with ESMTP id 25FAC1BCFF for ; Wed, 4 Apr 2018 17:07:19 +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=hYmHbSsN3Crn1d18wiBLohm+lWEPeN2lM28T3269ICg=; b=hlD9H8WPNCpgaTHkMldktEYz+Ls16ZBN4cU8PwEnzGjuxLD4C1JbjQAnqUIeQgqDj+fpp0taLR40b5QK2KCj9m1Gj0AvXlyw/qlUn83JoLyqAtWGQquI+OvnZHSyrYBolTeUHmaIlHMk07zZagcM0XeeHvgwBx5Sk4HO+JGkr2A= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from [192.168.0.106] (103.76.56.167) by BY1PR0701MB1896.namprd07.prod.outlook.com (2a01:111:e400:51ab::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Wed, 4 Apr 2018 15:07:10 +0000 To: Andrew Rybchenko , dev@dpdk.org Cc: Olivier MATZ , "Artem V. Andreev" References: <1516713372-10572-1-git-send-email-arybchenko@solarflare.com> <1522080591-24705-1-git-send-email-arybchenko@solarflare.com> <1522080591-24705-4-git-send-email-arybchenko@solarflare.com> From: santosh Message-ID: <15c2e9c4-6cbf-21cd-0bda-ff3d9ef529c9@caviumnetworks.com> Date: Wed, 4 Apr 2018 20:36:55 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1522080591-24705-4-git-send-email-arybchenko@solarflare.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [103.76.56.167] X-ClientProxiedBy: PN1PR01CA0115.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::31) To BY1PR0701MB1896.namprd07.prod.outlook.com (2a01:111:e400:51ab::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 57d79fec-fcb5-4cef-f1cd-08d59a3dc0d3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BY1PR0701MB1896; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1896; 3:vSJ+S4vNs08Th1t66b8zxcC8qbgJobSDBGSeswEKRwK33CuBnMjjDm20vGK6XSuLy5TJxsDMKNTXT3X5cgPERQVjma96CmHzfCHY0megn8m+sFeieF8JEzSTYBtdsh1xmZm30CtlDRwRboRe2cf1GWItAf0rrgu+nGi1/KHlS80H3l+Dfhn6MmtQVxXbVOfnOAZGDO0iTvKgCUiVLjA2DFKorSZ7B8PXRXuqoMttlQ82SBCJtI7vWAdu6AaaPZQA; 25:OXXzI2FHmmDVngOCuSnKf3XeVctWNZhHL+S4ooe+1ESuKGddRewFQbhVRf35TiD9TxbG3imRqvgsKcUmlqLrr1bGzToxZSZYPOwAiNVCcKBWP6t5wSdVc0rQ2qm1tVJ4YWTbvm9FtZBXgj/eRuCvgMyleaanP7saYb7ot/qM5xbnBz2vLc+GGSlkukeCuKYIfIGFwlVdRf1UidiBFH6j3kBK9Mjnv0a7e7ZJbjamy/EG9Y2OU2g9edns/xL28bWRqrU2J3uI2eHiDaE6PtU0UV4w9ygdJWQgvdNPAjZ/8NHbhaEx7HZ73gMMuOiELslrebRKJ0TzN/x6CW+OGMnyrw==; 31:qFaNAsQNIvt8V6XX8m9P39uwhE1RzTkk5/aWRGxmA/1siAVRZf1stGcK3Y3gbFEhsKOyDMh4V6UlBbRB/ruoU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gEH1zbD+8bTaT9TOm10cE8ZBSfFQ8cE420K6gfA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(3231221)(944501327)(52105095)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:BY1PR0701MB1896; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1896; X-Forefront-PRVS: 0632519F33 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(366004)(396003)(346002)(376002)(39860400002)(39380400002)(189003)(199004)(6486002)(478600001)(4326008)(230700001)(76176011)(54906003)(6246003)(52146003)(8676002)(3846002)(52116002)(86152003)(31696002)(25786009)(2486003)(23676004)(6116002)(4477795004)(50466002)(117156002)(53936002)(229853002)(64126003)(81156014)(81166006)(72206003)(97736004)(65956001)(476003)(16576012)(105586002)(47776003)(106356001)(11346002)(68736007)(36756003)(446003)(31686004)(2906002)(956004)(2616005)(16526019)(65806001)(316002)(58126008)(386003)(77096007)(26005)(7736002)(66066001)(65826007)(5660300001)(6666003)(186003)(486006)(305945005)(42882007)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1896; H:[192.168.0.106]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTFQUjA3MDFNQjE4OTY7MjM6ZjVraXppcjVaWVRuOVB2SmFpYWN3clhK?= =?utf-8?B?Znh4ckRwWHZLUjBZSHNWdGZaVE1CdzU1TzMvVWU0QXp6UXoyOVB2SXBSQUhZ?= =?utf-8?B?Q2J2bGNwYldZMCtrNU9TQUU3QkYxUXVxNTZPSVBmZW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f7S8iA/axc7XZ0QjQKlXsmJkAjKk5GixxzGg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1896; 7:oJFqmoc+hjuwtxUmDdzf+WgpFZ4uOcBWRa5UgSeuC7QtOntZCintllznK5KWHPsxWG6YhBRsb2PvkWiATfk+ojgPTUytUfqNY0a60sJz1jjOXbaF7Ir9RtOttn1ShW6+mFqPFbvVPnTEvt1vMdH0OOrFbfxh2z3wQHmUz4XPmA60np4qjU2AZu4h1+pBSsl7OaYJbySHggj0q4amR6Hycoaq6nLybmke9eM3qutCj0tKJxN0bigbrNNpCPqzImUQ X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2018 15:07:10.8932 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 57d79fec-fcb5-4cef-f1cd-08d59a3dc0d3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1896 Subject: Re: [dpdk-dev] [PATCH v3 03/11] mempool: ensure the mempool is initialized before populating 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, 04 Apr 2018 15:07:19 -0000 On Monday 26 March 2018 09:39 PM, Andrew Rybchenko wrote: > From: "Artem V. Andreev" > > Callback to calculate required memory area size may require mempool > driver data to be already allocated and initialized. > > Signed-off-by: Artem V. Andreev > Signed-off-by: Andrew Rybchenko > --- Acked-by: Santosh Shukla