aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@qlogic.com>2015-10-26 05:02:31 -0400
committerDavid S. Miller <davem@davemloft.net>2015-10-27 22:34:50 -0400
commitcc875c2e4f34e86c2f562f18b6e917cfcc560bcb (patch)
treeb097e1dcac34ad2c650d82fb1fc722d38db98f0b /include/linux
parent0d8e0aa05796c8a5652c164de5e4f16d8c9ee199 (diff)
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/qed/qed_eth_if.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/qed/qed_eth_if.h b/include/linux/qed/qed_eth_if.h
index 67a7b41b70aa..ab1041424013 100644
--- a/include/linux/qed/qed_eth_if.h
+++ b/include/linux/qed/qed_eth_if.h
@@ -111,6 +111,10 @@ struct qed_eth_ops {
111 int (*fill_dev_info)(struct qed_dev *cdev, 111 int (*fill_dev_info)(struct qed_dev *cdev,
112 struct qed_dev_eth_info *info); 112 struct qed_dev_eth_info *info);
113 113
114 void (*register_ops)(struct qed_dev *cdev,
115 struct qed_eth_cb_ops *ops,
116 void *cookie);
117
114 int (*vport_start)(struct qed_dev *cdev, 118 int (*vport_start)(struct qed_dev *cdev,
115 u8 vport_id, u16 mtu, 119 u8 vport_id, u16 mtu,
116 u8 drop_ttl0_flg, 120 u8 drop_ttl0_flg,