summaryrefslogtreecommitdiff
path: root/platform/sysroot/usr/include/rdma/cxgb4-abi.h
blob: 5433ce6975a0f07f5e8a2fb622cecd185ce6c618 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/****************************************************************************
 ****************************************************************************
 ***
 ***   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 CXGB4_ABI_USER_H
#define CXGB4_ABI_USER_H
#include <linux/types.h>
#define C4IW_UVERBS_ABI_VERSION 3
enum {
  C4IW_64B_CQE = (1 << 0)
};
struct c4iw_create_cq {
  __u32 flags;
  __u32 reserved;
};
struct c4iw_create_cq_resp {
  __aligned_u64 key;
  __aligned_u64 gts_key;
  __aligned_u64 memsize;
  __u32 cqid;
  __u32 size;
  __u32 qid_mask;
  __u32 flags;
};
enum {
  C4IW_QPF_ONCHIP = (1 << 0),
  C4IW_QPF_WRITE_W_IMM = (1 << 1)
};
struct c4iw_create_qp_resp {
  __aligned_u64 ma_sync_key;
  __aligned_u64 sq_key;
  __aligned_u64 rq_key;
  __aligned_u64 sq_db_gts_key;
  __aligned_u64 rq_db_gts_key;
  __aligned_u64 sq_memsize;
  __aligned_u64 rq_memsize;
  __u32 sqid;
  __u32 rqid;
  __u32 sq_size;
  __u32 rq_size;
  __u32 qid_mask;
  __u32 flags;
};
struct c4iw_create_srq_resp {
  __aligned_u64 srq_key;
  __aligned_u64 srq_db_gts_key;
  __aligned_u64 srq_memsize;
  __u32 srqid;
  __u32 srq_size;
  __u32 rqt_abs_idx;
  __u32 qid_mask;
  __u32 flags;
  __u32 reserved;
};
enum {
  T4_SRQ_LIMIT_SUPPORT = 1 << 0,
};
struct c4iw_alloc_ucontext_resp {
  __aligned_u64 status_page_key;
  __u32 status_page_size;
  __u32 reserved;
};
struct c4iw_alloc_pd_resp {
  __u32 pdid;
};
#endif