diff options
Diffstat (limited to 'drivers/net/cxgb3/sge.c')
-rw-r--r-- | drivers/net/cxgb3/sge.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c index 318a018ca7c5..9b434461c4f1 100644 --- a/drivers/net/cxgb3/sge.c +++ b/drivers/net/cxgb3/sge.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include "sge_defs.h" | 42 | #include "sge_defs.h" |
43 | #include "t3_cpl.h" | 43 | #include "t3_cpl.h" |
44 | #include "firmware_exports.h" | 44 | #include "firmware_exports.h" |
45 | #include "cxgb3_offload.h" | ||
45 | 46 | ||
46 | #define USE_GTS 0 | 47 | #define USE_GTS 0 |
47 | 48 | ||
@@ -2833,8 +2834,13 @@ void t3_sge_err_intr_handler(struct adapter *adapter) | |||
2833 | } | 2834 | } |
2834 | 2835 | ||
2835 | if (status & (F_HIPIODRBDROPERR | F_LOPIODRBDROPERR)) | 2836 | if (status & (F_HIPIODRBDROPERR | F_LOPIODRBDROPERR)) |
2836 | CH_ALERT(adapter, "SGE dropped %s priority doorbell\n", | 2837 | queue_work(cxgb3_wq, &adapter->db_drop_task); |
2837 | status & F_HIPIODRBDROPERR ? "high" : "lo"); | 2838 | |
2839 | if (status & (F_HIPRIORITYDBFULL | F_LOPRIORITYDBFULL)) | ||
2840 | queue_work(cxgb3_wq, &adapter->db_full_task); | ||
2841 | |||
2842 | if (status & (F_HIPRIORITYDBEMPTY | F_LOPRIORITYDBEMPTY)) | ||
2843 | queue_work(cxgb3_wq, &adapter->db_empty_task); | ||
2838 | 2844 | ||
2839 | t3_write_reg(adapter, A_SG_INT_CAUSE, status); | 2845 | t3_write_reg(adapter, A_SG_INT_CAUSE, status); |
2840 | if (status & SGE_FATALERR) | 2846 | if (status & SGE_FATALERR) |