2017-01-13 23:09:31 +01:00
|
|
|
/****************************************************************************
|
|
|
|
****************************************************************************
|
|
|
|
***
|
|
|
|
*** 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 CXGB4_ABI_USER_H
|
|
|
|
#define CXGB4_ABI_USER_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
#define C4IW_UVERBS_ABI_VERSION 3
|
2018-10-25 21:11:39 +02:00
|
|
|
enum {
|
|
|
|
C4IW_64B_CQE = (1 << 0)
|
|
|
|
};
|
|
|
|
struct c4iw_create_cq {
|
|
|
|
__u32 flags;
|
|
|
|
__u32 reserved;
|
|
|
|
};
|
2017-01-13 23:09:31 +01:00
|
|
|
struct c4iw_create_cq_resp {
|
2018-06-27 23:12:29 +02:00
|
|
|
__aligned_u64 key;
|
|
|
|
__aligned_u64 gts_key;
|
|
|
|
__aligned_u64 memsize;
|
2017-01-13 23:09:31 +01:00
|
|
|
__u32 cqid;
|
|
|
|
__u32 size;
|
|
|
|
__u32 qid_mask;
|
2018-10-25 21:11:39 +02:00
|
|
|
__u32 flags;
|
2017-01-13 23:09:31 +01:00
|
|
|
};
|
|
|
|
enum {
|
2018-10-25 21:11:39 +02:00
|
|
|
C4IW_QPF_ONCHIP = (1 << 0),
|
|
|
|
C4IW_QPF_WRITE_W_IMM = (1 << 1)
|
2017-01-13 23:09:31 +01:00
|
|
|
};
|
|
|
|
struct c4iw_create_qp_resp {
|
2018-06-27 23:12:29 +02:00
|
|
|
__aligned_u64 ma_sync_key;
|
|
|
|
__aligned_u64 sq_key;
|
|
|
|
__aligned_u64 rq_key;
|
|
|
|
__aligned_u64 sq_db_gts_key;
|
|
|
|
__aligned_u64 rq_db_gts_key;
|
|
|
|
__aligned_u64 sq_memsize;
|
|
|
|
__aligned_u64 rq_memsize;
|
2017-01-13 23:09:31 +01:00
|
|
|
__u32 sqid;
|
|
|
|
__u32 rqid;
|
|
|
|
__u32 sq_size;
|
|
|
|
__u32 rq_size;
|
|
|
|
__u32 qid_mask;
|
|
|
|
__u32 flags;
|
|
|
|
};
|
2018-10-25 21:11:39 +02:00
|
|
|
struct c4iw_create_srq_resp {
|
|
|
|
__aligned_u64 srq_key;
|
|
|
|
__aligned_u64 srq_db_gts_key;
|
|
|
|
__aligned_u64 srq_memsize;
|
|
|
|
__u32 srqid;
|
|
|
|
__u32 srq_size;
|
|
|
|
__u32 rqt_abs_idx;
|
|
|
|
__u32 qid_mask;
|
|
|
|
__u32 flags;
|
|
|
|
__u32 reserved;
|
|
|
|
};
|
|
|
|
enum {
|
|
|
|
T4_SRQ_LIMIT_SUPPORT = 1 << 0,
|
|
|
|
};
|
2017-01-13 23:09:31 +01:00
|
|
|
struct c4iw_alloc_ucontext_resp {
|
2018-06-27 23:12:29 +02:00
|
|
|
__aligned_u64 status_page_key;
|
2017-01-13 23:09:31 +01:00
|
|
|
__u32 status_page_size;
|
|
|
|
__u32 reserved;
|
|
|
|
};
|
2018-06-27 23:12:29 +02:00
|
|
|
struct c4iw_alloc_pd_resp {
|
|
|
|
__u32 pdid;
|
|
|
|
};
|
2017-01-13 23:09:31 +01:00
|
|
|
#endif
|