blob: 205d748767d71822889f1d7748850a3ff7f799e3 [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 {
Christopher Ferris76a1d452018-06-27 14:12:29 -070024 __aligned_u64 user_rptr_addr;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080025};
26struct iwch_create_cq_resp_v0 {
Christopher Ferris76a1d452018-06-27 14:12:29 -070027 __aligned_u64 key;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080028 __u32 cqid;
29 __u32 size_log2;
30};
Christopher Ferris6a9755d2017-01-13 14:09:31 -080031struct iwch_create_cq_resp {
Christopher Ferris76a1d452018-06-27 14:12:29 -070032 __aligned_u64 key;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080033 __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 Ferris76a1d452018-06-27 14:12:29 -070039 __aligned_u64 key;
40 __aligned_u64 db_key;
Christopher Ferris6a9755d2017-01-13 14:09:31 -080041 __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};
Christopher Ferris76a1d452018-06-27 14:12:29 -070049struct iwch_alloc_pd_resp {
50 __u32 pdid;
51};
Christopher Ferris6a9755d2017-01-13 14:09:31 -080052#endif