RDMA/erdma: Add missing fields to the erdma_device_ops_rocev2
authorBoshi Yu <boshiyu@linux.alibaba.com>
Thu, 26 Dec 2024 08:41:08 +0000 (16:41 +0800)
committerLeon Romanovsky <leon@kernel.org>
Mon, 30 Dec 2024 18:42:52 +0000 (13:42 -0500)
commit67831baff0d7a7ae12bba80c721fffacfab82e89
tree69d0798cd68863ab7420ef10d9cf6b287a28a44d
parent123c13f10ed3627ba112172d8bd122a72cae226d
RDMA/erdma: Add missing fields to the erdma_device_ops_rocev2

Set the query_ah field to the erdma_create_ah() function and set
the size_ib_ah field to the size of struct erdma_ah.

Reviewed-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Boshi Yu <boshiyu@linux.alibaba.com>
Link: https://patch.msgid.link/20241226084141.74823-2-boshiyu@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/erdma/erdma_main.c