[dpdk-dev] [PATCH v4] mempool: use cache in single producer or consumer mode

Olivier Matz olivier.matz at 6wind.com
Fri Jan 13 16:23:27 CET 2017


On Wed, 11 Jan 2017 02:25:28 +0000, Wenfeng Liu
<liuwf at arraynetworks.com.cn> wrote:
> Currently we will check mempool flags when we put/get objects from
> mempool. However, this makes cache useless when mempool is SC|SP,
> SC|MP, MC|SP cases.
> This patch makes cache available in above cases and improves
> performance.
> 
> Signed-off-by: Wenfeng Liu <liuwf at arraynetworks.com.cn>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>


More information about the dev mailing list