summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Taranov <kotaranov@microsoft.com>2026-07-23 04:59:55 -0700
committerLeon Romanovsky <leon@kernel.org>2026-08-05 10:44:30 -0400
commit6aad80a1d4e70cf6adac73e12e15abee3100dbe7 (patch)
tree9bd34b7702483e19fb44e2a9c03d1ba374d3efa6 /include
parenta489ab44ab73a6dfab8bf2556f647364ee0e0940 (diff)
downloadlinux-6aad80a1d4e70cf6adac73e12e15abee3100dbe7.tar.gz
linux-6aad80a1d4e70cf6adac73e12e15abee3100dbe7.zip
RDMA/mana_ib: UC QP support for UAPI
Implement UC QP creation in the RNIC HW for user API. An UC QP is exposed as three work queues: send, receive, and memory management. The latter is used for bind and invalidate WQEs to support memory windows. Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Link: https://patch.msgid.link/20260723115955.1859519-3-kotaranov@linux.microsoft.com Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/rdma/mana-abi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/rdma/mana-abi.h b/include/uapi/rdma/mana-abi.h
index 410f0ddc8c89..32cbbfc80f99 100644
--- a/include/uapi/rdma/mana-abi.h
+++ b/include/uapi/rdma/mana-abi.h
@@ -57,6 +57,17 @@ struct mana_ib_create_rc_qp_resp {
__u32 queue_id[4];
};
+struct mana_ib_create_uc_qp {
+ __aligned_u64 queue_buf[3];
+ __u32 queue_size[3];
+ __u32 comp_mask;
+};
+
+struct mana_ib_create_uc_qp_resp {
+ __u32 queue_id[3];
+ __u32 reserved;
+};
+
struct mana_ib_create_wq {
__aligned_u64 wq_buf_addr;
__u32 wq_buf_size;