summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx5/mr.c
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2023-01-19 17:59:37 -0600
committerJason Gunthorpe <jgg@nvidia.com>2023-01-27 12:14:14 -0400
commit592627ccbdff0ec6fff00fc761142a76db750dd4 (patch)
treed5629743d4beed1e2ea290fc6af15633d23423ea /drivers/infiniband/hw/mlx5/mr.c
parent325a7eb85199ec9c5b5a7af812f43ea16b735569 (diff)
downloadlinux-592627ccbdff0ec6fff00fc761142a76db750dd4.tar.gz
linux-592627ccbdff0ec6fff00fc761142a76db750dd4.tar.bz2
linux-592627ccbdff0ec6fff00fc761142a76db750dd4.zip
RDMA/rxe: Replace rxe_map and rxe_phys_buf by xarray
Replace struct rxe-phys_buf and struct rxe_map by struct xarray in rxe_verbs.h. This allows using rcu locking on reads for the memory maps stored in each mr. This is based off of a sketch of a patch from Jason Gunthorpe in the link below. Some changes were needed to make this work. It applies cleanly to the current for-next and passes the pyverbs, perftest and the same blktests test cases which run today. Link: https://lore.kernel.org/r/20230119235936.19728-7-rpearsonhpe@gmail.com Link: https://lore.kernel.org/linux-rdma/Y3gvZr6%2FNCii9Avy@nvidia.com/ Co-developed-by: Jason Gunthorpe <jgg@nvidia.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