]> git.ipfire.org Git - thirdparty/linux.git/commit
IB/mlx5: Push pdn above pagfault_real_mr()
authorJason Gunthorpe <jgg@nvidia.com>
Thu, 4 Jun 2026 01:27:48 +0000 (22:27 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 8 Jun 2026 17:32:44 +0000 (14:32 -0300)
commit62731d26bdeeaa9bec5893ca3331bd8a5ef6ea27
tree3dc68caa34a235cf71e9cfa006638c6730b4c957
parent23caeef1d06c01198d0620824bd4d8cb741c812b
IB/mlx5: Push pdn above pagfault_real_mr()

Remove the mlx5_mr_pdn() in pagefault_real_mr() by pushing the pdn up, all
the callers use 0 since they don't pass MLX5_PF_FLAGS_ENABLE except the
ioctl reg_mr path which can use the ioctl pd.

Link: https://patch.msgid.link/r/9-v1-29ebd2c229b5+fd5-ib_mr_pd_jgg@nvidia.com
Assisted-by: Codex:gpt-5-5
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/mr.c
drivers/infiniband/hw/mlx5/odp.c