Home
last modified time | relevance | path

Searched refs:ib_wr (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_qp.c790 int c2_post_send(struct ib_qp *ibqp, struct ib_send_wr *ib_wr, in c2_post_send() argument
809 while (ib_wr) { in c2_post_send()
812 wr.sqwr.sq_hdr.user_hdr.hdr.context = ib_wr->wr_id; in c2_post_send()
813 if (ib_wr->send_flags & IB_SEND_SIGNALED) { in c2_post_send()
817 switch (ib_wr->opcode) { in c2_post_send()
820 if (ib_wr->opcode == IB_WR_SEND) { in c2_post_send()
821 if (ib_wr->send_flags & IB_SEND_SOLICITED) in c2_post_send()
827 if (ib_wr->send_flags & IB_SEND_SOLICITED) in c2_post_send()
832 cpu_to_be32(ib_wr->ex.invalidate_rkey); in c2_post_send()
836 sizeof(struct c2_data_addr) * ib_wr->num_sge; in c2_post_send()
[all …]
Dc2.h496 extern int c2_post_send(struct ib_qp *ibqp, struct ib_send_wr *ib_wr,
498 extern int c2_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *ib_wr,
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_verbs.c3233 fill_wqe_sg_send(struct nes_hw_qp_wqe *wqe, struct ib_send_wr *ib_wr, u32 uselkey) in fill_wqe_sg_send() argument
3237 for (sge_index = 0; sge_index < ib_wr->num_sge; sge_index++) { in fill_wqe_sg_send()
3239 ib_wr->sg_list[sge_index].addr); in fill_wqe_sg_send()
3241 ib_wr->sg_list[sge_index].length); in fill_wqe_sg_send()
3244 (ib_wr->sg_list[sge_index].lkey)); in fill_wqe_sg_send()
3248 total_payload_length += ib_wr->sg_list[sge_index].length; in fill_wqe_sg_send()
3259 static int nes_post_send(struct ib_qp *ibqp, struct ib_send_wr *ib_wr, in nes_post_send() argument
3284 while (ib_wr) { in nes_post_send()
3301 u64temp = (u64)(ib_wr->wr_id); in nes_post_send()
3304 switch (ib_wr->opcode) { in nes_post_send()
[all …]