Home
last modified time | relevance | path

Searched refs:pi_mr (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmr.c2157 struct mlx5_ib_mr *pi_mr = mr->mtt_mr; in mlx5_ib_map_mtt_mr_sg_pi() local
2160 pi_mr->ndescs = 0; in mlx5_ib_map_mtt_mr_sg_pi()
2161 pi_mr->meta_ndescs = 0; in mlx5_ib_map_mtt_mr_sg_pi()
2162 pi_mr->meta_length = 0; in mlx5_ib_map_mtt_mr_sg_pi()
2164 ib_dma_sync_single_for_cpu(ibmr->device, pi_mr->desc_map, in mlx5_ib_map_mtt_mr_sg_pi()
2165 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2168 pi_mr->ibmr.page_size = ibmr->page_size; in mlx5_ib_map_mtt_mr_sg_pi()
2169 n = ib_sg_to_pages(&pi_mr->ibmr, data_sg, data_sg_nents, data_sg_offset, in mlx5_ib_map_mtt_mr_sg_pi()
2174 pi_mr->data_iova = pi_mr->ibmr.iova; in mlx5_ib_map_mtt_mr_sg_pi()
2175 pi_mr->data_length = pi_mr->ibmr.length; in mlx5_ib_map_mtt_mr_sg_pi()
[all …]
Dqp.c4608 struct mlx5_ib_mr *pi_mr = mr->pi_mr; in set_sig_data_segment() local
4610 data_len = pi_mr->data_length; in set_sig_data_segment()
4611 data_key = pi_mr->ibmr.lkey; in set_sig_data_segment()
4612 data_va = pi_mr->data_iova; in set_sig_data_segment()
4613 if (pi_mr->meta_ndescs) { in set_sig_data_segment()
4614 prot_len = pi_mr->meta_length; in set_sig_data_segment()
4615 prot_key = pi_mr->ibmr.lkey; in set_sig_data_segment()
4616 prot_va = pi_mr->pi_iova; in set_sig_data_segment()
4738 struct mlx5_ib_mr *pi_mr = sig_mr->pi_mr; in set_pi_umr_wr() local
4751 region_len = pi_mr->ibmr.length; in set_pi_umr_wr()
[all …]
Dmlx5_ib.h615 struct mlx5_ib_mr *pi_mr; member