include/uapi/rdma/mlx4-abi.h
Source file repositories/reference/linux-study-clean/include/uapi/rdma/mlx4-abi.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/rdma/mlx4-abi.h- Extension
.h- Size
- 5117 bytes
- Lines
- 192
- 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 mlx4_ib_alloc_ucontext_resp_v3struct mlx4_ib_alloc_ucontext_respstruct mlx4_ib_alloc_pd_respstruct mlx4_ib_create_cqstruct mlx4_ib_create_cq_respstruct mlx4_ib_resize_cqstruct mlx4_ib_create_srqstruct mlx4_ib_create_srq_respstruct mlx4_ib_create_qp_rssstruct mlx4_ib_create_qpstruct mlx4_ib_create_wqstruct mlx4_ib_modify_wqstruct mlx4_ib_create_rwq_ind_tbl_respstruct mlx4_ib_rss_capsstruct mlx4_ib_tso_capsstruct mlx4_uverbs_ex_query_device_respenum mlx4_ib_rx_hash_function_flagsenum mlx4_ib_rx_hash_fieldsenum query_device_resp_mask
Annotated Snippet
struct mlx4_ib_alloc_ucontext_resp_v3 {
__u32 qp_tab_size;
__u16 bf_reg_size;
__u16 bf_regs_per_page;
};
enum {
MLX4_USER_DEV_CAP_LARGE_CQE = 1L << 0,
};
struct mlx4_ib_alloc_ucontext_resp {
__u32 dev_caps;
__u32 qp_tab_size;
__u16 bf_reg_size;
__u16 bf_regs_per_page;
__u32 cqe_size;
};
struct mlx4_ib_alloc_pd_resp {
__u32 pdn;
__u32 reserved;
};
struct mlx4_ib_create_cq {
__aligned_u64 buf_addr;
__aligned_u64 db_addr;
};
struct mlx4_ib_create_cq_resp {
__u32 cqn;
__u32 reserved;
};
struct mlx4_ib_resize_cq {
__aligned_u64 buf_addr;
};
struct mlx4_ib_create_srq {
__aligned_u64 buf_addr;
__aligned_u64 db_addr;
};
struct mlx4_ib_create_srq_resp {
__u32 srqn;
__u32 reserved;
};
struct mlx4_ib_create_qp_rss {
__aligned_u64 rx_hash_fields_mask; /* Use enum mlx4_ib_rx_hash_fields */
__u8 rx_hash_function; /* Use enum mlx4_ib_rx_hash_function_flags */
__u8 reserved[7];
__u8 rx_hash_key[40];
__u32 comp_mask;
__u32 reserved1;
};
struct mlx4_ib_create_qp {
__aligned_u64 buf_addr;
__aligned_u64 db_addr;
__u8 log_sq_bb_count;
__u8 log_sq_stride;
__u8 sq_no_prefetch;
__u8 reserved;
__u32 inl_recv_sz;
};
struct mlx4_ib_create_wq {
__aligned_u64 buf_addr;
__aligned_u64 db_addr;
__u8 log_range_size;
__u8 reserved[3];
__u32 comp_mask;
};
struct mlx4_ib_modify_wq {
__u32 comp_mask;
__u32 reserved;
};
struct mlx4_ib_create_rwq_ind_tbl_resp {
__u32 response_length;
__u32 reserved;
};
/* RX Hash function flags */
enum mlx4_ib_rx_hash_function_flags {
MLX4_IB_RX_HASH_FUNC_TOEPLITZ = 1 << 0,
};
/*
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct mlx4_ib_alloc_ucontext_resp_v3`, `struct mlx4_ib_alloc_ucontext_resp`, `struct mlx4_ib_alloc_pd_resp`, `struct mlx4_ib_create_cq`, `struct mlx4_ib_create_cq_resp`, `struct mlx4_ib_resize_cq`, `struct mlx4_ib_create_srq`, `struct mlx4_ib_create_srq_resp`, `struct mlx4_ib_create_qp_rss`, `struct mlx4_ib_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.