blob: 6f015ef255b0f5c3fc583af67f764f7bfdf88bba [file] [log] [blame]
Christopher Ferris6a9755d2017-01-13 14:09:31 -08001/****************************************************************************
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
Christopher Ferris48af7cb2017-02-21 12:35:09 -080020#define CXGB3_ABI_USER_H
Christopher Ferris6a9755d2017-01-13 14:09:31 -080021#include <linux/types.h>
22#define IWCH_UVERBS_ABI_VERSION 1
Christopher Ferris6a9755d2017-01-13 14:09:31 -080023struct iwch_create_cq_req {
24 __u64 user_rptr_addr;
25};
26struct iwch_create_cq_resp_v0 {
Christopher Ferris6a9755d2017-01-13 14:09:31 -080027 __u64 key;
28 __u32 cqid;
29 __u32 size_log2;
30};
Christopher Ferris6a9755d2017-01-13 14:09:31 -080031struct iwch_create_cq_resp {
32 __u64 key;
33 __u32 cqid;
34 __u32 size_log2;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080035 __u32 memsize;
36 __u32 reserved;
37};
38struct iwch_create_qp_resp {
Christopher Ferris6a9755d2017-01-13 14:09:31 -080039 __u64 key;
40 __u64 db_key;
41 __u32 qpid;
42 __u32 size_log2;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080043 __u32 sq_size_log2;
44 __u32 rq_size_log2;
45};
46struct iwch_reg_user_mr_resp {
Christopher Ferris6a9755d2017-01-13 14:09:31 -080047 __u32 pbl_addr;
48};
49#endif