drivers/net/ethernet/intel/ice/devlink/health.h
Source file repositories/reference/linux-study-clean/drivers/net/ethernet/intel/ice/devlink/health.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/ethernet/intel/ice/devlink/health.h- Extension
.h- Size
- 2158 bytes
- Lines
- 72
- Domain
- Driver Families
- Bucket
- drivers/net
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct ice_aqc_health_status_elemstruct ice_pfstruct ice_tx_ringstruct ice_rq_event_infostruct ice_healthenum ice_mdd_src
Annotated Snippet
struct ice_health {
struct devlink_health_reporter *fw;
struct devlink_health_reporter *mdd;
struct devlink_health_reporter *port;
struct devlink_health_reporter *tx_hang;
struct_group_tagged(ice_health_tx_hang_buf, tx_hang_buf,
struct ice_tx_ring *tx_ring;
u32 head;
u32 intr;
u16 vsi_num;
);
struct ice_aqc_health_status_elem fw_status;
struct ice_aqc_health_status_elem port_status;
};
void ice_process_health_status_event(struct ice_pf *pf,
struct ice_rq_event_info *event);
void ice_health_init(struct ice_pf *pf);
void ice_health_deinit(struct ice_pf *pf);
void ice_health_clear(struct ice_pf *pf);
void ice_prep_tx_hang_report(struct ice_pf *pf, struct ice_tx_ring *tx_ring,
u16 vsi_num, u32 head, u32 intr);
void ice_report_mdd_event(struct ice_pf *pf, enum ice_mdd_src src, u8 pf_num,
u16 vf_num, u8 event, u16 queue);
void ice_report_tx_hang(struct ice_pf *pf);
#endif /* _HEALTH_H_ */
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct ice_aqc_health_status_elem`, `struct ice_pf`, `struct ice_tx_ring`, `struct ice_rq_event_info`, `struct ice_health`, `enum ice_mdd_src`.
- Atlas domain: Driver Families / drivers/net.
- 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.