summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2023-11-29 23:21:43 +0300
committerJason Gunthorpe <jgg@nvidia.com>2023-12-05 03:02:41 +0300
commit03769f72d66edab82484449ed594cb6b00ae0223 (patch)
tree3c8a0f7d48d8872497878c219968ea791d70dacc /virt
parent0a5ec366de7e94192669ba08de6ed336607fd282 (diff)
downloadlinux-03769f72d66edab82484449ed594cb6b00ae0223.tar.xz
RDMA/irdma: Fix support for 64k pages
Virtual QP and CQ require a 4K HW page size but the driver passes PAGE_SIZE to ib_umem_find_best_pgsz() instead. Fix this by using the appropriate 4k value in the bitmap passed to ib_umem_find_best_pgsz(). Fixes: 693a5386eff0 ("RDMA/irdma: Split mr alloc and free into new functions") Link: https://lore.kernel.org/r/20231129202143.1434-4-shiraz.saleem@intel.com Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions