diff options
author | Divy Le Ray <divy@chelsio.com> | 2007-08-21 23:49:10 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:50:47 -0400 |
commit | 6e3f03b72c1e11e19ea233a411a782f7231ba13f (patch) | |
tree | 4a6977c9ece02bc41002709767a3aaec13fed052 /drivers/net/cxgb3/sge.c | |
parent | 52b810d3055f0a49472d05500c6fea5aeabd01a6 (diff) |
cxgb3 - SGE doorbell overflow warning
Log doorbell Fifo overflow
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/sge.c')
-rw-r--r-- | drivers/net/cxgb3/sge.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c index 069c1aca8a6b..9233bbba9e91 100644 --- a/drivers/net/cxgb3/sge.c +++ b/drivers/net/cxgb3/sge.c | |||
@@ -2458,6 +2458,10 @@ void t3_sge_err_intr_handler(struct adapter *adapter) | |||
2458 | "(0x%x)\n", (v >> S_RSPQ0DISABLED) & 0xff); | 2458 | "(0x%x)\n", (v >> S_RSPQ0DISABLED) & 0xff); |
2459 | } | 2459 | } |
2460 | 2460 | ||
2461 | if (status & (F_HIPIODRBDROPERR | F_LOPIODRBDROPERR)) | ||
2462 | CH_ALERT(adapter, "SGE dropped %s priority doorbell\n", | ||
2463 | status & F_HIPIODRBDROPERR ? "high" : "lo"); | ||
2464 | |||
2461 | t3_write_reg(adapter, A_SG_INT_CAUSE, status); | 2465 | t3_write_reg(adapter, A_SG_INT_CAUSE, status); |
2462 | if (status & (F_RSPQCREDITOVERFOW | F_RSPQDISABLED)) | 2466 | if (status & (F_RSPQCREDITOVERFOW | F_RSPQDISABLED)) |
2463 | t3_fatal_err(adapter); | 2467 | t3_fatal_err(adapter); |