mempool: support flushing the default cache
authorArtem V. Andreev <artem.andreev@oktetlabs.ru>
Mon, 16 Apr 2018 13:24:40 +0000 (14:24 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Apr 2018 00:17:43 +0000 (02:17 +0200)
commiteb8a86e275ef15a5455948d679d1a2c43dd4c740
treeb89888ea3234541cf27ce62a4dc4bd89bec6cc6e
parent05912855bcd69742eeea42c1cf987fb501b7239a
mempool: support flushing the default cache

Mempool get/put API cares about cache itself, but sometimes it is
required to flush the cache explicitly.

The function is moved in the file since it now requires
rte_mempool_default_cache().

Signed-off-by: Artem V. Andreev <artem.andreev@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mempool/rte_mempool.h