summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2026-06-04 04:27:46 +0300
committerJason Gunthorpe <jgg@nvidia.com>2026-06-08 20:32:43 +0300
commit8e0a02a989c156ce17f06a645d5f075277e06b95 (patch)
tree31a636f2dde083f2db857c45e870640c715a1a6a /include/linux
parentf387a9f06ea4f05e607a91b161963c0b19436652 (diff)
downloadlinux-8e0a02a989c156ce17f06a645d5f075277e06b95.tar.xz
IB/mlx5: Don't mangle the mr->pd inside the rereg callback
The rereg protocol expects the core code to change mr->pd and synchronize that change with the atomics and syncs. The driver should not touch it. mlx5 needed to update it in umr_rereg_pas() because mlx5r_umr_update_mr_pas() required the updated mr->pd to build the UMR. Simply switch mlx5r_umr_update_mr_pas() to use the pdn directly from the new pd and remove the mr->pd update. Fixes: 56e11d628c5d ("IB/mlx5: Added support for re-registration of MRs") Link: https://patch.msgid.link/r/7-v1-29ebd2c229b5+fd5-ib_mr_pd_jgg@nvidia.com Assisted-by: Codex:gpt-5-5 Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions