C++程序  |  53行  |  1.58 KB

/****************************************************************************
 ****************************************************************************
 ***
 ***   This header was automatically generated from a Linux kernel header
 ***   of the same name, to make information necessary for userspace to
 ***   call into the kernel available to libc.  It contains only constants,
 ***   structures, and macros generated from the original header, and thus,
 ***   contains no copyrightable information.
 ***
 ***   To edit the content of this header, modify the corresponding
 ***   source file (e.g. under external/kernel-headers/original/) then
 ***   run bionic/libc/kernel/tools/update_all.py
 ***
 ***   Any manual change here will be lost the next time this script will
 ***   be run. You've been warned!
 ***
 ****************************************************************************
 ****************************************************************************/
#ifndef CXGB3_ABI_USER_H
#define CXGB3_ABI_USER_H
#include <linux/types.h>
#define IWCH_UVERBS_ABI_VERSION 1
struct iwch_create_cq_req {
  __aligned_u64 user_rptr_addr;
};
struct iwch_create_cq_resp_v0 {
  __aligned_u64 key;
  __u32 cqid;
  __u32 size_log2;
};
struct iwch_create_cq_resp {
  __aligned_u64 key;
  __u32 cqid;
  __u32 size_log2;
  __u32 memsize;
  __u32 reserved;
};
struct iwch_create_qp_resp {
  __aligned_u64 key;
  __aligned_u64 db_key;
  __u32 qpid;
  __u32 size_log2;
  __u32 sq_size_log2;
  __u32 rq_size_log2;
};
struct iwch_reg_user_mr_resp {
  __u32 pbl_addr;
};
struct iwch_alloc_pd_resp {
  __u32 pdid;
};
#endif