include/uapi/rdma/rdma_user_rxe.h
Source file repositories/reference/linux-study-clean/include/uapi/rdma/rdma_user_rxe.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/rdma/rdma_user_rxe.h- Extension
.h- Size
- 5127 bytes
- Lines
- 232
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.hlinux/socket.hlinux/in.hlinux/in6.h
Detected Declarations
struct rxe_global_routestruct rxe_avstruct rxe_send_wrstruct rxe_sgestruct mminfostruct rxe_dma_infostruct rxe_send_wqestruct rxe_recv_wqestruct rxe_create_ah_respstruct rxe_create_cq_respstruct rxe_resize_cq_respstruct rxe_create_qp_respstruct rxe_create_srq_respstruct rxe_modify_srq_cmdstruct rxe_queue_buf
Annotated Snippet
struct rxe_global_route {
union rxe_gid dgid;
__u32 flow_label;
__u8 sgid_index;
__u8 hop_limit;
__u8 traffic_class;
};
struct rxe_av {
__u8 port_num;
/* From RXE_NETWORK_TYPE_* */
__u8 network_type;
__u8 dmac[6];
struct rxe_global_route grh;
union {
struct sockaddr_in _sockaddr_in;
struct sockaddr_in6 _sockaddr_in6;
} sgid_addr, dgid_addr;
};
struct rxe_send_wr {
__aligned_u64 wr_id;
__u32 reserved;
__u32 opcode;
__u32 send_flags;
union {
__be32 imm_data;
__u32 invalidate_rkey;
} ex;
union {
struct {
__aligned_u64 remote_addr;
__u32 length;
__u32 rkey;
__u8 type;
__u8 level;
} flush;
struct {
__aligned_u64 remote_addr;
__u32 rkey;
__u32 reserved;
} rdma;
struct {
__aligned_u64 remote_addr;
__aligned_u64 compare_add;
__aligned_u64 swap;
__u32 rkey;
__u32 reserved;
} atomic;
struct {
__u32 remote_qpn;
__u32 remote_qkey;
__u16 pkey_index;
__u16 reserved;
__u32 ah_num;
__u32 pad[4];
struct rxe_av av;
} ud;
struct {
__aligned_u64 addr;
__aligned_u64 length;
__u32 mr_lkey;
__u32 mw_rkey;
__u32 rkey;
__u32 access;
} mw;
/* reg is only used by the kernel and is not part of the uapi */
#ifdef __KERNEL__
struct {
union {
struct ib_mr *mr;
__aligned_u64 reserved;
};
__u32 key;
__u32 access;
} reg;
#endif
} wr;
};
struct rxe_sge {
__aligned_u64 addr;
__u32 length;
__u32 lkey;
};
struct mminfo {
__aligned_u64 offset;
__u32 size;
__u32 pad;
Annotation
- Immediate include surface: `linux/types.h`, `linux/socket.h`, `linux/in.h`, `linux/in6.h`.
- Detected declarations: `struct rxe_global_route`, `struct rxe_av`, `struct rxe_send_wr`, `struct rxe_sge`, `struct mminfo`, `struct rxe_dma_info`, `struct rxe_send_wqe`, `struct rxe_recv_wqe`, `struct rxe_create_ah_resp`, `struct rxe_create_cq_resp`.
- Atlas domain: Repository Root And Misc / include.
- Implementation status: source implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.