Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_hem.c132 mhop->bt_chunk_size = 1 << (hr_dev->caps.qpc_ba_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()
148 mhop->bt_chunk_size = 1 << (hr_dev->caps.cqc_ba_pg_sz in get_hem_table_config()
156 mhop->bt_chunk_size = 1 << (hr_dev->caps.sccc_ba_pg_sz in get_hem_table_config()
164 mhop->bt_chunk_size = 1 << (hr_dev->caps.qpc_timer_ba_pg_sz in get_hem_table_config()
172 mhop->bt_chunk_size = 1 << (hr_dev->caps.cqc_timer_ba_pg_sz in get_hem_table_config()
180 mhop->bt_chunk_size = 1 << (hr_dev->caps.srqc_ba_pg_sz in get_hem_table_config()
188 mhop->bt_chunk_size = 1 << (hr_dev->caps.gmv_ba_pg_sz + in get_hem_table_config()
223 chunk_ba_num = mhop->bt_chunk_size / BA_BYTE_LEN; in hns_roce_calc_hem_mhop()
225 mhop->bt_chunk_size; in hns_roce_calc_hem_mhop()
[all …]
Dhns_roce_hem.h81 u32 bt_chunk_size; member
Dhns_roce_hw_v2.c1969 u64 bt_chunk_size = PAGE_SIZE; in calc_pg_sz() local
1978 obj_per_chunk = ctx_bt_num * (bt_chunk_size / BA_BYTE_LEN) * in calc_pg_sz()
1979 (bt_chunk_size / BA_BYTE_LEN) * in calc_pg_sz()
1980 (bt_chunk_size / BA_BYTE_LEN) * in calc_pg_sz()
1984 obj_per_chunk = ctx_bt_num * (bt_chunk_size / BA_BYTE_LEN) * in calc_pg_sz()
1985 (bt_chunk_size / BA_BYTE_LEN) * in calc_pg_sz()
1989 obj_per_chunk = ctx_bt_num * (bt_chunk_size / BA_BYTE_LEN) * in calc_pg_sz()
4116 chunk_ba_num = mhop.bt_chunk_size / 8; in hns_roce_v2_set_hem()