diff options
| author | 2026-06-03 22:27:46 -0300 | |
|---|---|---|
| committer | 2026-06-08 14:32:43 -0300 | |
| commit | 8e0a02a989c156ce17f06a645d5f075277e06b95 (patch) | |
| tree | 31a636f2dde083f2db857c45e870640c715a1a6a /scripts/Makefile.thinlto | |
| parent | IB/mlx5: Pull the pdn out of the depths of the umr machinery (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
