Re: [PATCH v3 0/2] Add HALO support for CN20K mempool

Jerin Jacob
2026-02-17T08:43:19Z

On Tue, Feb 17, 2026 at 11:14 AM Nawal Kishor <nkishor@marvell.com> wrote:
>
> This series of patches adds support for HALO in CNXK mempool driver.
>
> Changes in v3:
> * Added documentation for HALO support in CNXK mempool driver.
>
> Nawal Kishor (2):
> common/cnxk: add support for halos
> mempool/cnxk: add halo support in mempool
>
> doc/guides/mempool/cnxk.rst | 24 +-
> drivers/common/cnxk/hw/npa.h | 81 ++++++
> drivers/common/cnxk/roc_idev.c | 25 ++
> drivers/common/cnxk/roc_idev.h | 3 +
> drivers/common/cnxk/roc_idev_priv.h | 1 +
> drivers/common/cnxk/roc_mbox.h | 6 +
> drivers/common/cnxk/roc_nix.h | 1 +
> drivers/common/cnxk/roc_nix_queue.c | 46 ++-
> drivers/common/cnxk/roc_npa.c | 268 ++++++++++++++++--
> drivers/common/cnxk/roc_npa.h | 20 +-
> drivers/common/cnxk/roc_npa_debug.c | 201 ++++++++++++-
> drivers/common/cnxk/roc_npa_priv.h | 3 +
> .../common/cnxk/roc_platform_base_symbols.c | 2 +
> drivers/common/cnxk/roc_sso.c | 35 ++-
> drivers/common/cnxk/roc_sso.h | 1 +
> drivers/mempool/cnxk/cn10k_mempool_ops.c | 19 +-
> drivers/mempool/cnxk/cn20k_mempool_ops.c | 60 ++++
> drivers/mempool/cnxk/cn9k_mempool_ops.c | 2 +-
> drivers/mempool/cnxk/cnxk_mempool.c | 40 ++-
> drivers/mempool/cnxk/cnxk_mempool.h | 16 +-
> drivers/mempool/cnxk/cnxk_mempool_ops.c | 11 +-
> drivers/mempool/cnxk/meson.build | 1 +

Pleaesto add roc_feature_npa_has_halo() in
drivers/common/cnxk/roc_features.h. instead of relying on cn20k()
checks as applicable. Good to merge next version.

> 22 files changed, 771 insertions(+), 95 deletions(-)
> create mode 100644 drivers/mempool/cnxk/cn20k_mempool_ops.c
>
> --
> 2.48.1
>