Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_hem.c245 if (mhop->l0_idx >= mhop->ba_l0_num) in hns_roce_calc_hem_mhop()
246 mhop->l0_idx %= mhop->ba_l0_num; in hns_roce_calc_hem_mhop()
351 l0_idx = mhop->l0_idx; in calc_hem_config()
352 l1_idx = mhop->l1_idx; in calc_hem_config()
353 l2_idx = mhop->l2_idx; in calc_hem_config()
470 if (mhop->hop_num == 2) in alloc_mhop_hem()
740 i = mhop.l0_idx; in hns_roce_table_find()
741 j = mhop.l1_idx; in hns_roce_table_find()
742 if (mhop.hop_num == 2) in hns_roce_table_find()
750 if (mhop.hop_num == 2) in hns_roce_table_find()
[all …]
A Dhns_roce_hem.h120 struct hns_roce_hem_mhop *mhop);
A Dhns_roce_hw_v2.c4159 struct hns_roce_hem_mhop mhop; in hns_roce_v2_set_hem() local
4173 hns_roce_calc_hem_mhop(hr_dev, table, &mhop_obj, &mhop); in hns_roce_v2_set_hem()
4174 i = mhop.l0_idx; in hns_roce_v2_set_hem()
4175 j = mhop.l1_idx; in hns_roce_v2_set_hem()
4176 k = mhop.l2_idx; in hns_roce_v2_set_hem()
4177 hop_num = mhop.hop_num; in hns_roce_v2_set_hem()
4178 chunk_ba_num = mhop.bt_chunk_size / 8; in hns_roce_v2_set_hem()
4191 obj = mhop.l0_idx; in hns_roce_v2_set_hem()

Completed in 24 milliseconds