Skip to contentSkip to conversation

IB/qib: Log all SDMA errors unconditionally.

PATCH Superseded Mike Marciniszyn 1 participant 1 message Jul 11, 2013 InfiniBand

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB/qib: Log all SDMA errors unconditionally.

From: Dean Luick <[email protected]>

This patch adds code to log SDMA errors for
supportability purposes.

---
 drivers/infiniband/hw/qib/qib.h         |    2 -
 drivers/infiniband/hw/qib/qib_iba7322.c |  114 +++++++++++++++++++++++++++++++
 drivers/infiniband/hw/qib/qib_sdma.c    |   56 +++++++++++++++
 3 files changed, 171 insertions(+), 1 deletion(-)
drivers/infiniband/hw/qib/qib.h +1 -1
index 5453e2b..4a9af79 100644
@@ -1348,7 +1348,7 @@ static inline int __qib_sdma_running(struct qib_pportdata *ppd)
 	return ppd->sdma_state.current_state == qib_sdma_state_s99_running;
 }
 int qib_sdma_running(struct qib_pportdata *);
-
+void dump_sdma_state(struct qib_pportdata *ppd);
 void __qib_sdma_process_event(struct qib_pportdata *, enum qib_sdma_events);
 void qib_sdma_process_event(struct qib_pportdata *, enum qib_sdma_events);
 
drivers/infiniband/hw/qib/qib_iba7322.c +114 -0

144 lines not on this page · raw message

drivers/infiniband/hw/qib/qib_sdma.c +56 -0

62 lines not on this page · raw message

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html