Lines Matching defs:wr

175 dapli_hermon_wqe_send_build(ib_qp_handle_t qp, ibt_send_wr_t *wr,
193 nds = wr->wr_nds;
194 sgl = wr->wr_sgl;
196 ctrl = ((wr->wr_flags & IBT_WR_SEND_SIGNAL) ?
198 ((wr->wr_flags & IBT_WR_SEND_SOLICIT) ?
205 switch (wr->wr_opcode) {
226 if (wr->wr_opcode == IBT_WRC_RDMAR) {
242 TAVOR_WQE_BUILD_REMADDR(rc, &wr->wr.rc.rcwr.rdma);
256 /* XXX - need equiv of "hermon_wr_bind_check(state, wr);" */
259 old_rkey = wr->wr.rc.rcwr.bind->bind_rkey;
264 wr->wr.rc.rcwr.bind->bind_rkey_out = new_rkey;
274 TAVOR_WQE_BUILD_BIND(bn, wr->wr.rc.rcwr.bind);
290 wr->wr_opcode);
398 (wr->wr_flags & IBT_WR_SEND_FENCE) ?
409 dapli_hermon_wqe_recv_build(ib_qp_handle_t qp, ibt_recv_wr_t *wr,
421 if (wr->wr_nds > qp->qp_rq_sgl) {
434 for (i = 0; i < wr->wr_nds; i++) {
435 if (wr->wr_sgl[i].ds_len == 0) {
444 TAVOR_WQE_BUILD_DATA_SEG(&ds[num_ds], &wr->wr_sgl[i]);
466 dapli_hermon_wqe_srq_build(ib_srq_handle_t srq, ibt_recv_wr_t *wr,
480 if (wr->wr_nds > srq->srq_wq_sgl) {
493 for (i = 0; i < wr->wr_nds; i++) {
494 if (wr->wr_sgl[i].ds_len == 0) {
503 TAVOR_WQE_BUILD_DATA_SEG(&ds[num_ds], &wr->wr_sgl[i]);
1074 dapli_hermon_post_send(DAPL_EP *ep, ibt_send_wr_t *wr, boolean_t ns)
1135 status = dapli_hermon_wqe_send_build(qp, wr, wqe_addr, &desc_sz);
1154 if (wr->wr_flags & IBT_WR_SEND_SIGNAL) {
1158 dapli_tavor_wrid_add_entry(qp->qp_sq_wqhdr, wr->wr_id, wqeaddrsz,
1230 dapli_hermon_post_recv(DAPL_EP *ep, ibt_recv_wr_t *wr, boolean_t ns)
1291 status = dapli_hermon_wqe_recv_build(qp, wr, wqe_addr, &desc_sz);
1304 dapli_tavor_wrid_add_entry(qp->qp_rq_wqhdr, wr->wr_id, wqeaddrsz,
1342 dapli_hermon_post_srq(DAPL_SRQ *srqp, ibt_recv_wr_t *wr, boolean_t ns)
1393 status = dapli_hermon_wqe_srq_build(srq, wr, wqe_addr);
1402 dapli_tavor_wrid_add_entry_srq(srq, wr->wr_id, wqe_index);