Home
last modified time | relevance | path

Searched refs:ud_wr (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/include/rdma/
Drdmavt_qp.h169 struct rvt_ud_wr ud_wr; member
214 return ibah_to_rvtah(swqe->ud_wr.wr.ah); in rvt_get_swqe_ah()
224 return swqe->ud_wr.attr; in rvt_get_swqe_ah_attr()
234 return swqe->ud_wr.wr.remote_qpn; in rvt_get_swqe_remote_qpn()
244 return swqe->ud_wr.wr.remote_qkey; in rvt_get_swqe_remote_qkey()
254 return swqe->ud_wr.wr.pkey_index; in rvt_get_swqe_pkey_index()
751 rdma_destroy_ah_attr(wqe->ud_wr.attr); in rvt_put_qp_swqe()
Dib_verbs.h1424 static inline const struct ib_ud_wr *ud_wr(const struct ib_send_wr *wr) in ud_wr() function
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dwr.c66 struct ib_ud_wr *ud_wr = container_of(wr, struct ib_ud_wr, wr); in set_eth_seg() local
68 void *pdata = ud_wr->header; in set_eth_seg()
71 left = ud_wr->hlen; in set_eth_seg()
72 eseg->mss = cpu_to_be16(ud_wr->mss); in set_eth_seg()
105 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av)); in set_datagram_seg()
107 cpu_to_be32(ud_wr(wr)->remote_qpn | MLX5_EXTENDED_UD_AV); in set_datagram_seg()
108 dseg->av.key.qkey.qkey = cpu_to_be32(ud_wr(wr)->remote_qkey); in set_datagram_seg()
Dgsi.c439 struct ib_ud_wr cur_wr = *ud_wr(wr); in mlx5_ib_gsi_post_send()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_qp.c777 if (unlikely(!ud_wr(wr)->ah)) { in pvrdma_post_send()
789 wqe_hdr->wr.ud.remote_qpn = ud_wr(wr)->remote_qpn; in pvrdma_post_send()
791 ud_wr(wr)->remote_qkey & 0x80000000 ? in pvrdma_post_send()
792 qp->qkey : ud_wr(wr)->remote_qkey; in pvrdma_post_send()
793 wqe_hdr->wr.ud.av = to_vah(ud_wr(wr)->ah)->av; in pvrdma_post_send()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_verbs.c533 struct ib_ah *ibah = ud_wr(ibwr)->ah; in init_send_wr()
535 wr->wr.ud.remote_qpn = ud_wr(ibwr)->remote_qpn; in init_send_wr()
536 wr->wr.ud.remote_qkey = ud_wr(ibwr)->remote_qkey; in init_send_wr()
539 wr->wr.ud.pkey_index = ud_wr(ibwr)->pkey_index; in init_send_wr()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c986 kfree(wqe->ud_wr.attr); in free_ud_wq_attr()
987 wqe->ud_wr.attr = NULL; in free_ud_wq_attr()
1006 wqe->ud_wr.attr = kzalloc_node(sizeof(*wqe->ud_wr.attr), in alloc_ud_wq_attr()
1008 if (!wqe->ud_wr.attr) { in alloc_ud_wq_attr()
1890 if (qp->ibqp.pd != ud_wr(wr)->ah->pd) in rvt_qp_valid_operation()
2079 rdma_copy_ah_attr(wqe->ud_wr.attr, &ah->attr); in rvt_post_one_wr()
2124 rdma_destroy_ah_attr(wqe->ud_wr.attr); in rvt_post_one_wr()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c387 struct rdma_ah_attr *ah_attr = &get_qedr_ah(ud_wr(swr)->ah)->attr; in qedr_gsi_build_header()
449 udh->bth.destination_qpn = htonl(ud_wr(swr)->remote_qpn); in qedr_gsi_build_header()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c3507 struct mlx4_ib_ah *ah = to_mah(ud_wr(wr)->ah); in _mlx4_ib_post_send()
3631 err = build_sriov_qp0_header(qp, ud_wr(wr), ctrl, in _mlx4_ib_post_send()
3643 set_datagram_seg(wqe, ud_wr(wr)); in _mlx4_ib_post_send()
3650 set_datagram_seg(wqe, ud_wr(wr)); in _mlx4_ib_post_send()
3655 err = build_lso_seg(wqe, ud_wr(wr), qp, &seglen, in _mlx4_ib_post_send()
3668 err = build_sriov_qp0_header(qp, ud_wr(wr), ctrl, in _mlx4_ib_post_send()
3680 build_tunnel_header(ud_wr(wr), wqe, &seglen); in _mlx4_ib_post_send()
3691 ud_wr(wr), in _mlx4_ib_post_send()
3695 build_tunnel_header(ud_wr(wr), wqe, &seglen); in _mlx4_ib_post_send()
3702 err = build_mlx_header(qp, ud_wr(wr), ctrl, &seglen); in _mlx4_ib_post_send()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_qp.c1734 set_tavor_ud_seg(wqe, ud_wr(wr)); in mthca_tavor_post_send()
1741 dev, qp, ind, ud_wr(wr), in mthca_tavor_post_send()
2064 set_arbel_ud_seg(wqe, ud_wr(wr)); in mthca_arbel_post_send()
2071 dev, qp, ind, ud_wr(wr), in mthca_arbel_post_send()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1880 struct ocrdma_ah *ah = get_ocrdma_ah(ud_wr(wr)->ah); in ocrdma_build_ud_hdr()
1882 ud_hdr->rsvd_dest_qpn = ud_wr(wr)->remote_qpn; in ocrdma_build_ud_hdr()
1886 ud_hdr->qkey = ud_wr(wr)->remote_qkey; in ocrdma_build_ud_hdr()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2115 struct bnxt_re_ah *ah = container_of(ud_wr(wr)->ah, struct bnxt_re_ah, in bnxt_re_build_qp1_send_v2()
2340 ah = container_of(ud_wr(wr)->ah, struct bnxt_re_ah, ib_ah); in bnxt_re_build_send_wqe()
2341 wqe->send.q_key = ud_wr(wr)->remote_qkey; in bnxt_re_build_send_wqe()
2342 wqe->send.dst_qp = ud_wr(wr)->remote_qpn; in bnxt_re_build_send_wqe()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c478 struct hns_roce_ah *ah = to_hr_ah(ud_wr(wr)->ah); in set_ud_wqe()
503 ud_sq_wqe->qkey = cpu_to_le32(ud_wr(wr)->remote_qkey & 0x80000000 ? in set_ud_wqe()
504 qp->qkey : ud_wr(wr)->remote_qkey); in set_ud_wqe()
505 hr_reg_write(ud_sq_wqe, UD_SEND_WQE_DQPN, ud_wr(wr)->remote_qpn); in set_ud_wqe()
511 qp->sl = to_hr_ah(ud_wr(wr)->ah)->av.sl; in set_ud_wqe()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c3139 ah = to_iwah(ud_wr(ib_wr)->ah); in irdma_post_send()
3141 info.op.send.qkey = ud_wr(ib_wr)->remote_qkey; in irdma_post_send()
3142 info.op.send.dest_qp = ud_wr(ib_wr)->remote_qpn; in irdma_post_send()
/linux-6.1.9/drivers/infiniband/core/
Duverbs_cmd.c2169 if (is_ud && ud_wr(wr)->ah) in ib_uverbs_post_send()
2170 uobj_put_obj_read(ud_wr(wr)->ah); in ib_uverbs_post_send()