include/uapi/rdma/ocrdma-abi.h
Source file repositories/reference/linux-study-clean/include/uapi/rdma/ocrdma-abi.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/rdma/ocrdma-abi.h- Extension
.h- Size
- 4116 bytes
- Lines
- 153
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct ocrdma_alloc_ucontext_respstruct ocrdma_alloc_pd_ureqstruct ocrdma_alloc_pd_urespstruct ocrdma_create_cq_ureqstruct ocrdma_create_cq_urespstruct ocrdma_create_qp_ureqstruct ocrdma_create_qp_urespstruct ocrdma_create_srq_uresp
Annotated Snippet
struct ocrdma_alloc_ucontext_resp {
__u32 dev_id;
__u32 wqe_size;
__u32 max_inline_data;
__u32 dpp_wqe_size;
__aligned_u64 ah_tbl_page;
__u32 ah_tbl_len;
__u32 rqe_size;
__u8 fw_ver[32];
/* for future use/new features in progress */
__aligned_u64 rsvd1;
__aligned_u64 rsvd2;
};
struct ocrdma_alloc_pd_ureq {
__u32 rsvd[2];
};
struct ocrdma_alloc_pd_uresp {
__u32 id;
__u32 dpp_enabled;
__u32 dpp_page_addr_hi;
__u32 dpp_page_addr_lo;
__u32 rsvd[2];
};
struct ocrdma_create_cq_ureq {
__u32 dpp_cq;
__u32 rsvd; /* pad */
};
#define MAX_CQ_PAGES 8
struct ocrdma_create_cq_uresp {
__u32 cq_id;
__u32 page_size;
__u32 num_pages;
__u32 max_hw_cqe;
__aligned_u64 page_addr[MAX_CQ_PAGES];
__aligned_u64 db_page_addr;
__u32 db_page_size;
__u32 phase_change;
/* for future use/new features in progress */
__aligned_u64 rsvd1;
__aligned_u64 rsvd2;
};
#define MAX_QP_PAGES 8
#define MAX_UD_AV_PAGES 8
struct ocrdma_create_qp_ureq {
__u8 enable_dpp_cq;
__u8 rsvd;
__u16 dpp_cq_id;
__u32 rsvd1; /* pad */
};
struct ocrdma_create_qp_uresp {
__u16 qp_id;
__u16 sq_dbid;
__u16 rq_dbid;
__u16 resv0; /* pad */
__u32 sq_page_size;
__u32 rq_page_size;
__u32 num_sq_pages;
__u32 num_rq_pages;
__aligned_u64 sq_page_addr[MAX_QP_PAGES];
__aligned_u64 rq_page_addr[MAX_QP_PAGES];
__aligned_u64 db_page_addr;
__u32 db_page_size;
__u32 dpp_credit;
__u32 dpp_offset;
__u32 num_wqe_allocated;
__u32 num_rqe_allocated;
__u32 db_sq_offset;
__u32 db_rq_offset;
__u32 db_shift;
__aligned_u64 rsvd[11];
};
struct ocrdma_create_srq_uresp {
__u16 rq_dbid;
__u16 resv0; /* pad */
__u32 resv1;
__u32 rq_page_size;
__u32 num_rq_pages;
__aligned_u64 rq_page_addr[MAX_QP_PAGES];
__aligned_u64 db_page_addr;
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct ocrdma_alloc_ucontext_resp`, `struct ocrdma_alloc_pd_ureq`, `struct ocrdma_alloc_pd_uresp`, `struct ocrdma_create_cq_ureq`, `struct ocrdma_create_cq_uresp`, `struct ocrdma_create_qp_ureq`, `struct ocrdma_create_qp_uresp`, `struct ocrdma_create_srq_uresp`.
- Atlas domain: Repository Root And Misc / include.
- Implementation status: source implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.