mempool/octeontx2: add devargs to lock context in cache
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Mon, 11 May 2020 10:07:38 +0000 (15:37 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 19 May 2020 16:28:58 +0000 (18:28 +0200)
commit31246a328f5224ac0e0c99ed9f881b3a683c7d31
tree4e54518a18351e13ec8f181086c62a4a6f02a612
parent1da6702e3cac91e360eb7925322cb1243da901d0
mempool/octeontx2: add devargs to lock context in cache

Add device arguments to lock NPA aura and pool contexts in NDC cache.
The device args take hexadecimal bitmask where each bit represent the
corresponding aura/pool id.
Example:
-w 0002:02:00.0,npa_lock_mask=0xf // Lock first 4 aura/pool ctx

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
12 files changed:
doc/guides/eventdevs/octeontx2.rst
doc/guides/mempool/octeontx2.rst
doc/guides/nics/octeontx2.rst
drivers/common/octeontx2/Makefile
drivers/common/octeontx2/meson.build
drivers/common/octeontx2/otx2_common.c
drivers/common/octeontx2/otx2_common.h
drivers/common/octeontx2/rte_common_octeontx2_version.map
drivers/event/octeontx2/otx2_evdev.c
drivers/mempool/octeontx2/otx2_mempool.c
drivers/mempool/octeontx2/otx2_mempool_ops.c
drivers/net/octeontx2/otx2_ethdev_devargs.c