]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
RDMA/irdma: Add HMC backing store setup functions
authorMustafa Ismail <mustafa.ismail@intel.com>
Wed, 2 Jun 2021 20:51:26 +0000 (15:51 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 2 Jun 2021 22:55:17 +0000 (19:55 -0300)
commitd1850c005aee2254205301279a67316a649c712a
treef5c8e301fa885ca8a618ae2fa7d1e8d85ef59280
parent3f49d684256963d3f27dfb9d9ff228e2255be78d
RDMA/irdma: Add HMC backing store setup functions

HW uses host memory as a backing store for a number of
protocol context objects and queue state tracking.
The Host Memory Cache (HMC) is a component responsible for
managing these objects stored in host memory.

Add the functions and data structures to manage the allocation
of backing pages used by the HMC for the various objects

Link: https://lore.kernel.org/r/20210602205138.889-5-shiraz.saleem@intel.com
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/hmc.c [new file with mode: 0644]
drivers/infiniband/hw/irdma/hmc.h [new file with mode: 0644]