cxgb3-abi.h revision 96c1db7b9d601c31d103389cac074a6cce0d7633
1/****************************************************************************
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 CXGB3_ABI_USER_H
20#define CXGB3_ABI_USER_H
21#include <linux/types.h>
22#define IWCH_UVERBS_ABI_VERSION 1
23struct iwch_create_cq_req {
24  __u64 user_rptr_addr;
25};
26struct iwch_create_cq_resp_v0 {
27  __u64 key;
28  __u32 cqid;
29  __u32 size_log2;
30};
31struct iwch_create_cq_resp {
32  __u64 key;
33  __u32 cqid;
34  __u32 size_log2;
35  __u32 memsize;
36  __u32 reserved;
37};
38struct iwch_create_qp_resp {
39  __u64 key;
40  __u64 db_key;
41  __u32 qpid;
42  __u32 size_log2;
43  __u32 sq_size_log2;
44  __u32 rq_size_log2;
45};
46struct iwch_reg_user_mr_resp {
47  __u32 pbl_addr;
48};
49#endif
50