bnxt_re-abi.h revision 525ce914edf136d2bd02ac8c404d56c52e737f4d
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 __BNXT_RE_UVERBS_ABI_H__
20#define __BNXT_RE_UVERBS_ABI_H__
21#include <linux/types.h>
22#define BNXT_RE_ABI_VERSION 1
23struct bnxt_re_uctx_resp {
24  __u32 dev_id;
25  __u32 max_qp;
26  __u32 pg_size;
27  __u32 cqe_sz;
28  __u32 max_cqd;
29  __u32 rsvd;
30};
31struct bnxt_re_pd_resp {
32  __u32 pdid;
33  __u32 dpi;
34  __u64 dbr;
35};
36struct bnxt_re_cq_req {
37  __u64 cq_va;
38  __u64 cq_handle;
39};
40struct bnxt_re_cq_resp {
41  __u32 cqid;
42  __u32 tail;
43  __u32 phase;
44  __u32 rsvd;
45};
46struct bnxt_re_qp_req {
47  __u64 qpsva;
48  __u64 qprva;
49  __u64 qp_handle;
50};
51struct bnxt_re_qp_resp {
52  __u32 qpid;
53  __u32 rsvd;
54};
55enum bnxt_re_shpg_offt {
56  BNXT_RE_BEG_RESV_OFFT = 0x00,
57  BNXT_RE_AVID_OFFT = 0x10,
58  BNXT_RE_AVID_SIZE = 0x04,
59  BNXT_RE_END_RESV_OFFT = 0xFF0
60};
61#endif
62