Home
last modified time | relevance | path

Searched refs:mhop_num (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_mr.c266 u32 mhop_num; in hns_roce_loop_free() local
272 mhop_num = hr_dev->caps.pbl_hop_num; in hns_roce_loop_free()
275 if (mhop_num == 3 && err_loop_index == 2) { in hns_roce_loop_free()
290 } else if (mhop_num == 3 && err_loop_index == 1) { in hns_roce_loop_free()
302 } else if (mhop_num == 2 && err_loop_index == 1) { in hns_roce_loop_free()
308 mhop_num, err_loop_index); in hns_roce_loop_free()
326 u32 mhop_num; in hns_roce_mhop_alloc() local
332 mhop_num = hr_dev->caps.pbl_hop_num; in hns_roce_mhop_alloc()
336 if (mhop_num == HNS_ROCE_HOP_NUM_0) in hns_roce_mhop_alloc()
340 if (mhop_num == 1) { in hns_roce_mhop_alloc()
[all …]
Dhns_roce_hw_v2.c4508 u32 mhop_num; in hns_roce_mhop_free_eq() local
4513 mhop_num = hr_dev->caps.eqe_hop_num; in hns_roce_mhop_free_eq()
4518 if (mhop_num == HNS_ROCE_HOP_NUM_0) { in hns_roce_mhop_free_eq()
4526 if (mhop_num == 1) { in hns_roce_mhop_free_eq()
4538 } else if (mhop_num == 2) { in hns_roce_mhop_free_eq()
4746 u32 mhop_num; in hns_roce_mhop_alloc_eq() local
4756 mhop_num = hr_dev->caps.eqe_hop_num; in hns_roce_mhop_alloc_eq()
4765 if (mhop_num == HNS_ROCE_HOP_NUM_0) { in hns_roce_mhop_alloc_eq()
4791 if (mhop_num == 2) { in hns_roce_mhop_alloc_eq()
4806 if (mhop_num == 1) { in hns_roce_mhop_alloc_eq()
[all …]