mempool/cnxk: add batch operation init
authorAshwin Sekhar T K <asekhar@marvell.com>
Thu, 8 Apr 2021 09:50:46 +0000 (15:20 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 9 Apr 2021 06:32:24 +0000 (08:32 +0200)
commitdb2a347a501d6bd437308e2c8aec9cfe71264882
tree91592a85e6c2e69ad015141356256877d193853e
parent89627db18fd49f5424fe5607c6ac2c85b09e6218
mempool/cnxk: add batch operation init

Marvell CN10k mempool supports batch enqueue/dequeue which can
dequeue up to 512 pointers and enqueue up to 15 pointers using
a single instruction.

These batch operations require a DMA memory to enqueue/dequeue
pointers. This patch adds the initialization of this DMA memory.

Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>
doc/guides/mempool/cnxk.rst
drivers/mempool/cnxk/cn10k_mempool_ops.c
drivers/mempool/cnxk/cnxk_mempool.h
drivers/mempool/cnxk/cnxk_mempool_ops.c