include/uapi/rdma/efa-abi.h
Source file repositories/reference/linux-study-clean/include/uapi/rdma/efa-abi.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/rdma/efa-abi.h- Extension
.h- Size
- 3747 bytes
- Lines
- 167
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.hrdma/ib_user_ioctl_cmds.h
Detected Declarations
struct efa_ibv_alloc_ucontext_cmdstruct efa_ibv_alloc_ucontext_respstruct efa_ibv_alloc_pd_respstruct efa_ibv_create_cqstruct efa_ibv_create_cq_respstruct efa_ibv_create_qpstruct efa_ibv_create_qp_respstruct efa_ibv_create_ah_respstruct efa_ibv_ex_query_device_respenum efa_ibv_user_cmds_supp_udataenum efa_query_mr_attrsenum efa_mr_methods
Annotated Snippet
struct efa_ibv_alloc_ucontext_cmd {
__u32 supported_caps;
__u8 reserved_20[4];
};
enum efa_ibv_user_cmds_supp_udata {
EFA_USER_CMDS_SUPP_UDATA_QUERY_DEVICE = 1 << 0,
EFA_USER_CMDS_SUPP_UDATA_CREATE_AH = 1 << 1,
};
struct efa_ibv_alloc_ucontext_resp {
__u32 comp_mask;
__u32 cmds_supp_udata_mask;
__u16 sub_cqs_per_cq;
__u16 inline_buf_size;
__u32 max_llq_size; /* bytes */
__u16 max_tx_batch; /* units of 64 bytes */
__u16 min_sq_wr;
__u16 inline_buf_size_ex;
__u8 reserved_b0[2];
};
struct efa_ibv_alloc_pd_resp {
__u32 comp_mask;
__u16 pdn;
__u8 reserved_30[2];
};
enum {
EFA_CREATE_CQ_WITH_COMPLETION_CHANNEL = 1 << 0,
EFA_CREATE_CQ_WITH_SGID = 1 << 1,
};
struct efa_ibv_create_cq {
__u32 comp_mask;
__u32 cq_entry_size;
__u16 num_sub_cqs;
__u8 flags;
__u8 reserved_58[5];
};
enum {
EFA_CREATE_CQ_RESP_DB_OFF = 1 << 0,
};
struct efa_ibv_create_cq_resp {
__u32 comp_mask;
__u8 reserved_20[4];
__aligned_u64 q_mmap_key;
__aligned_u64 q_mmap_size;
__u16 cq_idx;
__u8 reserved_d0[2];
__u32 db_off;
__aligned_u64 db_mmap_key;
};
enum {
EFA_QP_DRIVER_TYPE_SRD = 0,
};
enum {
EFA_CREATE_QP_WITH_UNSOLICITED_WRITE_RECV = 1 << 0,
};
struct efa_ibv_create_qp {
__u32 comp_mask;
__u32 rq_ring_size; /* bytes */
__u32 sq_ring_size; /* bytes */
__u32 driver_qp_type;
__u16 flags;
__u8 sl;
__u8 reserved_98[5];
};
struct efa_ibv_create_qp_resp {
__u32 comp_mask;
/* the offset inside the page of the rq db */
__u32 rq_db_offset;
/* the offset inside the page of the sq db */
__u32 sq_db_offset;
/* the offset inside the page of descriptors buffer */
__u32 llq_desc_offset;
__aligned_u64 rq_mmap_key;
__aligned_u64 rq_mmap_size;
__aligned_u64 rq_db_mmap_key;
__aligned_u64 sq_db_mmap_key;
__aligned_u64 llq_desc_mmap_key;
__u16 send_sub_cq_idx;
__u16 recv_sub_cq_idx;
__u8 reserved_1e0[4];
Annotation
- Immediate include surface: `linux/types.h`, `rdma/ib_user_ioctl_cmds.h`.
- Detected declarations: `struct efa_ibv_alloc_ucontext_cmd`, `struct efa_ibv_alloc_ucontext_resp`, `struct efa_ibv_alloc_pd_resp`, `struct efa_ibv_create_cq`, `struct efa_ibv_create_cq_resp`, `struct efa_ibv_create_qp`, `struct efa_ibv_create_qp_resp`, `struct efa_ibv_create_ah_resp`, `struct efa_ibv_ex_query_device_resp`, `enum efa_ibv_user_cmds_supp_udata`.
- Atlas domain: Repository Root And Misc / include.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.