Searched refs:hem_cfg (Results 1 – 4 of 4) sorted by relevance
112 mr->npages = mr->pbl_mtr.hem_cfg.buf_pg_count; in alloc_mr_pbl()438 mtr->hem_cfg.region[0].offset = 0; in hns_roce_map_mr_sg()439 mtr->hem_cfg.region[0].count = mr->npages; in hns_roce_map_mr_sg()441 mtr->hem_cfg.region_count = 1; in hns_roce_map_mr_sg()685 mtr->hem_cfg.is_direct ? in mtr_alloc_bufs()724 if (mtr->hem_cfg.is_direct && npage > 1) { in mtr_map_bufs()756 if (mtr->hem_cfg.is_direct) { in hns_roce_mtr_map()757 mtr->hem_cfg.root_ba = pages[0]; in hns_roce_mtr_map()763 r = &mtr->hem_cfg.region[i]; in hns_roce_mtr_map()802 struct hns_roce_hem_cfg *cfg = &mtr->hem_cfg; in hns_roce_mtr_find()[all …]
185 hr_mr->pbl_mtr.hem_cfg.ba_pg_shift)) in hns_roce_fill_res_mr_entry()189 hr_mr->pbl_mtr.hem_cfg.buf_pg_shift)) in hns_roce_fill_res_mr_entry()
152 pbl_ba = mr->pbl_mtr.hem_cfg.root_ba; in set_frmr_seg()163 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in set_frmr_seg()3315 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.buf_pg_shift)); in set_mtpt_pbl()3358 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.ba_pg_shift)); in hns_roce_v2_write_mtpt()3428 to_hr_hw_page_shift(mr->pbl_mtr.hem_cfg.ba_pg_shift)); in hns_roce_v2_frmr_write_mtpt()3678 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.ba_pg_shift)); in hns_roce_v2_write_cqc()3680 to_hr_hw_page_shift(hr_cq->mtr.hem_cfg.buf_pg_shift)); in hns_roce_v2_write_cqc()4481 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.ba_pg_shift)); in config_qp_rq_buf()4485 to_hr_hw_page_shift(hr_qp->mtr.hem_cfg.buf_pg_shift)); in config_qp_rq_buf()6403 to_hr_hw_page_shift(eq->mtr.hem_cfg.ba_pg_shift)); in config_eqc()[all …]
295 struct hns_roce_hem_cfg hem_cfg; /* config for hardware addressing */ member
Completed in 25 milliseconds