[dpdk-dev] [PATCH v5 3/4] common/mlx5: add mempool registration facilities
Kinsella, Ray
mdr at ashroe.eu
Wed Oct 20 11:30:52 CEST 2021
On 15/10/2021 17:02, Dmitry Kozlyuk wrote:
> Add internal API to register mempools, that is, to create memory
> regions (MR) for their memory and store them in a separate database.
> Implementation deals with multi-process, so that class drivers don't
> need to. Each protection domain has its own database. Memory regions
> can be shared within a database if they represent a single hugepage
> covering one or more mempools entirely.
>
> Add internal API to lookup an MR key for an address that belongs
> to a known mempool. It is a responsibility of a class driver
> to extract the mempool from an mbuf.
>
> Signed-off-by: Dmitry Kozlyuk <dkozlyuk at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---
Acked-by: Ray Kinsella <mdr at ashroe.eu>
More information about the dev
mailing list