Changeset 9294
- Timestamp:
- 04/23/12 15:21:59 (14 months ago)
- Files:
-
- 1 modified
-
branches/stable/src/io/bmi/bmi_ib/ib.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/src/io/bmi/bmi_ib/ib.c
r8832 r9294 124 124 ++ret; 125 125 if (wc.status != 0) { 126 struct buf_head *bh = ptr_from_int64(wc.id); 126 127 /* opcode is not necessarily valid; only wr_id, status, qp_num, 127 128 * and vendor_err can be relied upon */ 128 129 if (wc.opcode == BMI_IB_OP_SEND) { 129 debug(0, "%s: entry id 0x%llx SEND error %s ", __func__,130 llu(wc.id), wc_status_string(wc.status) );130 debug(0, "%s: entry id 0x%llx SEND error %s to %s", __func__, 131 llu(wc.id), wc_status_string(wc.status), bh->c->peername); 131 132 if (wc.id) { 132 133 ib_connection_t *c = ptr_from_int64(wc.id); … … 134 135 debug(0, 135 136 "%s: ignoring send error on cancelled conn to %s", 136 __func__, c->peername);137 __func__, bh->c->peername); 137 138 } 138 139 } 139 140 } else { 140 error("%s: entry id 0x%llx opcode %s error %s", __func__, 141 warning("%s: entry id 0x%llx opcode %s error %s from %s", 142 __func__, 141 143 llu(wc.id), wc_opcode_string(wc.opcode), 142 wc_status_string(wc.status)); 144 wc_status_string(wc.status), bh->c->peername); 145 continue; 143 146 } 144 147 }
