include/uapi/rdma/bnxt_re-abi.h
Source file repositories/reference/linux-study-clean/include/uapi/rdma/bnxt_re-abi.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/rdma/bnxt_re-abi.h- Extension
.h- Size
- 6948 bytes
- Lines
- 274
- 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 bnxt_re_uctx_reqstruct bnxt_re_uctx_respstruct bnxt_re_pd_respstruct bnxt_re_cq_reqstruct bnxt_re_cq_respstruct bnxt_re_resize_cq_reqstruct bnxt_re_qp_reqstruct bnxt_re_qp_respstruct bnxt_re_srq_reqstruct bnxt_re_srq_respstruct bnxt_re_packet_pacing_capsstruct bnxt_re_query_device_ex_respstruct bnxt_re_db_regionenum bnxt_re_wqe_modeenum bnxt_re_resp_cq_maskenum bnxt_re_req_cq_maskenum bnxt_re_qp_maskenum bnxt_re_create_qp_attrsenum bnxt_re_srq_maskenum bnxt_re_shpg_offtenum bnxt_re_objectsenum bnxt_re_alloc_page_typeenum bnxt_re_var_alloc_page_attrsenum bnxt_re_alloc_page_attrsenum bnxt_re_alloc_page_methodsenum bnxt_re_notify_drv_methodsenum bnxt_re_get_toggle_mem_typeenum bnxt_re_var_toggle_mem_attrsenum bnxt_re_toggle_mem_attrsenum bnxt_re_toggle_mem_methodsenum bnxt_re_obj_dbr_alloc_attrsenum bnxt_re_obj_dbr_free_attrsenum bnxt_re_obj_default_dbr_attrsenum bnxt_re_obj_dpi_methods
Annotated Snippet
struct bnxt_re_uctx_req {
__aligned_u64 comp_mask;
};
struct bnxt_re_uctx_resp {
__u32 dev_id;
__u32 max_qp;
__u32 pg_size;
__u32 cqe_sz;
__u32 max_cqd;
__u32 rsvd;
__aligned_u64 comp_mask;
__u32 chip_id0;
__u32 chip_id1;
__u32 mode;
__u32 rsvd1; /* padding */
};
/*
* This struct is placed after the ib_uverbs_alloc_pd_resp struct, which is
* not 8 byted aligned. To avoid undesired padding in various cases we have to
* set this struct to packed.
*/
struct bnxt_re_pd_resp {
__u32 pdid;
__u32 dpi;
__u64 dbr;
} __attribute__((packed, aligned(4)));
struct bnxt_re_cq_req {
__aligned_u64 cq_va;
__aligned_u64 cq_handle;
__aligned_u64 comp_mask;
};
enum bnxt_re_resp_cq_mask {
BNXT_RE_CQ_TOGGLE_PAGE_SUPPORT = 0x1,
};
enum bnxt_re_req_cq_mask {
BNXT_RE_CQ_FIXED_NUM_CQE_ENABLE = 0x1,
};
struct bnxt_re_cq_resp {
__u32 cqid;
__u32 tail;
__u32 phase;
__u32 rsvd;
__aligned_u64 comp_mask;
};
struct bnxt_re_resize_cq_req {
__aligned_u64 cq_va;
};
enum bnxt_re_qp_mask {
BNXT_RE_QP_REQ_MASK_FIXED_QUE_ATTR = 0x1,
};
struct bnxt_re_qp_req {
__aligned_u64 qpsva;
__aligned_u64 qprva;
__aligned_u64 qp_handle;
__aligned_u64 comp_mask;
__u32 sq_slots;
__u32 sq_npsn;
};
enum bnxt_re_create_qp_attrs {
BNXT_RE_CREATE_QP_ATTR_DBR_HANDLE = UVERBS_ID_DRIVER_NS_WITH_UHW,
};
struct bnxt_re_qp_resp {
__u32 qpid;
__u32 rsvd;
};
struct bnxt_re_srq_req {
__aligned_u64 srqva;
__aligned_u64 srq_handle;
};
enum bnxt_re_srq_mask {
BNXT_RE_SRQ_TOGGLE_PAGE_SUPPORT = 0x1,
};
struct bnxt_re_srq_resp {
__u32 srqid;
__u32 rsvd; /* padding */
__aligned_u64 comp_mask;
Annotation
- Immediate include surface: `linux/types.h`, `rdma/ib_user_ioctl_cmds.h`.
- Detected declarations: `struct bnxt_re_uctx_req`, `struct bnxt_re_uctx_resp`, `struct bnxt_re_pd_resp`, `struct bnxt_re_cq_req`, `struct bnxt_re_cq_resp`, `struct bnxt_re_resize_cq_req`, `struct bnxt_re_qp_req`, `struct bnxt_re_qp_resp`, `struct bnxt_re_srq_req`, `struct bnxt_re_srq_resp`.
- 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.