mthca-abi.h revision 6a9755d20a995756487bb1aafb7e954f4fd868a7
16a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/****************************************************************************
26a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ****************************************************************************
36a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***
46a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***   This header was automatically generated from a Linux kernel header
56a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***   of the same name, to make information necessary for userspace to
66a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***   call into the kernel available to libc.  It contains only constants,
76a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***   structures, and macros generated from the original header, and thus,
86a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***   contains no copyrightable information.
96a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***
106a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***   To edit the content of this header, modify the corresponding
116a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***   source file (e.g. under external/kernel-headers/original/) then
126a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***   run bionic/libc/kernel/tools/update_all.py
136a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***
146a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***   Any manual change here will be lost the next time this script will
156a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***   be run. You've been warned!
166a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ***
176a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ****************************************************************************
186a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris ****************************************************************************/
196a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris#ifndef MTHCA_ABI_USER_H
206a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris#define MTHCA_ABI_USER_H
216a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris#include <linux/types.h>
226a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris#define MTHCA_UVERBS_ABI_VERSION 1
236a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
246a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferrisstruct mthca_alloc_ucontext_resp {
256a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 qp_tab_size;
266a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 uarc_size;
276a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris};
286a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
296a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferrisstruct mthca_alloc_pd_resp {
306a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 pdn;
316a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 reserved;
326a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris};
336a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
346a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris#define MTHCA_MR_DMASYNC 0x1
356a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferrisstruct mthca_reg_mr {
366a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 mr_attrs;
376a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 reserved;
386a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
396a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris};
406a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferrisstruct mthca_create_cq {
416a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 lkey;
426a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 pdn;
436a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
446a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u64 arm_db_page;
456a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u64 set_db_page;
466a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 arm_db_index;
476a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 set_db_index;
486a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
496a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris};
506a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferrisstruct mthca_create_cq_resp {
516a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 cqn;
526a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 reserved;
536a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
546a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris};
556a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferrisstruct mthca_resize_cq {
566a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 lkey;
576a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 reserved;
586a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
596a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris};
606a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferrisstruct mthca_create_srq {
616a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 lkey;
626a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 db_index;
636a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
646a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u64 db_page;
656a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris};
666a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferrisstruct mthca_create_srq_resp {
676a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 srqn;
686a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
696a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 reserved;
706a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris};
716a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferrisstruct mthca_create_qp {
726a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 lkey;
736a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
746a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 reserved;
756a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u64 sq_db_page;
766a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u64 rq_db_page;
776a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 sq_db_index;
786a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
796a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris  __u32 rq_db_index;
806a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris};
816a9755d20a995756487bb1aafb7e954f4fd868a7Christopher Ferris#endif
82