[dpdk-dev] [PATCH v3 06/11] mempool: remove callback to get capabilities

santosh santosh.shukla at caviumnetworks.com
Wed Apr 4 17:10:52 CEST 2018


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 <arybchenko at solarflare.com>
> ---

Acked-by: Santosh Shukla <Santosh.Shukla at caviumnetworks.com>



More information about the dev mailing list