Re: [dpdk-dev] [RFC PATCH 4/6] mempool: add a function to flush default cache

2018-01-17 Thread Andrew Rybchenko
On 12/14/2017 04:38 PM, Olivier MATZ wrote: On Fri, Nov 24, 2017 at 04:06:29PM +, Andrew Rybchenko wrote: From: "Artem V. Andreev" Mempool get/put API cares about cache itself, but sometimes it is required to flush the cache explicitly. I don't disagree, but do you have some use-case in m

Re: [dpdk-dev] [RFC PATCH 4/6] mempool: add a function to flush default cache

2017-12-14 Thread Olivier MATZ
On Fri, Nov 24, 2017 at 04:06:29PM +, Andrew Rybchenko wrote: > From: "Artem V. Andreev" > > Mempool get/put API cares about cache itself, but sometimes it is > required to flush the cache explicitly. I don't disagree, but do you have some use-case in mind? > Also dedicated API allows to d

[dpdk-dev] [RFC PATCH 4/6] mempool: add a function to flush default cache

2017-11-24 Thread Andrew Rybchenko
From: "Artem V. Andreev" Mempool get/put API cares about cache itself, but sometimes it is required to flush the cache explicitly. Also dedicated API allows to decouple it from block get API (to be added) and provides more fine-grained control. Signed-off-by: Artem V. Andreev Signed-off-by: An