]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA: Use proper driver data response structs instead of open coding
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 12 May 2026 00:09:37 +0000 (21:09 -0300)
committerLeon Romanovsky <leon@kernel.org>
Mon, 18 May 2026 08:58:42 +0000 (04:58 -0400)
commit89a497400924af156bebf90d5f1f08f480ee44b1
treef071e1c35e1cd83d433f1c122404fc65b635e30c
parent0d10dd1388f8727402d07269640e44b78f79eb05
RDMA: Use proper driver data response structs instead of open coding

At some point the response structs were added and rdma-core is using
them, but the kernel was not changed to use them as well. Replace
the open-coded copy with the right struct and ib_respond_udata().

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx4/cq.c
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/srq.c
drivers/infiniband/hw/mlx5/cq.c
drivers/infiniband/hw/mthca/mthca_provider.c