drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h
Extension
.h
Size
5772 bytes
Lines
140
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 ixgbe_mbx_operations {
	int (*init_params)(struct ixgbe_hw *hw);
	int (*read)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number);
	int (*write)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number);
	int (*read_posted)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
	int (*write_posted)(struct ixgbe_hw *hw, u32 *msg, u16 size,
			    u16 mbx_id);
	int (*check_for_msg)(struct ixgbe_hw *hw, u16 vf_number);
	int (*check_for_ack)(struct ixgbe_hw *hw, u16 vf_number);
	int (*check_for_rst)(struct ixgbe_hw *hw, u16 vf_number);
};

extern const struct ixgbe_mbx_operations mbx_ops_generic;

#endif /* _IXGBE_MBX_H_ */

Annotation

Implementation Notes