drivers: add init and fini on octeontx2 NPA object
authorJerin Jacob <jerinj@marvell.com>
Sat, 22 Jun 2019 13:24:07 +0000 (18:54 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 25 Jun 2019 21:35:57 +0000 (23:35 +0200)
commitb6288e236e96a864c455dbc5344dfbc20bae1641
treec923a6f45b5622356fb8f00699b33451d668c9d0
parent732377a6792eefe063c81d7fb7e9baae0af8ef3f
drivers: add init and fini on octeontx2 NPA object

NPA object needs to initialize memory for queue interrupts context,
pool resource management, etc. This patch adds support for initializing
and finalizing the NPA object.

This patch also updates the otx2_npa_lf definition to meet the init/fini
requirements.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
drivers/common/octeontx2/Makefile
drivers/common/octeontx2/meson.build
drivers/common/octeontx2/otx2_common.h
drivers/common/octeontx2/otx2_dev.h
drivers/mempool/octeontx2/otx2_mempool.c
drivers/mempool/octeontx2/otx2_mempool.h [new file with mode: 0644]
drivers/mempool/octeontx2/rte_mempool_octeontx2_version.map