]> git.droids-corp.org - dpdk.git/commit
mempool/cnxk: support optional wait when counting
authorAshwin Sekhar T K <asekhar@marvell.com>
Fri, 10 Jun 2022 16:07:14 +0000 (21:37 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 15 Jun 2022 19:32:56 +0000 (21:32 +0200)
commit2d807166e174ad89f93b9b0f5cc58fe6641c9be3
tree9056067ee5f789917fe0f36a81b8bfbb9142fc78
parent5f27618bea73240ac4e71e9ed9bb14b25c95505d
mempool/cnxk: support optional wait when counting

When counting the batch allocated pointers in cnxk mempool driver,
currently it always waits for in-flight batch operations to finish.
Add a provision to make this waiting optional.

Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>
drivers/common/cnxk/roc_npa.h
drivers/mempool/cnxk/cn10k_mempool_ops.c