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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to