Lines Matching refs:wr
479 ibt_send_wr_t *wr, unsigned int pos,
486 "ic: %p, wr: %p scat: %p %d %d %d %d",
487 ic, wr, scat, pos, off, length, send_flags);
489 wr->wr_id = pos | RDSV3_IB_SEND_OP;
490 wr->wr_trans = IBT_RC_SRV;
491 wr->wr_flags = send_flags;
492 wr->wr_opcode = IBT_WRC_SEND;
513 sge = &wr->wr_sgl[ix++];
525 wr->wr_nds = ix;
531 wr->wr_nds = 1;
534 sge = &wr->wr_sgl[0];
540 "Return: ic: %p, wr: %p scat: %p", ic, wr, scat);
565 ibt_send_wr_t *wr;
729 wr = &ic->i_send_wrs[0];
730 rdsv3_ib_xmit_populate_wr(ic, wr, pos, NULL, 0, 0, send_flags);
733 send->s_opcode = wr->wr_opcode;
743 wr = &ic->i_send_wrs[i];
746 rdsv3_ib_xmit_populate_wr(ic, wr, pos, scat, off, len,
750 send->s_opcode = wr->wr_opcode;
760 wr->wr_flags |=
768 wr->wr_flags |=
777 wr->wr_flags |=
781 RDSV3_DPRINTF5("rdsv3_ib_xmit", "send %p wr %p num_sge %u \n",
782 send, wr, wr->wr_nds);
834 wr->wr_flags |= IBT_WR_SEND_SIGNAL | IBT_WR_SEND_SOLICIT;
998 ibt_send_wr_t *wr;
1034 * send wr's each with a scatter list of RDSV3_IB_MAX_SGE
1049 wr = &ic->i_send_wrs[k];
1050 wr->wr_flags = 0;
1051 wr->wr_id = pos | RDSV3_IB_SEND_OP;
1052 wr->wr_trans = IBT_RC_SRV;
1053 wr->wr_opcode = op->r_write ? IBT_WRC_RDMAW :
1055 wr->wr.rc.rcwr.rdma.rdma_raddr = remote_addr;
1056 wr->wr.rc.rcwr.rdma.rdma_rkey = op->r_key;
1065 wr->wr_nds = count;
1068 sge = &wr->wr_sgl[j];
1078 "wr[%d] %p key: %x code: %d tlen: %d",
1079 k, wr, wr->wr.rc.rcwr.rdma.rdma_rkey,
1080 wr->wr_opcode, sent);
1090 wr->wr_flags = IBT_WR_SEND_SIGNAL;