Skip to contentSkip to conversation

IB/qib: Log all SDMA errors unconditionally.

PATCH In review Mike Marciniszyn 1 participant 3 messages Jul 12, 2013 2 messages not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH v2 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 |  116 +++++++++++++++++++++++++++++++
 drivers/infiniband/hw/qib/qib_sdma.c    |   56 +++++++++++++++
 3 files changed, 173 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 +116 -0

152 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