Lines Matching defs:dseg
3010 static void set_datagram_seg(struct mlx5_wqe_datagram_seg *dseg,
3013 memcpy(&dseg->av, &to_mah(ud_wr(wr)->ah)->av, sizeof(struct mlx5_av));
3014 dseg->av.dqp_dct = cpu_to_be32(ud_wr(wr)->remote_qpn | MLX5_EXTENDED_UD_AV);
3015 dseg->av.key.qkey.qkey = cpu_to_be32(ud_wr(wr)->remote_qkey);
3018 static void set_data_ptr_seg(struct mlx5_wqe_data_seg *dseg, struct ib_sge *sg)
3020 dseg->byte_count = cpu_to_be32(sg->length);
3021 dseg->lkey = cpu_to_be32(sg->lkey);
3022 dseg->addr = cpu_to_be64(sg->addr);
3263 static void set_reg_data_seg(struct mlx5_wqe_data_seg *dseg,
3269 dseg->addr = cpu_to_be64(mr->desc_map);
3270 dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64));
3271 dseg->lkey = cpu_to_be32(pd->ibpd.local_dma_lkey);