Lines Matching refs:wc
1905 static void srp_handle_recv(struct srp_rdma_ch *ch, struct ib_wc *wc) in srp_handle_recv() argument
1909 struct srp_iu *iu = (struct srp_iu *) (uintptr_t) wc->wr_id; in srp_handle_recv()
1922 iu->buf, wc->byte_len, true); in srp_handle_recv()
2009 struct ib_wc wc; in srp_recv_completion() local
2012 while (ib_poll_cq(cq, 1, &wc) > 0) { in srp_recv_completion()
2013 if (likely(wc.status == IB_WC_SUCCESS)) { in srp_recv_completion()
2014 srp_handle_recv(ch, &wc); in srp_recv_completion()
2016 srp_handle_qp_err(wc.wr_id, wc.status, false, ch); in srp_recv_completion()
2024 struct ib_wc wc; in srp_send_completion() local
2027 while (ib_poll_cq(cq, 1, &wc) > 0) { in srp_send_completion()
2028 if (likely(wc.status == IB_WC_SUCCESS)) { in srp_send_completion()
2029 iu = (struct srp_iu *) (uintptr_t) wc.wr_id; in srp_send_completion()
2032 srp_handle_qp_err(wc.wr_id, wc.status, true, ch); in srp_send_completion()