Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_hem.c124 struct hns_roce_hem_mhop *mhop, in get_hem_table_config() argument
131 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 …]
Dhns_roce_hem.h133 struct hns_roce_hem_mhop *mhop);
Dhns_roce_hw_v2.c3039 struct hns_roce_hem_mhop mhop; in hns_roce_v2_set_hem() local
3054 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()