drivers/net/ethernet/intel/libeth/priv.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/intel/libeth/priv.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/intel/libeth/priv.h
Extension
.h
Size
870 bytes
Lines
38
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 libeth_xdp_ops {
	void	(*bulk)(const struct skb_shared_info *sinfo,
			struct xdp_frame_bulk *bq, bool frags);
	void	(*xsk)(struct libeth_xdp_buff *xdp);
};

void libeth_attach_xdp(const struct libeth_xdp_ops *ops);

static inline void libeth_detach_xdp(void)
{
	libeth_attach_xdp(NULL);
}

#endif /* __LIBETH_PRIV_H */

Annotation

Implementation Notes