/linux/include/rdma/ |
H A D | rdmavt_qp.h | 170 struct rvt_ud_wr ud_wr; 215 return ibah_to_rvtah(swqe->ud_wr.wr.ah); in rvt_get_swqe_ah() 225 return swqe->ud_wr.attr; in rvt_get_swqe_ah_attr() 235 return swqe->ud_wr.wr.remote_qpn; in rvt_get_swqe_remote_qpn() 245 return swqe->ud_wr.wr.remote_qkey; in rvt_get_swqe_remote_qkey() 255 return swqe->ud_wr.wr.pkey_index; in rvt_get_swqe_pkey_index() 752 rdma_destroy_ah_attr(wqe->ud_wr.attr); in rvt_put_qp_swqe() 169 struct rvt_ud_wr ud_wr; global() member
|
H A D | ib_verbs.h | 1434 static inline const struct ib_ud_wr *ud_wr(const struct ib_send_wr *wr) in ud_wr() function
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | wr.c | 66 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()
|
H A D | gsi.c | 439 struct ib_ud_wr cur_wr = *ud_wr(wr); in mlx5_ib_gsi_post_send()
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_qp.c | 769 if (unlikely(!ud_wr(wr)->ah)) { in pvrdma_post_send() 781 wqe_hdr->wr.ud.remote_qpn = ud_wr(wr)->remote_qpn; in pvrdma_post_send() 783 ud_wr(wr)->remote_qkey & 0x80000000 ? in pvrdma_post_send() 784 qp->qkey : ud_wr(wr)->remote_qkey; in pvrdma_post_send() 785 wqe_hdr->wr.ud.av = to_vah(ud_wr(wr)->ah)->av; in pvrdma_post_send()
|
/linux/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 984 kfree(wqe->ud_wr.attr); in free_ud_wq_attr() 985 wqe->ud_wr.attr = NULL; in free_ud_wq_attr() 1004 wqe->ud_wr.attr = kzalloc_node(sizeof(*wqe->ud_wr.attr), in alloc_ud_wq_attr() 1006 if (!wqe->ud_wr.attr) { in alloc_ud_wq_attr() 1888 if (qp->ibqp.pd != ud_wr(wr)->ah->pd) in rvt_qp_valid_operation() 2041 memcpy(&wqe->ud_wr, wr, cplen); in rvt_post_one_wr() 2077 rdma_copy_ah_attr(wqe->ud_wr.attr, &ah->attr); in rvt_post_one_wr() 2122 rdma_destroy_ah_attr(wqe->ud_wr.attr); in rvt_post_one_wr()
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_verbs.c | 735 struct ib_ah *ibah = ud_wr(ibwr)->ah; in init_send_wr() 737 wr->wr.ud.remote_qpn = ud_wr(ibwr)->remote_qpn; in init_send_wr() 738 wr->wr.ud.remote_qkey = ud_wr(ibwr)->remote_qkey; in init_send_wr() 741 wr->wr.ud.pkey_index = ud_wr(ibwr)->pkey_index; in init_send_wr()
|
/linux/drivers/infiniband/hw/qedr/ |
H A D | qedr_roce_cm.c | 386 struct rdma_ah_attr *ah_attr = &get_qedr_ah(ud_wr(swr)->ah)->attr; in qedr_gsi_build_header() 448 udh->bth.destination_qpn = htonl(ud_wr(swr)->remote_qpn); in qedr_gsi_build_header()
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 3546 struct mlx4_ib_ah *ah = to_mah(ud_wr(wr)->ah); in _mlx4_ib_post_send() 3670 err = build_sriov_qp0_header(qp, ud_wr(wr), ctrl, in _mlx4_ib_post_send() 3682 set_datagram_seg(wqe, ud_wr(wr)); in _mlx4_ib_post_send() 3689 set_datagram_seg(wqe, ud_wr(wr)); in _mlx4_ib_post_send() 3694 err = build_lso_seg(wqe, ud_wr(wr), qp, &seglen, in _mlx4_ib_post_send() 3707 err = build_sriov_qp0_header(qp, ud_wr(wr), ctrl, in _mlx4_ib_post_send() 3719 build_tunnel_header(ud_wr(wr), wqe, &seglen); in _mlx4_ib_post_send() 3730 ud_wr(wr), in _mlx4_ib_post_send() 3734 build_tunnel_header(ud_wr(wr), wqe, &seglen); in _mlx4_ib_post_send() 3741 err = build_mlx_header(qp, ud_wr(wr), ctrl, &seglen); in _mlx4_ib_post_send()
|
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_qp.c | 1734 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/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.c | 1879 struct ocrdma_ah *ah = get_ocrdma_ah(ud_wr(wr)->ah); in ocrdma_build_ud_hdr() 1881 ud_hdr->rsvd_dest_qpn = ud_wr(wr)->remote_qpn; in ocrdma_build_ud_hdr() 1885 ud_hdr->qkey = ud_wr(wr)->remote_qkey; in ocrdma_build_ud_hdr()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.c | 2358 struct bnxt_re_ah *ah = container_of(ud_wr(wr)->ah, struct bnxt_re_ah, in bnxt_re_build_qp1_send_v2() 2583 ah = container_of(ud_wr(wr)->ah, struct bnxt_re_ah, ib_ah); in bnxt_re_build_send_wqe() 2584 wqe->send.q_key = ud_wr(wr)->remote_qkey; in bnxt_re_build_send_wqe() 2585 wqe->send.dst_qp = ud_wr(wr)->remote_qpn; in bnxt_re_build_send_wqe()
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | verbs.c | 3484 ah = to_iwah(ud_wr(ib_wr)->ah); in irdma_post_send() 3486 info.op.send.qkey = ud_wr(ib_wr)->remote_qkey; in irdma_post_send() 3487 info.op.send.dest_qp = ud_wr(ib_wr)->remote_qpn; in irdma_post_send()
|
/linux/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 2173 if (is_ud && ud_wr(wr)->ah) in ib_uverbs_post_send() 2174 uobj_put_obj_read(ud_wr(wr)->ah); in ib_uverbs_post_send()
|