summaryrefslogtreecommitdiff
path: root/mainline/runtime/sdk/android/riscv64/include/bionic/libc/kernel/uapi/rdma/erdma-abi.h
blob: 4df17574711d400b248ae7d1c5bee54aae2e434e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/****************************************************************************
 ****************************************************************************
 ***
 ***   This header was automatically generated from a Linux kernel header
 ***   of the same name, to make information necessary for userspace to
 ***   call into the kernel available to libc.  It contains only constants,
 ***   structures, and macros generated from the original header, and thus,
 ***   contains no copyrightable information.
 ***
 ***   To edit the content of this header, modify the corresponding
 ***   source file (e.g. under external/kernel-headers/original/) then
 ***   run bionic/libc/kernel/tools/update_all.py
 ***
 ***   Any manual change here will be lost the next time this script will
 ***   be run. You've been warned!
 ***
 ****************************************************************************
 ****************************************************************************/
#ifndef __ERDMA_USER_H__
#define __ERDMA_USER_H__
#include <linux/types.h>
#define ERDMA_ABI_VERSION 1
struct erdma_ureq_create_cq {
  __aligned_u64 db_record_va;
  __aligned_u64 qbuf_va;
  __u32 qbuf_len;
  __u32 rsvd0;
};
struct erdma_uresp_create_cq {
  __u32 cq_id;
  __u32 num_cqe;
};
struct erdma_ureq_create_qp {
  __aligned_u64 db_record_va;
  __aligned_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;
  __aligned_u64 sdb;
  __aligned_u64 rdb;
  __aligned_u64 cdb;
};
#endif