mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
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>
This commit is contained in:
parent
123c13f10e
commit
67831baff0
|
|
@ -478,6 +478,9 @@ static const struct ib_device_ops erdma_device_ops_rocev2 = {
|
|||
.query_pkey = erdma_query_pkey,
|
||||
.create_ah = erdma_create_ah,
|
||||
.destroy_ah = erdma_destroy_ah,
|
||||
.query_ah = erdma_query_ah,
|
||||
|
||||
INIT_RDMA_OBJ_SIZE(ib_ah, erdma_ah, ibah),
|
||||
};
|
||||
|
||||
static const struct ib_device_ops erdma_device_ops_iwarp = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user