include/linux/qed/common_hsi.h
Source file repositories/reference/linux-study-clean/include/linux/qed/common_hsi.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/qed/common_hsi.h- Extension
.h- Size
- 50147 bytes
- Lines
- 1477
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- 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.hasm/byteorder.hlinux/bitops.hlinux/slab.h
Detected Declarations
struct coalescing_timesetstruct common_queue_zonestruct eth_rx_prod_datastruct tcp_ulp_connect_done_paramsstruct iscsi_connect_done_resultsstruct iscsi_eqe_datastruct offload_pkt_dup_enablestruct pstorm_pkt_dup_cfgstruct regpairstruct rdma_eqe_destroy_qpstruct rdma_eqe_suspend_qpstruct tstorm_pkt_dup_cfgstruct tstorm_queue_zonestruct ustorm_eth_queue_zonestruct ustorm_queue_zonestruct cau_pi_entrystruct cau_sb_entrystruct core_db_datastruct db_l2_dpm_datastruct db_l2_dpm_sgestruct db_legacy_addrstruct db_legacy_wo_dems_addrstruct db_pwm_addrstruct db_rdma_24b_icid_dpm_paramsstruct db_rdma_dpm_paramsstruct db_rdma_dpm_datastruct igu_prod_cons_updatestruct parsing_and_err_flagsstruct parsing_err_flagsstruct pb_contextstruct pxp_concrete_fidstruct pxp_pretend_concrete_fidstruct pxp_pretend_cmdstruct pxp_ptt_entrystruct pxp_vf_zone_a_permissionstruct rdif_task_contextstruct src_entry_headerstruct status_blockstruct tdif_task_contextstruct timers_contextenum mf_modeenum protocol_typeenum command_type_bitenum db_agg_cmd_selenum db_destenum db_dpm_typeenum igu_int_cmdenum igu_seg_access
Annotated Snippet
struct coalescing_timeset {
u8 value;
#define COALESCING_TIMESET_TIMESET_MASK 0x7F
#define COALESCING_TIMESET_TIMESET_SHIFT 0
#define COALESCING_TIMESET_VALID_MASK 0x1
#define COALESCING_TIMESET_VALID_SHIFT 7
};
struct common_queue_zone {
__le16 ring_drv_data_consumer;
__le16 reserved;
};
/* ETH Rx producers data */
struct eth_rx_prod_data {
__le16 bd_prod;
__le16 cqe_prod;
};
struct tcp_ulp_connect_done_params {
__le16 mss;
u8 snd_wnd_scale;
u8 flags;
#define TCP_ULP_CONNECT_DONE_PARAMS_TS_EN_MASK 0x1
#define TCP_ULP_CONNECT_DONE_PARAMS_TS_EN_SHIFT 0
#define TCP_ULP_CONNECT_DONE_PARAMS_RESERVED_MASK 0x7F
#define TCP_ULP_CONNECT_DONE_PARAMS_RESERVED_SHIFT 1
};
struct iscsi_connect_done_results {
__le16 icid;
__le16 conn_id;
struct tcp_ulp_connect_done_params params;
};
struct iscsi_eqe_data {
__le16 icid;
__le16 conn_id;
__le16 reserved;
u8 error_code;
u8 error_pdu_opcode_reserved;
#define ISCSI_EQE_DATA_ERROR_PDU_OPCODE_MASK 0x3F
#define ISCSI_EQE_DATA_ERROR_PDU_OPCODE_SHIFT 0
#define ISCSI_EQE_DATA_ERROR_PDU_OPCODE_VALID_MASK 0x1
#define ISCSI_EQE_DATA_ERROR_PDU_OPCODE_VALID_SHIFT 6
#define ISCSI_EQE_DATA_RESERVED0_MASK 0x1
#define ISCSI_EQE_DATA_RESERVED0_SHIFT 7
};
/* Multi function mode */
enum mf_mode {
ERROR_MODE /* Unsupported mode */,
MF_OVLAN,
MF_NPAR,
MAX_MF_MODE
};
/* Per protocol packet duplication enable bit vector. If set, duplicate
* offloaded traffic to LL2 debug queueu.
*/
struct offload_pkt_dup_enable {
__le16 enable_vector;
};
/* Per-protocol connection types */
enum protocol_type {
PROTOCOLID_TCP_ULP,
PROTOCOLID_FCOE,
PROTOCOLID_ROCE,
PROTOCOLID_CORE,
PROTOCOLID_ETH,
PROTOCOLID_IWARP,
PROTOCOLID_RESERVED0,
PROTOCOLID_PREROCE,
PROTOCOLID_COMMON,
PROTOCOLID_RESERVED1,
PROTOCOLID_RDMA,
PROTOCOLID_SCSI,
MAX_PROTOCOL_TYPE
};
/* Pstorm packet duplication config */
struct pstorm_pkt_dup_cfg {
struct offload_pkt_dup_enable enable;
__le16 reserved[3];
};
struct regpair {
__le32 lo;
__le32 hi;
Annotation
- Immediate include surface: `linux/types.h`, `asm/byteorder.h`, `linux/bitops.h`, `linux/slab.h`.
- Detected declarations: `struct coalescing_timeset`, `struct common_queue_zone`, `struct eth_rx_prod_data`, `struct tcp_ulp_connect_done_params`, `struct iscsi_connect_done_results`, `struct iscsi_eqe_data`, `struct offload_pkt_dup_enable`, `struct pstorm_pkt_dup_cfg`, `struct regpair`, `struct rdma_eqe_destroy_qp`.
- Atlas domain: Core OS / Core Kernel Interface.
- 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.