From: Cheng Xu <chengyou@linux.alibaba.com>
To: jgg@ziepe.ca, dledford@redhat.com, leon@kernel.org
Cc: linux-rdma@vger.kernel.org, KaiShen@linux.alibaba.com,
chengyou@linux.alibaba.com, tonylu@linux.alibaba.com,
BMT@zurich.ibm.com
Subject: [PATCH for-next v9 10/11] RDMA/erdma: Add the ABI definitions
Date: Mon, 23 May 2022 15:55:27 +0800 [thread overview]
Message-ID: <20220523075528.35017-11-chengyou@linux.alibaba.com> (raw)
In-Reply-To: <20220523075528.35017-1-chengyou@linux.alibaba.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
---
include/uapi/rdma/erdma-abi.h | 49 +++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 include/uapi/rdma/erdma-abi.h
diff --git a/include/uapi/rdma/erdma-abi.h b/include/uapi/rdma/erdma-abi.h
new file mode 100644
index 000000000000..cd409b9cfca8
--- /dev/null
+++ b/include/uapi/rdma/erdma-abi.h
@@ -0,0 +1,49 @@
+/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-OpenIB) */
+/*
+ * Copyright (c) 2020-2022, Alibaba Group.
+ */
+
+#ifndef __ERDMA_USER_H__
+#define __ERDMA_USER_H__
+
+#include <linux/types.h>
+
+#define ERDMA_ABI_VERSION 1
+
+struct erdma_ureq_create_cq {
+ __u64 db_record_va;
+ __u64 qbuf_va;
+ __u32 qbuf_len;
+ __u32 rsvd0;
+};
+
+struct erdma_uresp_create_cq {
+ __u32 cq_id;
+ __u32 num_cqe;
+};
+
+struct erdma_ureq_create_qp {
+ __u64 db_record_va;
+ __u64 qbuf_va;
+ __u32 qbuf_len;
+ __u32 rsvd0;
+};
+
+struct erdma_uresp_create_qp {
+ __u32 qp_id;
+ __u32 num_sqe;
+ __u32 num_rqe;
+ __u32 rq_offset;
+};
+
+struct erdma_uresp_alloc_ctx {
+ __u32 dev_id;
+ __u32 pad;
+ __u32 sdb_type;
+ __u32 sdb_offset;
+ __u64 sdb;
+ __u64 rdb;
+ __u64 cdb;
+};
+
+#endif
--
2.27.0
next prev parent reply other threads:[~2022-05-23 7:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-23 7:55 [PATCH for-next v9 00/11] Elastic RDMA Adapter (ERDMA) driver Cheng Xu
2022-05-23 7:55 ` [PATCH for-next v9 01/11] RDMA: Add ERDMA to rdma_driver_id definition Cheng Xu
2022-05-23 7:55 ` [PATCH for-next v9 02/11] RDMA/erdma: Add the hardware related definitions Cheng Xu
2022-05-23 7:55 ` [PATCH for-next v9 03/11] RDMA/erdma: Add main include file Cheng Xu
2022-05-23 7:55 ` [PATCH for-next v9 04/11] RDMA/erdma: Add cmdq implementation Cheng Xu
2022-05-23 7:55 ` [PATCH for-next v9 05/11] RDMA/erdma: Add event queue implementation Cheng Xu
2022-05-23 7:55 ` [PATCH for-next v9 06/11] RDMA/erdma: Add verbs header file Cheng Xu
2022-05-23 7:55 ` [PATCH for-next v9 07/11] RDMA/erdma: Add verbs implementation Cheng Xu
2022-05-23 7:55 ` [PATCH for-next v9 08/11] RDMA/erdma: Add connection management (CM) support Cheng Xu
2022-05-23 7:55 ` [PATCH for-next v9 09/11] RDMA/erdma: Add the erdma module Cheng Xu
2022-05-23 7:55 ` Cheng Xu [this message]
2022-05-23 7:55 ` [PATCH for-next v9 11/11] RDMA/erdma: Add driver to kernel build environment Cheng Xu
2022-06-06 15:47 ` [PATCH for-next v9 00/11] Elastic RDMA Adapter (ERDMA) driver Jason Gunthorpe
2022-06-07 2:24 ` Cheng Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220523075528.35017-11-chengyou@linux.alibaba.com \
--to=chengyou@linux.alibaba.com \
--cc=BMT@zurich.ibm.com \
--cc=KaiShen@linux.alibaba.com \
--cc=dledford@redhat.com \
--cc=jgg@ziepe.ca \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=tonylu@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox