SDP: Also log a nice status string in RX WC error dbg()
Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
92d90f6142
commit
1ac512e80b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351161
@ -481,8 +481,9 @@ sdp_process_rx_wc(struct sdp_sock *ssk, struct ib_wc *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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user