Searched refs:mhop_num (Results 1 – 2 of 2) sorted by relevance
300 u32 mhop_num; in hns_roce_loop_free() local306 mhop_num = hr_dev->caps.pbl_hop_num; in hns_roce_loop_free()309 if (mhop_num == 3 && err_loop_index == 2) { in hns_roce_loop_free()324 } else if (mhop_num == 3 && err_loop_index == 1) { in hns_roce_loop_free()336 } else if (mhop_num == 2 && err_loop_index == 1) { in hns_roce_loop_free()342 mhop_num, err_loop_index); in hns_roce_loop_free()512 u32 mhop_num; in hns_roce_mhop_alloc() local514 mhop_num = (mr->type == MR_TYPE_FRMR ? 1 : hr_dev->caps.pbl_hop_num); in hns_roce_mhop_alloc()517 if (mhop_num == HNS_ROCE_HOP_NUM_0) in hns_roce_mhop_alloc()520 if (mhop_num == 1) in hns_roce_mhop_alloc()[all …]
5319 u32 mhop_num; in hns_roce_mhop_free_eq() local5324 mhop_num = hr_dev->caps.eqe_hop_num; in hns_roce_mhop_free_eq()5328 if (mhop_num == HNS_ROCE_HOP_NUM_0) { in hns_roce_mhop_free_eq()5335 if (mhop_num == 1) { in hns_roce_mhop_free_eq()5347 } else if (mhop_num == 2) { in hns_roce_mhop_free_eq()5555 u32 mhop_num; in hns_roce_mhop_alloc_eq() local5565 mhop_num = hr_dev->caps.eqe_hop_num; in hns_roce_mhop_alloc_eq()5573 if (mhop_num == HNS_ROCE_HOP_NUM_0) { in hns_roce_mhop_alloc_eq()5597 if (mhop_num == 2) { in hns_roce_mhop_alloc_eq()5612 if (mhop_num == 1) { in hns_roce_mhop_alloc_eq()[all …]