include/uapi/rdma/mlx5_user_ioctl_verbs.h
Source file repositories/reference/linux-study-clean/include/uapi/rdma/mlx5_user_ioctl_verbs.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/rdma/mlx5_user_ioctl_verbs.h- Extension
.h- Size
- 3907 bytes
- Lines
- 125
- 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 mlx5_ib_uapi_devx_async_cmd_hdrstruct mlx5_ib_uapi_devx_async_event_hdrstruct mlx5_ib_uapi_regstruct mlx5_ib_uapi_query_portenum mlx5_ib_uapi_flow_action_flagsenum mlx5_ib_uapi_flow_table_typeenum mlx5_ib_uapi_flow_action_packet_reformat_typeenum mlx5_ib_uapi_reg_dmabuf_flagsenum mlx5_ib_uapi_dm_typeenum mlx5_ib_uapi_devx_create_event_channel_flagsenum mlx5_ib_uapi_pp_alloc_flagsenum mlx5_ib_uapi_uar_alloc_typeenum mlx5_ib_uapi_query_port_flagsenum mlx5_ib_uapi_var_alloc_flags
Annotated Snippet
struct mlx5_ib_uapi_devx_async_cmd_hdr {
__aligned_u64 wr_id;
__u8 out_data[];
};
enum mlx5_ib_uapi_dm_type {
MLX5_IB_UAPI_DM_TYPE_MEMIC,
MLX5_IB_UAPI_DM_TYPE_STEERING_SW_ICM,
MLX5_IB_UAPI_DM_TYPE_HEADER_MODIFY_SW_ICM,
MLX5_IB_UAPI_DM_TYPE_HEADER_MODIFY_PATTERN_SW_ICM,
MLX5_IB_UAPI_DM_TYPE_ENCAP_SW_ICM,
};
enum mlx5_ib_uapi_devx_create_event_channel_flags {
MLX5_IB_UAPI_DEVX_CR_EV_CH_FLAGS_OMIT_DATA = 1 << 0,
};
struct mlx5_ib_uapi_devx_async_event_hdr {
__aligned_u64 cookie;
__u8 out_data[];
};
enum mlx5_ib_uapi_pp_alloc_flags {
MLX5_IB_UAPI_PP_ALLOC_FLAGS_DEDICATED_INDEX = 1 << 0,
};
enum mlx5_ib_uapi_uar_alloc_type {
MLX5_IB_UAPI_UAR_ALLOC_TYPE_BF = 0x0,
MLX5_IB_UAPI_UAR_ALLOC_TYPE_NC = 0x1,
};
enum mlx5_ib_uapi_query_port_flags {
MLX5_IB_UAPI_QUERY_PORT_VPORT = 1 << 0,
MLX5_IB_UAPI_QUERY_PORT_VPORT_VHCA_ID = 1 << 1,
MLX5_IB_UAPI_QUERY_PORT_VPORT_STEERING_ICM_RX = 1 << 2,
MLX5_IB_UAPI_QUERY_PORT_VPORT_STEERING_ICM_TX = 1 << 3,
MLX5_IB_UAPI_QUERY_PORT_VPORT_REG_C0 = 1 << 4,
MLX5_IB_UAPI_QUERY_PORT_ESW_OWNER_VHCA_ID = 1 << 5,
};
enum mlx5_ib_uapi_var_alloc_flags {
MLX5_IB_UAPI_VAR_ALLOC_FLAG_TLP = 1 << 0,
};
struct mlx5_ib_uapi_reg {
__u32 value;
__u32 mask;
};
struct mlx5_ib_uapi_query_port {
__aligned_u64 flags;
__u16 vport;
__u16 vport_vhca_id;
__u16 esw_owner_vhca_id;
__u16 rsvd0;
__aligned_u64 vport_steering_icm_rx;
__aligned_u64 vport_steering_icm_tx;
struct mlx5_ib_uapi_reg reg_c0;
};
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct mlx5_ib_uapi_devx_async_cmd_hdr`, `struct mlx5_ib_uapi_devx_async_event_hdr`, `struct mlx5_ib_uapi_reg`, `struct mlx5_ib_uapi_query_port`, `enum mlx5_ib_uapi_flow_action_flags`, `enum mlx5_ib_uapi_flow_table_type`, `enum mlx5_ib_uapi_flow_action_packet_reformat_type`, `enum mlx5_ib_uapi_reg_dmabuf_flags`, `enum mlx5_ib_uapi_dm_type`, `enum mlx5_ib_uapi_devx_create_event_channel_flags`.
- 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.