Date: Sat, 17 Aug 2019 03:05:09 +0000 (UTC) From: Conrad Meyer <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r351160 - head/sys/ofed/drivers/infiniband/ulp/sdp Message-ID: <201908170305.x7H359w1052019@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908170305.x7H359w1052019>