aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/cxgb3/regs.h8
-rw-r--r--drivers/net/cxgb3/sge.c4
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/regs.h b/drivers/net/cxgb3/regs.h
index aa80313c922e..282427877ea9 100644
--- a/drivers/net/cxgb3/regs.h
+++ b/drivers/net/cxgb3/regs.h
@@ -172,6 +172,14 @@
172 172
173#define A_SG_INT_CAUSE 0x5c 173#define A_SG_INT_CAUSE 0x5c
174 174
175#define S_HIPIODRBDROPERR 11
176#define V_HIPIODRBDROPERR(x) ((x) << S_HIPIODRBDROPERR)
177#define F_HIPIODRBDROPERR V_HIPIODRBDROPERR(1U)
178
179#define S_LOPIODRBDROPERR 10
180#define V_LOPIODRBDROPERR(x) ((x) << S_LOPIODRBDROPERR)
181#define F_LOPIODRBDROPERR V_LOPIODRBDROPERR(1U)
182
175#define S_RSPQDISABLED 3 183#define S_RSPQDISABLED 3
176#define V_RSPQDISABLED(x) ((x) << S_RSPQDISABLED) 184#define V_RSPQDISABLED(x) ((x) << S_RSPQDISABLED)
177#define F_RSPQDISABLED V_RSPQDISABLED(1U) 185#define F_RSPQDISABLED V_RSPQDISABLED(1U)
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);