Searched refs:mhop (Results 1 – 3 of 3) sorted by relevance
245 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()314 l0_idx = mhop->l0_idx; in calc_hem_config()315 l1_idx = mhop->l1_idx; in calc_hem_config()316 l2_idx = mhop->l2_idx; in calc_hem_config()431 if (mhop->hop_num == 2) in alloc_mhop_hem()711 i = mhop.l0_idx; in hns_roce_table_find()712 j = mhop.l1_idx; in hns_roce_table_find()713 if (mhop.hop_num == 2) in hns_roce_table_find()721 if (mhop.hop_num == 2) in hns_roce_table_find()[all …]
104 struct hns_roce_hem_mhop *mhop);
4125 struct hns_roce_hem_mhop mhop; in hns_roce_v2_set_hem() local4139 hns_roce_calc_hem_mhop(hr_dev, table, &mhop_obj, &mhop); in hns_roce_v2_set_hem()4140 i = mhop.l0_idx; in hns_roce_v2_set_hem()4141 j = mhop.l1_idx; in hns_roce_v2_set_hem()4142 k = mhop.l2_idx; in hns_roce_v2_set_hem()4143 hop_num = mhop.hop_num; in hns_roce_v2_set_hem()4144 chunk_ba_num = mhop.bt_chunk_size / 8; in hns_roce_v2_set_hem()4157 obj = mhop.l0_idx; in hns_roce_v2_set_hem()