Home | History | Annotate | Download | only in rdma
      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 __QEDR_USER_H__
     20 #define __QEDR_USER_H__
     21 #include <linux/types.h>
     22 #define QEDR_ABI_VERSION (8)
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 struct qedr_alloc_ucontext_resp {
     25   __u64 db_pa;
     26   __u32 db_size;
     27   __u32 max_send_wr;
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29   __u32 max_recv_wr;
     30   __u32 max_srq_wr;
     31   __u32 sges_per_send_wr;
     32   __u32 sges_per_recv_wr;
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34   __u32 sges_per_srq_wr;
     35   __u32 max_cqes;
     36 };
     37 struct qedr_alloc_pd_ureq {
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39   __u64 rsvd1;
     40 };
     41 struct qedr_alloc_pd_uresp {
     42   __u32 pd_id;
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 };
     45 struct qedr_create_cq_ureq {
     46   __u64 addr;
     47   __u64 len;
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 };
     50 struct qedr_create_cq_uresp {
     51   __u32 db_offset;
     52   __u16 icid;
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 };
     55 struct qedr_create_qp_ureq {
     56   __u32 qp_handle_hi;
     57   __u32 qp_handle_lo;
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59   __u64 sq_addr;
     60   __u64 sq_len;
     61   __u64 rq_addr;
     62   __u64 rq_len;
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 };
     65 struct qedr_create_qp_uresp {
     66   __u32 qp_id;
     67   __u32 atomic_supported;
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69   __u32 sq_db_offset;
     70   __u16 sq_icid;
     71   __u32 rq_db_offset;
     72   __u16 rq_icid;
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74   __u32 rq_db2_offset;
     75 };
     76 #endif
     77