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-16131 ("Add Marvell CNXK common driver") v4: - Added a bullet point for cnxk mempool driver in release_21_05.rst. 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 plt init callback 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 + doc/guides/rel_notes/release_21_05.rst | 2 + drivers/mempool/cnxk/cn10k_mempool_ops.c | 319 +++++++++++++++++++++++ drivers/mempool/cnxk/cn9k_mempool_ops.c | 89 +++++++ drivers/mempool/cnxk/cnxk_mempool.c | 202 ++++++++++++++ drivers/mempool/cnxk/cnxk_mempool.h | 28 ++ drivers/mempool/cnxk/cnxk_mempool_ops.c | 191 ++++++++++++++ drivers/mempool/cnxk/meson.build | 16 ++ drivers/mempool/cnxk/version.map | 3 + drivers/mempool/meson.build | 3 +- 13 files changed, 953 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