drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_internal.h
Source file repositories/reference/linux-study-clean/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_internal.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_internal.h- Extension
.h- Size
- 6492 bytes
- Lines
- 196
- 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
hw_atl2_utils.h
Detected Declarations
struct hw_atl2_l3_filterstruct hw_atl2_l4_filterstruct hw_atl2_l3l4_filterstruct hw_atl2_tag_policystruct hw_atl2_privenum HW_ATL2_RPF_ART_INDEXenum HW_ATL2_RPF_RSS_HASH_TYPE
Annotated Snippet
struct hw_atl2_l3_filter {
u8 proto;
u8 usage;
u32 cmd;
u32 srcip[4];
u32 dstip[4];
};
struct hw_atl2_l4_filter {
u8 usage;
u32 cmd;
u16 sport;
u16 dport;
};
struct hw_atl2_l3l4_filter {
s8 l3_index;
s8 l4_index;
u8 ipv6;
};
struct hw_atl2_tag_policy {
u16 action;
u16 usage;
};
struct hw_atl2_priv {
struct hw_atl2_l3_filter l3_v4_filters[HW_ATL2_RPF_L3L4_FILTERS];
struct hw_atl2_l3_filter l3_v6_filters[HW_ATL2_RPF_L3L4_FILTERS];
struct hw_atl2_l4_filter l4_filters[HW_ATL2_RPF_L3L4_FILTERS];
struct hw_atl2_l3l4_filter l3l4_filters[HW_ATL2_RPF_L3L4_FILTERS];
struct hw_atl2_tag_policy etype_policy[HW_ATL2_RPF_ETYPE_FILTERS];
struct statistics_s last_stats;
unsigned int art_base_index;
unsigned int art_count;
unsigned int l2_filters_base_index;
unsigned int l2_filter_count;
unsigned int etype_filter_base_index;
unsigned int etype_filter_count;
unsigned int etype_filter_tag_top;
unsigned int vlan_filter_base_index;
unsigned int vlan_filter_count;
unsigned int l3_v4_filter_base_index;
unsigned int l3_v4_filter_count;
unsigned int l3_v6_filter_base_index;
unsigned int l3_v6_filter_count;
unsigned int l4_filter_base_index;
unsigned int l4_filter_count;
};
#endif /* HW_ATL2_INTERNAL_H */
Annotation
- Immediate include surface: `hw_atl2_utils.h`.
- Detected declarations: `struct hw_atl2_l3_filter`, `struct hw_atl2_l4_filter`, `struct hw_atl2_l3l4_filter`, `struct hw_atl2_tag_policy`, `struct hw_atl2_priv`, `enum HW_ATL2_RPF_ART_INDEX`, `enum HW_ATL2_RPF_RSS_HASH_TYPE`.
- 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.