Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/hns/ !
Dhns_roce_hem.c123 struct hns_roce_hem_mhop *mhop, in get_hem_table_config() argument
130 mhop->buf_chunk_size = 1 << (hr_dev->caps.qpc_buf_pg_sz in get_hem_table_config()
132 mhop->bt_chunk_size = 1 << (hr_dev->caps.qpc_ba_pg_sz in get_hem_table_config()
134 mhop->ba_l0_num = hr_dev->caps.qpc_bt_num; in get_hem_table_config()
135 mhop->hop_num = hr_dev->caps.qpc_hop_num; in get_hem_table_config()
138 mhop->buf_chunk_size = 1 << (hr_dev->caps.mpt_buf_pg_sz in get_hem_table_config()
140 mhop->bt_chunk_size = 1 << (hr_dev->caps.mpt_ba_pg_sz in get_hem_table_config()
142 mhop->ba_l0_num = hr_dev->caps.mpt_bt_num; in get_hem_table_config()
143 mhop->hop_num = hr_dev->caps.mpt_hop_num; in get_hem_table_config()
146 mhop->buf_chunk_size = 1 << (hr_dev->caps.cqc_buf_pg_sz in get_hem_table_config()
[all …]
Dhns_roce_hem.h120 struct hns_roce_hem_mhop *mhop);
Dhns_roce_hw_v2.c4050 struct hns_roce_hem_mhop mhop; in hns_roce_v2_set_hem() local
4064 hns_roce_calc_hem_mhop(hr_dev, table, &mhop_obj, &mhop); in hns_roce_v2_set_hem()
4065 i = mhop.l0_idx; in hns_roce_v2_set_hem()
4066 j = mhop.l1_idx; in hns_roce_v2_set_hem()
4067 k = mhop.l2_idx; in hns_roce_v2_set_hem()
4068 hop_num = mhop.hop_num; in hns_roce_v2_set_hem()
4069 chunk_ba_num = mhop.bt_chunk_size / 8; in hns_roce_v2_set_hem()
4082 obj = mhop.l0_idx; in hns_roce_v2_set_hem()