mlx4-abi.h revision 6a9755d20a995756487bb1aafb7e954f4fd868a7
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 MLX4_ABI_USER_H 20#define MLX4_ABI_USER_H 21#include <linux/types.h> 22#define MLX4_IB_UVERBS_NO_DEV_CAPS_ABI_VERSION 3 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24#define MLX4_IB_UVERBS_ABI_VERSION 4 25struct mlx4_ib_alloc_ucontext_resp_v3 { 26 __u32 qp_tab_size; 27 __u16 bf_reg_size; 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 __u16 bf_regs_per_page; 30}; 31struct mlx4_ib_alloc_ucontext_resp { 32 __u32 dev_caps; 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 __u32 qp_tab_size; 35 __u16 bf_reg_size; 36 __u16 bf_regs_per_page; 37 __u32 cqe_size; 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39}; 40struct mlx4_ib_alloc_pd_resp { 41 __u32 pdn; 42 __u32 reserved; 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44}; 45struct mlx4_ib_create_cq { 46 __u64 buf_addr; 47 __u64 db_addr; 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49}; 50struct mlx4_ib_create_cq_resp { 51 __u32 cqn; 52 __u32 reserved; 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54}; 55struct mlx4_ib_resize_cq { 56 __u64 buf_addr; 57}; 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59struct mlx4_ib_create_srq { 60 __u64 buf_addr; 61 __u64 db_addr; 62}; 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64struct mlx4_ib_create_srq_resp { 65 __u32 srqn; 66 __u32 reserved; 67}; 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69struct mlx4_ib_create_qp { 70 __u64 buf_addr; 71 __u64 db_addr; 72 __u8 log_sq_bb_count; 73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 __u8 log_sq_stride; 75 __u8 sq_no_prefetch; 76 __u8 reserved[5]; 77}; 78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79#endif 80