Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qedr/
Dqedr_cm.c384 struct ib_send_wr *swr, in qedr_gsi_build_header() argument
389 struct rdma_ah_attr *ah_attr = &get_qedr_ah(ud_wr(swr)->ah)->attr; in qedr_gsi_build_header()
403 for (i = 0; i < swr->num_sge; ++i) in qedr_gsi_build_header()
404 send_size += swr->sg_list[i].length; in qedr_gsi_build_header()
467 udh->bth.solicited_event = !!(swr->send_flags & IB_SEND_SOLICITED); in qedr_gsi_build_header()
469 udh->bth.destination_qpn = htonl(ud_wr(swr)->remote_qpn); in qedr_gsi_build_header()
513 struct ib_send_wr *swr, in qedr_gsi_build_packet() argument
525 rc = qedr_gsi_build_header(dev, qp, swr, &udh, &roce_mode); in qedr_gsi_build_packet()
551 packet->n_seg = swr->num_sge; in qedr_gsi_build_packet()
553 packet->payload[i].baddr = swr->sg_list[i].addr; in qedr_gsi_build_packet()
[all …]
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2680 struct ib_send_wr *swr; in bnxt_re_process_raw_qp_pkt_rx() local
2699 swr = &udwr.wr; in bnxt_re_process_raw_qp_pkt_rx()
2775 swr->num_sge = 2; in bnxt_re_process_raw_qp_pkt_rx()
2776 swr->sg_list = s_sge; in bnxt_re_process_raw_qp_pkt_rx()
2777 swr->wr_id = tbl_idx; in bnxt_re_process_raw_qp_pkt_rx()
2778 swr->opcode = IB_WR_SEND; in bnxt_re_process_raw_qp_pkt_rx()
2779 swr->next = NULL; in bnxt_re_process_raw_qp_pkt_rx()
2786 rc = bnxt_re_post_send_shadow_qp(rdev, qp, swr); in bnxt_re_process_raw_qp_pkt_rx()
/drivers/infiniband/core/
Dverbs.c2127 struct ib_rdma_wr swr = { in __ib_drain_sq() local
2145 ret = ib_post_send(qp, &swr.wr, &bad_swr); in __ib_drain_sq()