Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/infiniband/hw/mlx5/
Dmr.c2124 struct mlx5_ib_mr *pi_mr = mr->mtt_mr; in mlx5_ib_map_mtt_mr_sg_pi() local
2127 pi_mr->mmkey.ndescs = 0; in mlx5_ib_map_mtt_mr_sg_pi()
2128 pi_mr->meta_ndescs = 0; in mlx5_ib_map_mtt_mr_sg_pi()
2129 pi_mr->meta_length = 0; in mlx5_ib_map_mtt_mr_sg_pi()
2131 ib_dma_sync_single_for_cpu(ibmr->device, pi_mr->desc_map, in mlx5_ib_map_mtt_mr_sg_pi()
2132 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2135 pi_mr->ibmr.page_size = ibmr->page_size; in mlx5_ib_map_mtt_mr_sg_pi()
2136 n = ib_sg_to_pages(&pi_mr->ibmr, data_sg, data_sg_nents, data_sg_offset, in mlx5_ib_map_mtt_mr_sg_pi()
2141 pi_mr->data_iova = pi_mr->ibmr.iova; in mlx5_ib_map_mtt_mr_sg_pi()
2142 pi_mr->data_length = pi_mr->ibmr.length; in mlx5_ib_map_mtt_mr_sg_pi()
[all …]
Dwr.c433 struct mlx5_ib_mr *pi_mr = mr->pi_mr; in set_sig_data_segment() local
435 data_len = pi_mr->data_length; in set_sig_data_segment()
436 data_key = pi_mr->ibmr.lkey; in set_sig_data_segment()
437 data_va = pi_mr->data_iova; in set_sig_data_segment()
438 if (pi_mr->meta_ndescs) { in set_sig_data_segment()
439 prot_len = pi_mr->meta_length; in set_sig_data_segment()
440 prot_key = pi_mr->ibmr.lkey; in set_sig_data_segment()
441 prot_va = pi_mr->pi_iova; in set_sig_data_segment()
563 struct mlx5_ib_mr *pi_mr = sig_mr->pi_mr; in set_pi_umr_wr() local
576 region_len = pi_mr->ibmr.length; in set_pi_umr_wr()
[all …]
Dmlx5_ib.h663 struct mlx5_ib_mr *pi_mr; member