1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef CXGB3_ABI_USER_H 7 #define CXGB3_ABI_USER_H 8 #include <linux/types.h> 9 #define IWCH_UVERBS_ABI_VERSION 1 10 struct iwch_create_cq_req { 11 __aligned_u64 user_rptr_addr; 12 }; 13 struct iwch_create_cq_resp_v0 { 14 __aligned_u64 key; 15 __u32 cqid; 16 __u32 size_log2; 17 }; 18 struct iwch_create_cq_resp { 19 __aligned_u64 key; 20 __u32 cqid; 21 __u32 size_log2; 22 __u32 memsize; 23 __u32 reserved; 24 }; 25 struct iwch_create_qp_resp { 26 __aligned_u64 key; 27 __aligned_u64 db_key; 28 __u32 qpid; 29 __u32 size_log2; 30 __u32 sq_size_log2; 31 __u32 rq_size_log2; 32 }; 33 struct iwch_reg_user_mr_resp { 34 __u32 pbl_addr; 35 }; 36 struct iwch_alloc_pd_resp { 37 __u32 pdid; 38 }; 39 #endif 40