Lines Matching refs:wr
73 struct ib_recv_wr wr; in rtrs_iu_post_recv() local
85 wr = (struct ib_recv_wr) { in rtrs_iu_post_recv()
91 return ib_post_recv(con->qp, &wr, NULL); in rtrs_iu_post_recv()
97 struct ib_recv_wr wr; in rtrs_post_recv_empty() local
99 wr = (struct ib_recv_wr) { in rtrs_post_recv_empty()
103 return ib_post_recv(con->qp, &wr, NULL); in rtrs_post_recv_empty()
108 struct ib_send_wr *wr, struct ib_send_wr *tail) in rtrs_post_send() argument
115 next->next = wr; in rtrs_post_send()
117 head = wr; in rtrs_post_send()
121 wr->next = tail; in rtrs_post_send()
130 struct ib_send_wr wr; in rtrs_iu_post_send() local
140 wr = (struct ib_send_wr) { in rtrs_iu_post_send()
148 return rtrs_post_send(con->qp, head, &wr, NULL); in rtrs_iu_post_send()
159 struct ib_rdma_wr wr; in rtrs_iu_post_rdma_write_imm() local
162 wr = (struct ib_rdma_wr) { in rtrs_iu_post_rdma_write_imm()
163 .wr.wr_cqe = &iu->cqe, in rtrs_iu_post_rdma_write_imm()
164 .wr.sg_list = sge, in rtrs_iu_post_rdma_write_imm()
165 .wr.num_sge = num_sge, in rtrs_iu_post_rdma_write_imm()
168 .wr.opcode = IB_WR_RDMA_WRITE_WITH_IMM, in rtrs_iu_post_rdma_write_imm()
169 .wr.ex.imm_data = cpu_to_be32(imm_data), in rtrs_iu_post_rdma_write_imm()
170 .wr.send_flags = flags, in rtrs_iu_post_rdma_write_imm()
181 return rtrs_post_send(con->qp, head, &wr.wr, tail); in rtrs_iu_post_rdma_write_imm()
190 struct ib_rdma_wr wr; in rtrs_post_rdma_write_imm_empty() local
198 wr = (struct ib_rdma_wr) { in rtrs_post_rdma_write_imm_empty()
199 .wr.wr_cqe = cqe, in rtrs_post_rdma_write_imm_empty()
200 .wr.send_flags = sflags, in rtrs_post_rdma_write_imm_empty()
201 .wr.opcode = IB_WR_RDMA_WRITE_WITH_IMM, in rtrs_post_rdma_write_imm_empty()
202 .wr.ex.imm_data = cpu_to_be32(imm_data), in rtrs_post_rdma_write_imm_empty()
205 return rtrs_post_send(con->qp, head, &wr.wr, NULL); in rtrs_post_rdma_write_imm_empty()