drivers/net/ethernet/alibaba/eea/eea_ethtool.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/alibaba/eea/eea_ethtool.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/alibaba/eea/eea_ethtool.h
Extension
.h
Size
910 bytes
Lines
49
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct eea_tx_stats {
	struct u64_stats_sync syncp;
	u64_stats_t descs;
	u64_stats_t packets;
	u64_stats_t bytes;
	u64_stats_t drops;
	u64_stats_t kicks;
};

struct eea_rx_ctx_stats {
	u64 descs;
	u64 packets;
	u64 bytes;
	u64 drops;
	u64 split_hdr_bytes;
	u64 split_hdr_packets;
	u64 kicks;
	u64 length_errors;
};

struct eea_rx_stats {
	struct u64_stats_sync syncp;
	u64_stats_t descs;
	u64_stats_t packets;
	u64_stats_t bytes;
	u64_stats_t drops;
	u64_stats_t kicks;
	u64_stats_t split_hdr_bytes;
	u64_stats_t split_hdr_packets;

	u64_stats_t length_errors;
};

void eea_update_rx_stats(struct eea_rx_stats *rx_stats,
			 struct eea_rx_ctx_stats *stats);

extern const struct ethtool_ops eea_ethtool_ops;
#endif

Annotation

Implementation Notes