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

Olivier Matz olivier.matz at 6wind.com
Fri Apr 6 17:51:48 CEST 2018


On Mon, Mar 26, 2018 at 05:09:46PM +0100, 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: Olivier Matz <olivier.matz at 6wind.com>


More information about the dev mailing list