Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c381 const struct ib_send_wr *swr, in qedr_gsi_build_header() argument
386 struct rdma_ah_attr *ah_attr = &get_qedr_ah(ud_wr(swr)->ah)->attr; in qedr_gsi_build_header()
406 for (i = 0; i < swr->num_sge; ++i) in qedr_gsi_build_header()
407 send_size += swr->sg_list[i].length; in qedr_gsi_build_header()
446 udh->bth.solicited_event = !!(swr->send_flags & IB_SEND_SOLICITED); in qedr_gsi_build_header()
448 udh->bth.destination_qpn = htonl(ud_wr(swr)->remote_qpn); in qedr_gsi_build_header()
492 const struct ib_send_wr *swr, in qedr_gsi_build_packet() argument
504 rc = qedr_gsi_build_header(dev, qp, swr, &udh, &roce_mode); in qedr_gsi_build_packet()
530 packet->n_seg = swr->num_sge; in qedr_gsi_build_packet()
532 packet->payload[i].baddr = swr->sg_list[i].addr; in qedr_gsi_build_packet()
[all …]
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c3365 struct ib_send_wr *swr; in bnxt_re_process_raw_qp_pkt_rx() local
3373 swr = &udwr.wr; in bnxt_re_process_raw_qp_pkt_rx()
3449 swr->num_sge = 2; in bnxt_re_process_raw_qp_pkt_rx()
3450 swr->sg_list = s_sge; in bnxt_re_process_raw_qp_pkt_rx()
3451 swr->wr_id = tbl_idx; in bnxt_re_process_raw_qp_pkt_rx()
3452 swr->opcode = IB_WR_SEND; in bnxt_re_process_raw_qp_pkt_rx()
3453 swr->next = NULL; in bnxt_re_process_raw_qp_pkt_rx()
3460 return bnxt_re_post_send_shadow_qp(rdev, gsi_sqp, swr); in bnxt_re_process_raw_qp_pkt_rx()
/drivers/infiniband/core/
Dverbs.c2819 struct ib_rdma_wr swr = { in __ib_drain_sq() local
2837 ret = ib_post_send(qp, &swr.wr, NULL); in __ib_drain_sq()
/drivers/infiniband/hw/mlx4/
Dqp.c4452 struct ib_rdma_wr swr = { in mlx4_ib_drain_sq() local
4472 ret = _mlx4_ib_post_send(qp, &swr.wr, &bad_swr, true); in mlx4_ib_drain_sq()
/drivers/infiniband/hw/mlx5/
Dqp.c5743 struct ib_rdma_wr swr = { in mlx5_ib_drain_sq() local
5763 ret = mlx5_ib_post_send_drain(qp, &swr.wr, &bad_swr); in mlx5_ib_drain_sq()