|
@@ -64,10 +64,16 @@ void cxgb3_register_client(struct cxgb3_client *client);
|
|
void cxgb3_unregister_client(struct cxgb3_client *client);
|
|
void cxgb3_unregister_client(struct cxgb3_client *client);
|
|
void cxgb3_add_clients(struct t3cdev *tdev);
|
|
void cxgb3_add_clients(struct t3cdev *tdev);
|
|
void cxgb3_remove_clients(struct t3cdev *tdev);
|
|
void cxgb3_remove_clients(struct t3cdev *tdev);
|
|
|
|
+void cxgb3_err_notify(struct t3cdev *tdev, u32 status, u32 error);
|
|
|
|
|
|
typedef int (*cxgb3_cpl_handler_func)(struct t3cdev *dev,
|
|
typedef int (*cxgb3_cpl_handler_func)(struct t3cdev *dev,
|
|
struct sk_buff *skb, void *ctx);
|
|
struct sk_buff *skb, void *ctx);
|
|
|
|
|
|
|
|
+enum {
|
|
|
|
+ OFFLOAD_STATUS_UP,
|
|
|
|
+ OFFLOAD_STATUS_DOWN
|
|
|
|
+};
|
|
|
|
+
|
|
struct cxgb3_client {
|
|
struct cxgb3_client {
|
|
char *name;
|
|
char *name;
|
|
void (*add) (struct t3cdev *);
|
|
void (*add) (struct t3cdev *);
|
|
@@ -76,6 +82,7 @@ struct cxgb3_client {
|
|
int (*redirect)(void *ctx, struct dst_entry *old,
|
|
int (*redirect)(void *ctx, struct dst_entry *old,
|
|
struct dst_entry *new, struct l2t_entry *l2t);
|
|
struct dst_entry *new, struct l2t_entry *l2t);
|
|
struct list_head client_list;
|
|
struct list_head client_list;
|
|
|
|
+ void (*err_handler)(struct t3cdev *tdev, u32 status, u32 error);
|
|
};
|
|
};
|
|
|
|
|
|
/*
|
|
/*
|