aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/cxgb3_offload.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgb3/cxgb3_offload.c')
-rw-r--r--drivers/net/cxgb3/cxgb3_offload.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/cxgb3_offload.c b/drivers/net/cxgb3/cxgb3_offload.c
index 2d7f69aff1d9..620d80be6aac 100644
--- a/drivers/net/cxgb3/cxgb3_offload.c
+++ b/drivers/net/cxgb3/cxgb3_offload.c
@@ -153,6 +153,18 @@ void cxgb3_remove_clients(struct t3cdev *tdev)
153 mutex_unlock(&cxgb3_db_lock); 153 mutex_unlock(&cxgb3_db_lock);
154} 154}
155 155
156void cxgb3_err_notify(struct t3cdev *tdev, u32 status, u32 error)
157{
158 struct cxgb3_client *client;
159
160 mutex_lock(&cxgb3_db_lock);
161 list_for_each_entry(client, &client_list, client_list) {
162 if (client->err_handler)
163 client->err_handler(tdev, status, error);
164 }
165 mutex_unlock(&cxgb3_db_lock);
166}
167
156static struct net_device *get_iff_from_mac(struct adapter *adapter, 168static struct net_device *get_iff_from_mac(struct adapter *adapter,
157 const unsigned char *mac, 169 const unsigned char *mac,
158 unsigned int vlan) 170 unsigned int vlan)