From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0069.outbound.protection.outlook.com [104.47.36.69]) by dpdk.org (Postfix) with ESMTP id 130511C71F for ; Wed, 4 Apr 2018 17:11:14 +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=VtanfdbCDY6flG+hKTD+ZNe7mjeNTupMLCoMZjNqHJM=; b=PHG71BYA8WcnWHW3LTHVB6Hdf7Tkj/V+AaruQKG5U8SCGBCRaHzRgnDfABx1KeeSDxmvTbXIkR7XgghYc99ANwWNVHyhCewvNWnj5yG8LWiq2JxacdMeVRIcxymPwELyJdEFVFgEO1ECs0hc72PRFLMY+OIw9t8P53lvbwy7cbE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from [192.168.0.106] (103.76.56.167) by SN1PR0701MB1903.namprd07.prod.outlook.com (2a01:111:e400:517b::29) 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:11:09 +0000 To: Andrew Rybchenko , dev@dpdk.org Cc: Olivier MATZ , Jerin Jacob References: <1516713372-10572-1-git-send-email-arybchenko@solarflare.com> <1522080591-24705-1-git-send-email-arybchenko@solarflare.com> <1522080591-24705-7-git-send-email-arybchenko@solarflare.com> From: santosh Message-ID: <267dbc9f-0365-cd17-8320-c597a0b4ac74@caviumnetworks.com> Date: Wed, 4 Apr 2018 20:40:52 +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-7-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: BM1PR0101CA0070.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::32) To SN1PR0701MB1903.namprd07.prod.outlook.com (2a01:111:e400:517b::29) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5677e17b-a070-4e1f-5f31-08d59a3e4dc1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603328)(7153060)(7193020); SRVR:SN1PR0701MB1903; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1903; 3:OmJfh9QWXA9z/500mN+tCgGQkLai3d0yNuiCFJfVk/Hed8mvXfRV5etix6cUr0tiJz9FLDjTcCkO6+kz5pUBjQwZw/Zm5XSSkxqEVaUdBqt1k2Tb72uvsdntMQL4HhkzLXDZv8i1qKPJwJrgchJNihNDS+mXE+brS9Wnb1wte9FgCm42l72vKL7sOarjtOevu6QLy85r3QXWm7NVzaqoo/HT0xdvsUDkCT8RHiRhLLf3HnYVK4ll0rkoOJD1TnMe; 25:k5tZtcnWvpM6angWvT6JdKg629LtOC3GI12hVzt6yaLZlw4ZSDH72exNAF6fpMiyAVvMLTaFgrrLfmvtfnq7uDDyrTjnl/MKsczBIW7jyBuRo7Nlt+QH9W2NnEWvU7H69xx7WF/XgVH0VevMwXZ6xHrJnSbeocslBW+RmJUhDiauA5XbhUxNE27R0fe6EgzLlz3/tuetU+h2ED4ViLX6x8O3b32swOjNyGWzElORKSuQiEeD5qB4TCByxb4P/4FdfNsLMn4xDhkbZBzT6MFUtu6BfXtFFA4aPHpR2soGQMd5ORSsCqF846M0KHCLGhiv2wUfe/2Dw10VIqArU3pwbA==; 31:TlkQmhQfq0An2gkzkKAJ09A+ijr0CDQkMQBnJCSMfwArz1OQrPpOfsayswxl7oGdX5BdkPqiALKHLWw/wxQIqT0vezICb4NmvJ5AIYIyhieYlvXkhEWP5yTnkr6NFq4EisjVbuu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ispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3002001)(10201501046)(3231221)(944501327)(52105095)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:SN1PR0701MB1903; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0701MB1903; X-Forefront-PRVS: 0632519F33 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(396003)(39860400002)(39380400002)(346002)(366004)(376002)(189003)(199004)(3846002)(72206003)(66066001)(11346002)(7736002)(476003)(65956001)(6116002)(2616005)(65806001)(446003)(65826007)(47776003)(478600001)(50466002)(16576012)(86152003)(31686004)(2906002)(68736007)(117156002)(42882007)(36756003)(26005)(305945005)(53936002)(486006)(956004)(6486002)(5660300001)(4326008)(316002)(107886003)(6246003)(386003)(58126008)(77096007)(54906003)(16526019)(230700001)(229853002)(8676002)(25786009)(64126003)(6666003)(81156014)(31696002)(8936002)(106356001)(105586002)(52146003)(52116002)(97736004)(81166006)(2486003)(76176011)(23676004); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0701MB1903; 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?MTtTTjFQUjA3MDFNQjE5MDM7MjM6cVhaMk8vODZCRmMwRVdxaXg4eURHY1M2?= =?utf-8?B?NTBxRG0xZGJGbjhwbnlBTzlCeHBhTjJNVmgyYTBwdUhJY3dFWHR5UmpLOWxt?= =?utf-8?B?REFUb2g4YTdZeGVIVkEwQWNrUTM1MEs4a2NQL3AzOEY2eENUVlFZc1BOUUZy?= =?utf-8?B?YWFQTEhJdVUydW1ET1B1VVNLa09FM1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= =?utf-8?Q?6GVyG0Hf?= X-Microsoft-Antispam-Message-Info: nWZZ/F32FadJs6Y9f/xRLVgkZdExomAVUmOzVFm1HRSPAJu3v7s88IBaqmWPYUMMNZxY1iGW9kbZnJDXPJsZ82njYu9Lpm84d2iDHbYk7XEGaGueGeNsB5C2W8bbtyLXAYAoQF9HkWlb0UVL9PXqMbuSE1+m6PzKbrb/I4ILxCqgTSekA/QqaerJgfhhEhBI X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1903; 6:TOiUiBcvMsue1/CDceuFFXL6sbsD+Crm7LE1J5eP3UhlvwTefkwznF3acH02esJv2ug9FhEfn1+jsNFVIEQ3A0Twla3+dAfGGFGaJ2ABfeQEjIDAbrnA/V7Cjiw+eN1+i1L60y6tgTBkptr7Vu/rHfuGLGdLxkRwLJw+LOoSvEKzvlc001tv+PZeAz9BYSPaV4hYvP/Zif4xX+YBve+awFDIZD/ntUW+yLrrJWV2z6XulFc2om0Oo6f0EsHvOO83ZHO96ybXlZMwFoD9btrJeIvNVX2O4CqU/ruPET7MqW/KACeS5ai1FSnTokuXfSBvYr/m9Y8N0RJj2enHUlIItomzArKDOHAk2Li1VUS4JhsbU7e3MkZdgBwbAfHdK4qd9yv/TnJ7yH1EjusFLbpicdeNVxTX41Fi7eO6gFHOCKxuJtPvSUb5zraiz+I4UCgPk3uxaZOHPmlBkflh8N5ngg==; 5:5N9Qe4W51qFqQcz7PEP4/cxzCyAf2qC251EK17nsJlFaz/9uwCxodzu1EZB880ea2Uan338UwObdVNVTbmlJuuOn1wBMdjDECgD/pZ2RgKzSQfvCvhR8mHzol1xYK/L10B8hSf2fROvkJ5k47dgvBeqGqEEdiRbX5dNsXMeFnV0=; 24:RT0ISehuijg24yEbAAho+wvwYU46ibOuP2kV2+FUzWkpHvuHYwrxVuZrxS+MO7k/Kbth7ZhNxJ9oH1bx4mNn1oaymNFk8XU9fSyR9WFR5ao= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR0701MB1903; 7:lY3GC9YEfhs8iwh03S3Cp68Hh8Ru577DOlMTuqQuBh2ec65qnHosdEAqtd/n8bqOJvseIpA6efEWbU1MYdluZ8bEhzH/toY7Xdzl3rx+6MT+a54vQzAXdXxCNcb1N3maawHFghAbFk8ehBCas7sFWXo5pmEtyroXgFL4Qukx+8JmWA3APfA6d8B7lEOPis9XWzBK7VRcN+d00P527SvmPVJWXeLW8DTI2bWNtMninrK8b4pLGryAGD+/BN+bgF7K X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2018 15:11:09.0334 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5677e17b-a070-4e1f-5f31-08d59a3e4dc1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0701MB1903 Subject: Re: [dpdk-dev] [PATCH v3 06/11] mempool: remove callback to get capabilities 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:11:14 -0000 On Monday 26 March 2018 09:39 PM, Andrew Rybchenko wrote: > The callback was introduced to let generic code to know octeontx > mempool driver requirements to use single physically contiguous > memory chunk to store all objects and align object address to > total object size. Now these requirements are met using a new > callbacks to calculate required memory chunk size and to populate > objects using provided memory chunk. > > These capability flags are not used anywhere else. > > Restricting capabilities to flags is not generic and likely to > be insufficient to describe mempool driver features. If required > in the future, API which returns structured information may be > added. > > Signed-off-by: Andrew Rybchenko > --- Acked-by: Santosh Shukla