IB/qib: Log all SDMA errors unconditionally.
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.
Signed-off-by Dean Luick <[email protected]>
Signed-off-by Mike Marciniszyn <[email protected]>
--- 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
@@ -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