diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2023-11-29 14:21:43 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-12-04 20:02:41 -0400 |
commit | 03769f72d66edab82484449ed594cb6b00ae0223 (patch) | |
tree | 3c8a0f7d48d8872497878c219968ea791d70dacc /lib/overflow_kunit.c | |
parent | 0a5ec366de7e94192669ba08de6ed336607fd282 (diff) |
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 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions