blob: 188d90108b2d34f944e11dd3324edbe4c2f62623 [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 CXGB4_ABI_USER_H
20#define CXGB4_ABI_USER_H
21#include <linux/types.h>
22#define C4IW_UVERBS_ABI_VERSION 3
Christopher Ferris6a9755d2017-01-13 14:09:31 -080023struct c4iw_create_cq_resp {
Christopher Ferris76a1d452018-06-27 14:12:29 -070024 __aligned_u64 key;
25 __aligned_u64 gts_key;
26 __aligned_u64 memsize;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080027 __u32 cqid;
28 __u32 size;
29 __u32 qid_mask;
30 __u32 reserved;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080031};
32enum {
33 C4IW_QPF_ONCHIP = (1 << 0)
34};
Christopher Ferris6a9755d2017-01-13 14:09:31 -080035struct c4iw_create_qp_resp {
Christopher Ferris76a1d452018-06-27 14:12:29 -070036 __aligned_u64 ma_sync_key;
37 __aligned_u64 sq_key;
38 __aligned_u64 rq_key;
39 __aligned_u64 sq_db_gts_key;
40 __aligned_u64 rq_db_gts_key;
41 __aligned_u64 sq_memsize;
42 __aligned_u64 rq_memsize;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080043 __u32 sqid;
44 __u32 rqid;
45 __u32 sq_size;
46 __u32 rq_size;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080047 __u32 qid_mask;
48 __u32 flags;
49};
50struct c4iw_alloc_ucontext_resp {
Christopher Ferris76a1d452018-06-27 14:12:29 -070051 __aligned_u64 status_page_key;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080052 __u32 status_page_size;
53 __u32 reserved;
54};
Christopher Ferris76a1d452018-06-27 14:12:29 -070055struct c4iw_alloc_pd_resp {
56 __u32 pdid;
57};
Christopher Ferris6a9755d2017-01-13 14:09:31 -080058#endif