Skip to contentSkip to conversation

IB/qib: add err_decode() call for ring dump

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

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB/qib: add err_decode() call for ring dump

Commit b3ddf380 ("Log all SDMA errors unconditionally") missed part of the patch.

---
 drivers/infiniband/hw/qib/qib_iba7322.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/infiniband/hw/qib/qib_iba7322.c +2 -0
index 21e8b09..016e742 100644
@@ -1596,6 +1596,8 @@ static void sdma_7322_p_errors(struct qib_pportdata *ppd, u64 errs)
 	struct qib_devdata *dd = ppd->dd;
 
 	errs &= QIB_E_P_SDMAERRS;
+	err_decode(ppd->cpspec->sdmamsgbuf, sizeof(ppd->cpspec->sdmamsgbuf),
+		   errs, qib_7322p_error_msgs);
 
 	if (errs & QIB_E_P_SDMAUNEXPDATA)
 		qib_dev_err(dd, "IB%u:%u SDmaUnexpData\n", dd->unit,

--
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