Date: Sat, 17 Aug 2019 03:06:46 +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: r351161 - head/sys/ofed/drivers/infiniband/ulp/sdp Message-ID: <201908170306.x7H36k6V052134@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cem Date: Sat Aug 17 03:06:46 2019 New Revision: 351161 URL: https://svnweb.freebsd.org/changeset/base/351161 Log: SDP: Also log a nice status string in RX WC error dbg() Sponsored by: Dell EMC Isilon Modified: head/sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c Modified: head/sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c ============================================================================== --- head/sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c Sat Aug 17 03:05:09 2019 (r351160) +++ head/sys/ofed/drivers/infiniband/ulp/sdp/sdp_rx.c Sat Aug 17 03:06:46 2019 (r351161) @@ -481,8 +481,9 @@ sdp_process_rx_wc(struct sdp_sock *ssk, struct ib_wc * if (unlikely(wc->status)) { if (ssk->qp_active && sk) { sdp_dbg(sk, "Recv completion with error. " - "Status %d, vendor: %d\n", - wc->status, wc->vendor_err); + "Status %s (%d), vendor: %d\n", + ib_wc_status_msg(wc->status), wc->status, + wc->vendor_err); sdp_abort(sk); ssk->qp_active = 0; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908170306.x7H36k6V052134>