]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/mlx5: Use ib_umem_get_cq_buf_or_va() for user CQ buffer
authorJiri Pirko <jiri@nvidia.com>
Fri, 29 May 2026 13:43:04 +0000 (15:43 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 29 May 2026 23:19:58 +0000 (20:19 -0300)
commitffdc91c993e4d56b110757fa06532c35a2d5c798
tree867b16ca478c5d39888344e5f7f9423d39272b8d
parente3433474db923168babdb5c83abb9e1af11a9e91
RDMA/mlx5: Use ib_umem_get_cq_buf_or_va() for user CQ buffer

Pin the user CQ buffer with ib_umem_get_cq_buf_or_va() and take
ownership of the umem in the driver. Apply the same ownership
pattern to the resize path.

Link: https://patch.msgid.link/r/20260529134312.2836341-9-jiri@resnulli.us
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/cq.c