Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mlx5/
Dmr.c2531 struct mlx5_ib_mr *pi_mr = mr->mtt_mr; in mlx5_ib_map_mtt_mr_sg_pi() local
2534 pi_mr->ndescs = 0; in mlx5_ib_map_mtt_mr_sg_pi()
2535 pi_mr->meta_ndescs = 0; in mlx5_ib_map_mtt_mr_sg_pi()
2536 pi_mr->meta_length = 0; in mlx5_ib_map_mtt_mr_sg_pi()
2538 ib_dma_sync_single_for_cpu(ibmr->device, pi_mr->desc_map, in mlx5_ib_map_mtt_mr_sg_pi()
2539 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2542 pi_mr->ibmr.page_size = ibmr->page_size; in mlx5_ib_map_mtt_mr_sg_pi()
2543 n = ib_sg_to_pages(&pi_mr->ibmr, data_sg, data_sg_nents, data_sg_offset, in mlx5_ib_map_mtt_mr_sg_pi()
2548 pi_mr->data_iova = pi_mr->ibmr.iova; in mlx5_ib_map_mtt_mr_sg_pi()
2549 pi_mr->data_length = pi_mr->ibmr.length; in mlx5_ib_map_mtt_mr_sg_pi()
[all …]
Dwr.c654 struct mlx5_ib_mr *pi_mr = mr->pi_mr; in set_sig_data_segment() local
656 data_len = pi_mr->data_length; in set_sig_data_segment()
657 data_key = pi_mr->ibmr.lkey; in set_sig_data_segment()
658 data_va = pi_mr->data_iova; in set_sig_data_segment()
659 if (pi_mr->meta_ndescs) { in set_sig_data_segment()
660 prot_len = pi_mr->meta_length; in set_sig_data_segment()
661 prot_key = pi_mr->ibmr.lkey; in set_sig_data_segment()
662 prot_va = pi_mr->pi_iova; in set_sig_data_segment()
784 struct mlx5_ib_mr *pi_mr = sig_mr->pi_mr; in set_pi_umr_wr() local
797 region_len = pi_mr->ibmr.length; in set_pi_umr_wr()
[all …]
Dmlx5_ib.h668 struct mlx5_ib_mr *pi_mr; member