]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/irdma: Add 2 level PBLE support for FMR
authorMustafa Ismail <mustafa.ismail@intel.com>
Tue, 5 Jul 2022 23:08:09 +0000 (18:08 -0500)
committerLeon Romanovsky <leonro@nvidia.com>
Mon, 18 Jul 2022 07:39:28 +0000 (10:39 +0300)
commit282f75f601d03ba3d725f6b5d53778d9de69ea3d
tree1d6a2413d77d7f84d1f2b381ae5d04daa2916be8
parentc9ba55435c74b420a6490b27703cbd987a4bc5b7
RDMA/irdma: Add 2 level PBLE support for FMR

Level 2 Physical Buffer List Entry (PBLE) is currently not supported for
Fast MRs which limits memory registrations to 256K pages.

Adapt irdma_set_page and irdma_alloc_mr to allow for 2 level PBLEs.

Link: https://lore.kernel.org/r/20220705230815.265-2-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: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/irdma/main.h
drivers/infiniband/hw/irdma/verbs.c