summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_verbs.c
diff options
context:
space:
mode:
authorXiao Yang <yangx.jy@fujitsu.com>2022-10-27 09:31:33 +0200
committerJason Gunthorpe <jgg@nvidia.com>2022-10-28 20:08:41 +0200
commitb071850ef62e36b2fc2ec81863f07be857151409 (patch)
treee38fcaa4ec6ceab883cf2a365675d310919a3377 /drivers/infiniband/sw/rxe/rxe_verbs.c
parentRDMA/rxe: Make sure requested access is a subset of {mr,mw}->access (diff)
downloadlinux-b071850ef62e36b2fc2ec81863f07be857151409.tar.xz
linux-b071850ef62e36b2fc2ec81863f07be857151409.zip
RDMA/rxe: Remove the duplicate assignment of mr->map_shift
mr->map_shift is set to ilog2(RXE_BUF_PER_MAP) in both rxe_mr_init() and rxe_mr_alloc() so remove the duplicate one in rxe_mr_init(). Link: https://lore.kernel.org/r/1666855893-145-1-git-send-email-yangx.jy@fujitsu.com Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com> Reviewed-by: Li Zhijian <lizhijian@fujitsu.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.c')
0 files changed, 0 insertions, 0 deletions