From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0082.outbound.protection.outlook.com [104.47.33.82]) by dpdk.org (Postfix) with ESMTP id 69F6D1BCFF for ; Wed, 4 Apr 2018 17:08:40 +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=ZWNj7ma4/3r4H7iwl482AZahAH5HMDHQm3gLLbdWCIE=; b=XhE0zGDkt7mRD8uxdrNox5fkTwV/xpTtS3Ge2xevBbAaKsB/7KCay7dJyjzPUFa91WID0GaV+1HxbpX7vVNjIz+Z5RBuTFtMMxWNwZO8TmciqA+yCY8Sd8AlF+QgMcqS8OMxfAAYQg0Tq2O9ezRPSFnZW0sCVnevwGJLTz79mE4= 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:08:36 +0000 To: Andrew Rybchenko , dev@dpdk.org Cc: Olivier MATZ References: <1516713372-10572-1-git-send-email-arybchenko@solarflare.com> <1522080591-24705-1-git-send-email-arybchenko@solarflare.com> <1522080591-24705-5-git-send-email-arybchenko@solarflare.com> From: santosh Message-ID: Date: Wed, 4 Apr 2018 20:38:19 +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-5-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: PN1PR01CA0097.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::13) To BY1PR0701MB1896.namprd07.prod.outlook.com (2a01:111:e400:51ab::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3de458b7-1590-48a4-0632-08d59a3df198 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:V8OR/9C4at6INeNNdIKtlsP0+2RITA9fcnAZ0Tz9gDda8fCeE/KLPm6Di2RtVVRruEMUWEQEVL3oq1G72B8aoB5Lj5EtiKwV++VIasEyHQ3qR1uQHUv0zPCvJoRQ9ZDVOk6V7Htu4eH5zbTKK4PD8Pok5l8bnQrpIZIJSNc1RV20W2eSL/tJ0xHiroPLGJvQWszBI07/v3Le8YAKnOKqpk3RBjxXZBQ4GkDzi9bPdjk3fbn33hr5/jgkC0OPx7pI; 25:OjEfuak7HUC0IZjGlU/v4c2ro50zz28P/9itip5uuoPX15prFUipqkXmA9lRMPSH0D88OSGTE9EG5YKtm/5khdoQq8WH3sQVSpMNQYlMKrff9GxUCCSQRxPFtbttUZ0fvqr+AK5oJx9FPgxdd+w/saVCfwS4awiPZWv0od3f8gOBDraMWoq6eGivYLa3sm7aQJl7teki4g9sfD55qNGIMGUwZlBR/Ee5xX4WoXISmDVCLwzi8ycwSFyzjuAIG669ujFIossnXPFlEqs36v248b7+yctYNdnpWudO6MDWlC9aomnUBh9p34y711S40ea8iQYNgCNTQAbghsV+QpcObQ==; 31:5lp2lYY+0BBasWuK4SoGj6fdamfu3UxJedB0VcVNUktbDN6rFAs0Izjcxv3iHbEyl7hlYka/sYyt76EVKdnxRPPvJMYMHo3w+8If2lLLsPo8llXe09Dh+f+9NbO5FEriKmaxwZp/rAh8/V8hTRnK0cYqUOe4ovrp6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-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)(6246003)(52146003)(8676002)(3846002)(52116002)(86152003)(31696002)(25786009)(2486003)(23676004)(6116002)(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?MTtCWTFQUjA3MDFNQjE4OTY7MjM6U1lMTTVpdnMzSktCSmZpNDRnSHU4c2lZ?= =?utf-8?B?bTk0TEtERUdteUwwbmhwTW1lMEtaMnJITG1hcDgrMSsvTXhNTlRLOXZsYkFt?= =?utf-8?B?Nm5JeVEzMEdSOTZHTkFUN1BPRjcxS3RrQjh6MXk0aTRURGNLdlI0QWEwRS9U?= =?utf-8?B?djZZSXlLVGpyUlRmaFMwS0R1Y2FFK2g0NmxQcWJBWE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VhxQEVNGb3D5CipK85zUyaYjTwJHdZF4C5XNrjHriHfKEezX08p7/JPVCaoMXhVjfq9Lf5RnCWrU8z1lJodEpnQNYDFIbnY5q0f+yuNdC2788huLk3QAsBn6FtaNGQcGLNgZGGIrWjGzWpjvizmI9eO X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1896; 6:FdPGzz/kaoMnNgk5J4lrOpGBVbJcq4045dLEq5hYut/kts87mvSNns4a6+tRUfNe17kg5oCuhlPUzYxtHwfcx2uvc0gYGB9cER7svCQFSdBg3Ro7B+9kfbv+v8aEVysc4OwQRYFyMu8M/yQoCrkhAQE2dRKEWsCXzYh9SpkiPuwG9mA2Dzd0d5DTxJU5jg4A8PWnhOdhq2bNUBz8IrftAh1VhS5yB3nwMkEU2vA3QaW8U4nuPq0e76JODzxJI90ygEE+9Jd6jBJ5QlUnO2wVNbi5Zz6CE2phRzBmelNk0JHPqvMoDXlAFwYuUbyEK9YkT6EAx66CFX8K/b4JoozMAzK/kbo6qZ9Wm0366zSnHAXWoWUsnjCJaRpXscgtAI+//5tUsEC6G8zGMJFxuuXg4LKKkWDzBPIwalTAte+cIN8+/CYodFmOKN0brtkf00EE68orYm4Zp1J2kIM6P8hTIw==; 5:XI2GFXuS4AohWLK2/LQDr+gphhxmZ1+BE60fREp1lreC/xlMTjqht20B2HdWXbXDKUYmmTuh6x/LEOplmQp39apU1iEQT3Fo9pQ0Xgd22aq/CN+1Ug1haUOsumoCN+bCJx3rdVQ3gE2PypY/9jS95AiZgsRtro66t1oawImKU+Y=; 24:L/9AtiguH45JvopAwHAyN1ZkFRFjvzAKnztLSfK+BwAdADjjDVU0XxQpK26Ns9SbbNff6PnV/Ccryd7AbdSDaTqnsEemDY9aT+z41VCuPyE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1896; 7:MMwQ2JnIsCRqs/xUIGbbUqCNt2H17iHW0Egf/s0a/d6kwIEcgG4NqUajwwlrr4f9c6UCIiJCzB3f9M1TFWklp4s13pt+2Bv0wxIpPx8GRSprp9IRKEYfIE4Psz1Ay4m2Ch355yQeh0sGXc1ceSc2GhRrywIwRgkPhVIUptyq4DiU9eTkCE4tV5XD1hyg8e1Hd1VpbcJxG6/nODdo4M7DDAyjf3AfN0ZeoL8e1eWhD5SjMsOl3kG1QL1OsdspJ1nd X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2018 15:08:36.6309 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3de458b7-1590-48a4-0632-08d59a3df198 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 04/11] mempool: add op to calculate memory size to be allocated 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:08:40 -0000 On Monday 26 March 2018 09:39 PM, Andrew Rybchenko wrote: > Size of memory chunk required to populate mempool objects depends > on how objects are stored in the memory. Different mempool drivers > may have different requirements and a new operation allows to > calculate memory size in accordance with driver requirements and > advertise requirements on minimum memory chunk size and alignment > in a generic way. > > Bump ABI version since the patch breaks it. > > Suggested-by: Olivier Matz > Signed-off-by: Andrew Rybchenko > --- Acked-by: Santosh Shukla