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