Lines Matching refs:ud

2041 	struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah);  in build_sriov_qp0_header()
2084 sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->wr.ud.remote_qpn); in build_sriov_qp0_header()
2163 struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah); in build_mlx_header()
2310 ib_get_cached_pkey(ib_dev, sqp->qp.port, wr->wr.ud.pkey_index, &pkey); in build_mlx_header()
2312 sqp->ud_header.bth.destination_qpn = cpu_to_be32(wr->wr.ud.remote_qpn); in build_mlx_header()
2314 sqp->ud_header.deth.qkey = cpu_to_be32(wr->wr.ud.remote_qkey & 0x80000000 ? in build_mlx_header()
2315 sqp->qkey : wr->wr.ud.remote_qkey); in build_mlx_header()
2483 memcpy(dseg->av, &to_mah(wr->wr.ud.ah)->av, sizeof (struct mlx4_av)); in set_datagram_seg()
2484 dseg->dqpn = cpu_to_be32(wr->wr.ud.remote_qpn); in set_datagram_seg()
2485 dseg->qkey = cpu_to_be32(wr->wr.ud.remote_qkey); in set_datagram_seg()
2486 dseg->vlan = to_mah(wr->wr.ud.ah)->av.eth.vlan; in set_datagram_seg()
2487 memcpy(dseg->mac, to_mah(wr->wr.ud.ah)->av.eth.mac, 6); in set_datagram_seg()
2495 union mlx4_ext_av *av = &to_mah(wr->wr.ud.ah)->av; in set_tunnel_datagram_seg()
2518 struct mlx4_ib_ah *ah = to_mah(wr->wr.ud.ah); in build_tunnel_header()
2523 hdr.remote_qpn = cpu_to_be32(wr->wr.ud.remote_qpn); in build_tunnel_header()
2524 hdr.pkey_index = cpu_to_be16(wr->wr.ud.pkey_index); in build_tunnel_header()
2525 hdr.qkey = cpu_to_be32(wr->wr.ud.remote_qkey); in build_tunnel_header()
2601 unsigned halign = ALIGN(sizeof *wqe + wr->wr.ud.hlen, 16); in build_lso_seg()
2610 memcpy(wqe->header, wr->wr.ud.header, wr->wr.ud.hlen); in build_lso_seg()
2612 *lso_hdr_sz = cpu_to_be32(wr->wr.ud.mss << 16 | wr->wr.ud.hlen); in build_lso_seg()