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 CXGB4_ABI_USER_H
     20 #define CXGB4_ABI_USER_H
     21 #include <linux/types.h>
     22 #define C4IW_UVERBS_ABI_VERSION 3
     23 struct c4iw_create_cq_resp {
     24   __u64 key;
     25   __u64 gts_key;
     26   __u64 memsize;
     27   __u32 cqid;
     28   __u32 size;
     29   __u32 qid_mask;
     30   __u32 reserved;
     31 };
     32 enum {
     33   C4IW_QPF_ONCHIP = (1 << 0)
     34 };
     35 struct c4iw_create_qp_resp {
     36   __u64 ma_sync_key;
     37   __u64 sq_key;
     38   __u64 rq_key;
     39   __u64 sq_db_gts_key;
     40   __u64 rq_db_gts_key;
     41   __u64 sq_memsize;
     42   __u64 rq_memsize;
     43   __u32 sqid;
     44   __u32 rqid;
     45   __u32 sq_size;
     46   __u32 rq_size;
     47   __u32 qid_mask;
     48   __u32 flags;
     49 };
     50 struct c4iw_alloc_ucontext_resp {
     51   __u64 status_page_key;
     52   __u32 status_page_size;
     53   __u32 reserved;
     54 };
     55 #endif
     56