include/uapi/rdma/mthca-abi.h
Source file repositories/reference/linux-study-clean/include/uapi/rdma/mthca-abi.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/rdma/mthca-abi.h- Extension
.h- Size
- 3055 bytes
- Lines
- 113
- 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.h
Detected Declarations
struct mthca_alloc_ucontext_respstruct mthca_alloc_pd_respstruct mthca_reg_mrstruct mthca_create_cqstruct mthca_create_cq_respstruct mthca_resize_cqstruct mthca_create_srqstruct mthca_create_srq_respstruct mthca_create_qp
Annotated Snippet
struct mthca_alloc_ucontext_resp {
__u32 qp_tab_size;
__u32 uarc_size;
};
struct mthca_alloc_pd_resp {
__u32 pdn;
__u32 reserved;
};
/*
* Mark the memory region with a DMA attribute that causes
* in-flight DMA to be flushed when the region is written to:
*/
#define MTHCA_MR_DMASYNC 0x1
struct mthca_reg_mr {
__u32 mr_attrs;
__u32 reserved;
};
struct mthca_create_cq {
__u32 lkey;
__u32 pdn;
__aligned_u64 arm_db_page;
__aligned_u64 set_db_page;
__u32 arm_db_index;
__u32 set_db_index;
};
struct mthca_create_cq_resp {
__u32 cqn;
__u32 reserved;
};
struct mthca_resize_cq {
__u32 lkey;
__u32 reserved;
};
struct mthca_create_srq {
__u32 lkey;
__u32 db_index;
__aligned_u64 db_page;
};
struct mthca_create_srq_resp {
__u32 srqn;
__u32 reserved;
};
struct mthca_create_qp {
__u32 lkey;
__u32 reserved;
__aligned_u64 sq_db_page;
__aligned_u64 rq_db_page;
__u32 sq_db_index;
__u32 rq_db_index;
};
#endif /* MTHCA_ABI_USER_H */
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct mthca_alloc_ucontext_resp`, `struct mthca_alloc_pd_resp`, `struct mthca_reg_mr`, `struct mthca_create_cq`, `struct mthca_create_cq_resp`, `struct mthca_resize_cq`, `struct mthca_create_srq`, `struct mthca_create_srq_resp`, `struct mthca_create_qp`.
- 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.