qed: Add link support
Physical link is handled by the management Firmware. This patch lays the infrastructure for attention handling in the driver, as link change notifications arrive via async. attentions, as well the handling of such notifications. This patch also extends the API with the protocol drivers by adding registered callbacks which the protocol driver passes to qed in order to be notified of async. events originating from the FW/HW. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
0d8e0aa057
commit
cc875c2e4f
@@ -111,6 +111,10 @@ struct qed_eth_ops {
|
||||
int (*fill_dev_info)(struct qed_dev *cdev,
|
||||
struct qed_dev_eth_info *info);
|
||||
|
||||
void (*register_ops)(struct qed_dev *cdev,
|
||||
struct qed_eth_cb_ops *ops,
|
||||
void *cookie);
|
||||
|
||||
int (*vport_start)(struct qed_dev *cdev,
|
||||
u8 vport_id, u16 mtu,
|
||||
u8 drop_ttl0_flg,
|
||||
|
Reference in New Issue
Block a user