diff options
author | Konstantin Taranov <kotaranov@microsoft.com> | 2024-05-22 10:24:01 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-05-30 14:26:57 +0200 |
commit | fdefb918496235a11d6c5477c34c81aab2c1343b (patch) | |
tree | 8e0869313e65b145509d39088d105ba9199b19dc /include/uapi/rdma | |
parent | RDMA/mana_ib: Create and destroy RC QP (diff) | |
download | linux-fdefb918496235a11d6c5477c34c81aab2c1343b.tar.xz linux-fdefb918496235a11d6c5477c34c81aab2c1343b.zip |
RDMA/mana_ib: Implement uapi to create and destroy RC QP
Implement user requests to create and destroy an RC QP.
As the user does not have an FMR queue, it is skipped and NO_FMR flag
is used.
Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com>
Link: https://lore.kernel.org/r/1716366242-558-3-git-send-email-kotaranov@linux.microsoft.com
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r-- | include/uapi/rdma/mana-abi.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/rdma/mana-abi.h b/include/uapi/rdma/mana-abi.h index 2c41cc315218..45c2df619f07 100644 --- a/include/uapi/rdma/mana-abi.h +++ b/include/uapi/rdma/mana-abi.h @@ -45,6 +45,15 @@ struct mana_ib_create_qp_resp { __u32 reserved; }; +struct mana_ib_create_rc_qp { + __aligned_u64 queue_buf[4]; + __u32 queue_size[4]; +}; + +struct mana_ib_create_rc_qp_resp { + __u32 queue_id[4]; +}; + struct mana_ib_create_wq { __aligned_u64 wq_buf_addr; __u32 wq_buf_size; |