mirror of
https://github.com/ipxe/ipxe
synced 2026-01-02 09:52:49 +03:00
[intelxl] Provide a mechanism for handling "send to VF" events
Provide a weak stub function for handling the "send to VF" event used for communications between the physical and virtual function drivers. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -289,6 +289,12 @@ struct intelxl_admin_link_params {
|
||||
/** Link is up */
|
||||
#define INTELXL_ADMIN_LINK_UP 0x01
|
||||
|
||||
/** Admin queue Send Message to PF command */
|
||||
#define INTELXL_ADMIN_SEND_TO_PF 0x0801
|
||||
|
||||
/** Admin queue Send Message to VF command */
|
||||
#define INTELXL_ADMIN_SEND_TO_VF 0x0802
|
||||
|
||||
/** Admin queue command parameters */
|
||||
union intelxl_admin_params {
|
||||
/** Additional data buffer command parameters */
|
||||
@@ -824,4 +830,8 @@ struct intelxl_nic {
|
||||
struct io_buffer *rx_iobuf[INTELXL_RX_NUM_DESC];
|
||||
};
|
||||
|
||||
extern void intelxlvf_admin_event ( struct net_device *netdev,
|
||||
struct intelxl_admin_descriptor *evt,
|
||||
union intelxl_admin_buffer *buf );
|
||||
|
||||
#endif /* _INTELXL_H */
|
||||
|
||||
Reference in New Issue
Block a user