Lines Matching refs:dseg
102 static void set_datagram_seg(struct mlx5_wqe_datagram_seg *dseg,
105 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av));
106 dseg->av.dqp_dct =
108 dseg->av.key.qkey.qkey = cpu_to_be32(ud_wr(wr)->remote_qkey);
111 static void set_data_ptr_seg(struct mlx5_wqe_data_seg *dseg, struct ib_sge *sg)
113 dseg->byte_count = cpu_to_be32(sg->length);
114 dseg->lkey = cpu_to_be32(sg->lkey);
115 dseg->addr = cpu_to_be64(sg->addr);
217 static void set_reg_data_seg(struct mlx5_wqe_data_seg *dseg,
223 dseg->addr = cpu_to_be64(mr->desc_map);
224 dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64));
225 dseg->lkey = cpu_to_be32(pd->ibpd.local_dma_lkey);