Searched refs:mhop (Results 1 – 3 of 3) sorted by relevance
124 struct hns_roce_hem_mhop *mhop, in get_hem_table_config() argument131 mhop->buf_chunk_size = 1 << (hr_dev->caps.qpc_buf_pg_sz in get_hem_table_config()133 mhop->bt_chunk_size = 1 << (hr_dev->caps.qpc_ba_pg_sz in get_hem_table_config()135 mhop->ba_l0_num = hr_dev->caps.qpc_bt_num; in get_hem_table_config()136 mhop->hop_num = hr_dev->caps.qpc_hop_num; in get_hem_table_config()139 mhop->buf_chunk_size = 1 << (hr_dev->caps.mpt_buf_pg_sz in get_hem_table_config()141 mhop->bt_chunk_size = 1 << (hr_dev->caps.mpt_ba_pg_sz in get_hem_table_config()143 mhop->ba_l0_num = hr_dev->caps.mpt_bt_num; in get_hem_table_config()144 mhop->hop_num = hr_dev->caps.mpt_hop_num; in get_hem_table_config()147 mhop->buf_chunk_size = 1 << (hr_dev->caps.cqc_buf_pg_sz in get_hem_table_config()[all …]
133 struct hns_roce_hem_mhop *mhop);
3039 struct hns_roce_hem_mhop mhop; in hns_roce_v2_set_hem() local3054 hns_roce_calc_hem_mhop(hr_dev, table, &mhop_obj, &mhop); in hns_roce_v2_set_hem()3055 i = mhop.l0_idx; in hns_roce_v2_set_hem()3056 j = mhop.l1_idx; in hns_roce_v2_set_hem()3057 k = mhop.l2_idx; in hns_roce_v2_set_hem()3058 hop_num = mhop.hop_num; in hns_roce_v2_set_hem()3059 chunk_ba_num = mhop.bt_chunk_size / 8; in hns_roce_v2_set_hem()3080 obj = mhop.l0_idx; in hns_roce_v2_set_hem()