svn commit: r351160 - head/sys/ofed/drivers/infiniband/ulp/sdp
Conrad Meyer
cem at FreeBSD.org
Sat Aug 17 03:05:10 UTC 2019
Author: cem
Date: Sat Aug 17 03:05:09 2019
New Revision: 351160
URL: https://svnweb.freebsd.org/changeset/base/351160
Log:
SDP: Include nice string names for raw event numbers in a dbg()
Sponsored by: Dell EMC Isilon
Modified:
head/sys/ofed/drivers/infiniband/ulp/sdp/sdp_cma.c
Modified: head/sys/ofed/drivers/infiniband/ulp/sdp/sdp_cma.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/ulp/sdp/sdp_cma.c Sat Aug 17 03:03:26 2019 (r351159)
+++ head/sys/ofed/drivers/infiniband/ulp/sdp/sdp_cma.c Sat Aug 17 03:05:09 2019 (r351160)
@@ -439,7 +439,8 @@ sdp_cma_handler(struct rdma_cm_id *id, struct rdma_cm_
break;
}
- sdp_dbg(sk, "event %d done. status %d\n", event->event, rc);
+ sdp_dbg(sk, "event %s (%d) done. status %d\n",
+ rdma_event_msg(event->event), event->event, rc);
if (rc) {
SDP_WLOCK(ssk);
More information about the svn-src-head
mailing list