Lines Matching full:wc
145 void (*done)(struct ib_cq *cq, struct ib_wc *wc)) in iser_create_send_desc() argument
533 void iser_login_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_login_rsp() argument
535 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_login_rsp()
537 struct iser_login_desc *desc = iser_login(wc->wr_cqe); in iser_login_rsp()
543 if (unlikely(wc->status != IB_WC_SUCCESS)) { in iser_login_rsp()
544 iser_err_comp(wc, "login_rsp"); in iser_login_rsp()
554 length = wc->byte_len - ISER_HEADERS_LEN; in iser_login_rsp()
592 static int iser_check_remote_inv(struct iser_conn *iser_conn, struct ib_wc *wc, in iser_check_remote_inv() argument
595 if (wc->wc_flags & IB_WC_WITH_INVALIDATE) { in iser_check_remote_inv()
597 u32 rkey = wc->ex.invalidate_rkey; in iser_check_remote_inv()
634 void iser_task_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_task_rsp() argument
636 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_task_rsp()
638 struct iser_rx_desc *desc = iser_rx(wc->wr_cqe); in iser_task_rsp()
642 if (unlikely(wc->status != IB_WC_SUCCESS)) { in iser_task_rsp()
643 iser_err_comp(wc, "task_rsp"); in iser_task_rsp()
652 length = wc->byte_len - ISER_HEADERS_LEN; in iser_task_rsp()
657 if (iser_check_remote_inv(iser_conn, wc, hdr)) { in iser_task_rsp()
674 void iser_cmd_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_cmd_comp() argument
676 if (unlikely(wc->status != IB_WC_SUCCESS)) in iser_cmd_comp()
677 iser_err_comp(wc, "command"); in iser_cmd_comp()
680 void iser_ctrl_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_ctrl_comp() argument
682 struct iser_tx_desc *desc = iser_tx(wc->wr_cqe); in iser_ctrl_comp()
685 if (unlikely(wc->status != IB_WC_SUCCESS)) { in iser_ctrl_comp()
686 iser_err_comp(wc, "control"); in iser_ctrl_comp()
696 void iser_dataout_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_dataout_comp() argument
698 struct iser_tx_desc *desc = iser_tx(wc->wr_cqe); in iser_dataout_comp()
699 struct ib_conn *ib_conn = wc->qp->qp_context; in iser_dataout_comp()
702 if (unlikely(wc->status != IB_WC_SUCCESS)) in iser_dataout_comp()
703 iser_err_comp(wc, "dataout"); in iser_dataout_comp()