summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx5/mr.c
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2023-01-19 17:59:36 -0600
committerJason Gunthorpe <jgg@nvidia.com>2023-01-26 15:04:46 -0400
commit325a7eb85199ec9c5b5a7af812f43ea16b735569 (patch)
tree29c36daa0255d148665e4081afee8af4dc573110 /drivers/infiniband/hw/mlx5/mr.c
parentd8bdb0ebca086b5845d782e800ad2bf2a7eb4877 (diff)
downloadlinux-325a7eb85199ec9c5b5a7af812f43ea16b735569.tar.gz
linux-325a7eb85199ec9c5b5a7af812f43ea16b735569.tar.bz2
linux-325a7eb85199ec9c5b5a7af812f43ea16b735569.zip
RDMA/rxe: Cleanup page variables in rxe_mr.c
Cleanup usage of mr->page_shift and mr->page_mask and introduce an extractor for mr->ibmr.page_size. Normal usage in the kernel has page_mask masking out offset in page rather than masking out the page number. The rxe driver had reversed that which was confusing. Implicitly there can be a per mr page_size which was not uniformly supported. Link: https://lore.kernel.org/r/20230119235936.19728-6-rpearsonhpe@gmail.com Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mr.c')
0 files changed, 0 insertions, 0 deletions