Lines Matching refs:swr
383 const struct ib_send_wr *swr, in qedr_gsi_build_header() argument
388 struct rdma_ah_attr *ah_attr = &get_qedr_ah(ud_wr(swr)->ah)->attr; in qedr_gsi_build_header()
408 for (i = 0; i < swr->num_sge; ++i) in qedr_gsi_build_header()
409 send_size += swr->sg_list[i].length; in qedr_gsi_build_header()
448 udh->bth.solicited_event = !!(swr->send_flags & IB_SEND_SOLICITED); in qedr_gsi_build_header()
450 udh->bth.destination_qpn = htonl(ud_wr(swr)->remote_qpn); in qedr_gsi_build_header()
494 const struct ib_send_wr *swr, in qedr_gsi_build_packet() argument
506 rc = qedr_gsi_build_header(dev, qp, swr, &udh, &roce_mode); in qedr_gsi_build_packet()
532 packet->n_seg = swr->num_sge; in qedr_gsi_build_packet()
534 packet->payload[i].baddr = swr->sg_list[i].addr; in qedr_gsi_build_packet()
535 packet->payload[i].len = swr->sg_list[i].length; in qedr_gsi_build_packet()