Lines Matching refs:wr
475 int mthca_tavor_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr, in mthca_tavor_post_srq_recv() argument
494 for (nreq = 0; wr; wr = wr->next) { in mthca_tavor_post_srq_recv()
502 *bad_wr = wr; in mthca_tavor_post_srq_recv()
514 if (unlikely(wr->num_sge > srq->max_gs)) { in mthca_tavor_post_srq_recv()
516 *bad_wr = wr; in mthca_tavor_post_srq_recv()
521 for (i = 0; i < wr->num_sge; ++i) { in mthca_tavor_post_srq_recv()
522 mthca_set_data_seg(wqe, wr->sg_list + i); in mthca_tavor_post_srq_recv()
532 srq->wrid[ind] = wr->wr_id; in mthca_tavor_post_srq_recv()
575 int mthca_arbel_post_srq_recv(struct ib_srq *ibsrq, struct ib_recv_wr *wr, in mthca_arbel_post_srq_recv() argument
590 for (nreq = 0; wr; ++nreq, wr = wr->next) { in mthca_arbel_post_srq_recv()
598 *bad_wr = wr; in mthca_arbel_post_srq_recv()
607 if (unlikely(wr->num_sge > srq->max_gs)) { in mthca_arbel_post_srq_recv()
609 *bad_wr = wr; in mthca_arbel_post_srq_recv()
613 for (i = 0; i < wr->num_sge; ++i) { in mthca_arbel_post_srq_recv()
614 mthca_set_data_seg(wqe, wr->sg_list + i); in mthca_arbel_post_srq_recv()
621 srq->wrid[ind] = wr->wr_id; in mthca_arbel_post_srq_recv()