aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
diff options
context:
space:
mode:
authorVipul Pandya <vipul@chelsio.com>2012-05-18 05:59:24 -0400
committerRoland Dreier <roland@purestorage.com>2012-05-18 16:22:25 -0400
commit881806bc155c0d5d78196c8bfae0ea2e76ae7386 (patch)
tree20ac25b6859424a3bed1c4d64664d9264a013056 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
parent14b9222808bb8bfefc71f72bc0dbdcf3b2f0140f (diff)
cxgb4: Detect DB FULL events and notify RDMA ULD
Signed-off-by: Vipul Pandya <vipul@chelsio.com> Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/cxgb4.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
index 0fe18850c838..f91b259f19be 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
@@ -504,6 +504,8 @@ struct adapter {
504 void **tid_release_head; 504 void **tid_release_head;
505 spinlock_t tid_release_lock; 505 spinlock_t tid_release_lock;
506 struct work_struct tid_release_task; 506 struct work_struct tid_release_task;
507 struct work_struct db_full_task;
508 struct work_struct db_drop_task;
507 bool tid_release_task_busy; 509 bool tid_release_task_busy;
508 510
509 struct dentry *debugfs_root; 511 struct dentry *debugfs_root;
@@ -719,4 +721,6 @@ int t4_ctrl_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf,
719int t4_ofld_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, 721int t4_ofld_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf,
720 unsigned int vf, unsigned int eqid); 722 unsigned int vf, unsigned int eqid);
721int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl); 723int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl);
724void t4_db_full(struct adapter *adapter);
725void t4_db_dropped(struct adapter *adapter);
722#endif /* __CXGB4_H__ */ 726#endif /* __CXGB4_H__ */