Changeset 9294

Show
Ignore:
Timestamp:
04/23/12 15:21:59 (14 months ago)
Author:
wolf
Message:

Fix ib_check_cq error to warning on receive error IBV_WC_WR_FLUSH_ERR

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/stable/src/io/bmi/bmi_ib/ib.c

    r8832 r9294  
    124124        ++ret; 
    125125        if (wc.status != 0) { 
     126            struct buf_head *bh = ptr_from_int64(wc.id); 
    126127            /* opcode is not necessarily valid; only wr_id, status, qp_num, 
    127128             * and vendor_err can be relied upon */ 
    128129            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); 
    131132                if (wc.id) { 
    132133                    ib_connection_t *c = ptr_from_int64(wc.id); 
     
    134135                        debug(0, 
    135136                          "%s: ignoring send error on cancelled conn to %s", 
    136                           __func__, c->peername); 
     137                          __func__, bh->c->peername); 
    137138                    } 
    138139                } 
    139140            } 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__, 
    141143                  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; 
    143146            } 
    144147        }