This patchset adds the mempool/cnxk driver which provides the support for the integrated mempool device found in Marvell CN10K SoC.
The code includes mempool driver functionality for Marvell CN9K SoC as well, but right now it is not enabled. The future plan is to deprecate existing mempool/octeontx2 driver once the 'CNXK' drivers are feature complete for Marvell CN9K SoC. Depends-on: series-16059 ("Add Marvell CNXK common driver") v2: - Addressed Jerin's comments in v1. - Splitted mempool ops for cn10k/cn9k into multiple commits. - Added more description in the commit messages. - Moved MAINTAINERS and doc change to first commit. - Moved doc changes into respective commits implementing the change. Ashwin Sekhar T K (11): mempool/cnxk: add build infra and doc mempool/cnxk: add device probe/remove mempool/cnxk: add generic ops mempool/cnxk: register lf init/fini callbacks mempool/cnxk: add cn9k mempool ops mempool/cnxk: add cn9k optimized mempool enqueue/dequeue mempool/cnxk: add cn10k mempool ops mempool/cnxk: add batch op init mempool/cnxk: add cn10k batch enqueue op mempool/cnxk: add cn10k get count op mempool/cnxk: add cn10k batch dequeue op MAINTAINERS | 6 + doc/guides/mempool/cnxk.rst | 91 +++++++ doc/guides/mempool/index.rst | 1 + doc/guides/platform/cnxk.rst | 3 + drivers/mempool/cnxk/cn10k_mempool_ops.c | 294 +++++++++++++++++++++++ drivers/mempool/cnxk/cn9k_mempool_ops.c | 89 +++++++ drivers/mempool/cnxk/cnxk_mempool.c | 201 ++++++++++++++++ drivers/mempool/cnxk/cnxk_mempool.h | 29 +++ drivers/mempool/cnxk/cnxk_mempool_ops.c | 199 +++++++++++++++ drivers/mempool/cnxk/meson.build | 16 ++ drivers/mempool/cnxk/version.map | 3 + drivers/mempool/meson.build | 3 +- 12 files changed, 934 insertions(+), 1 deletion(-) create mode 100644 doc/guides/mempool/cnxk.rst create mode 100644 drivers/mempool/cnxk/cn10k_mempool_ops.c create mode 100644 drivers/mempool/cnxk/cn9k_mempool_ops.c create mode 100644 drivers/mempool/cnxk/cnxk_mempool.c create mode 100644 drivers/mempool/cnxk/cnxk_mempool.h create mode 100644 drivers/mempool/cnxk/cnxk_mempool_ops.c create mode 100644 drivers/mempool/cnxk/meson.build create mode 100644 drivers/mempool/cnxk/version.map -- 2.31.0