-isert_rx_do_work(struct iser_rx_desc *rx_desc, struct isert_conn *isert_conn) +isert_print_wc(struct ib_wc *wc) +{ + if (wc->status != IB_WC_WR_FLUSH_ERR) + isert_err("%s (%d): cqe 0x%p vend_err %x\n", + ib_wc_status_msg(wc->status), wc->status, + wc->wr_cqe, wc->vendor_err); + else + isert_dbg("%s (%d): cqe 0x%p\n", + ib_wc_status_msg(wc->status), wc->status, + wc->wr_cqe); + +}
I don't find the wr_cqe address all that useful. I modified isert_print_wc to get a error type instead ("send", "recv", "rdma write"...) sounds fine? -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html