Searched refs:sl_num (Results 1 – 3 of 3) sorted by relevance
/drivers/infiniband/hw/hns/ |
D | hns_roce_ah.c | 80 max_sl = min_t(u32, MAX_SERVICE_LEVEL, hr_dev->caps.sl_num - 1); in hns_roce_create_ah()
|
D | hns_roce_hw_v2.c | 1702 caps->sl_num = hr_reg_read(r_b, FUNC_RES_V_QID_NUM) / func_num; in load_func_res_caps() 1706 caps->sl_num = hr_reg_read(r_b, FUNC_RES_B_QID_NUM) / func_num; in load_func_res_caps() 1862 hr_reg_write(r_b, FUNC_RES_V_QID_NUM, caps->sl_num); in config_vf_hem_resource() 1863 hr_reg_write(r_b, FUNC_RES_B_QID_IDX, vf_id * caps->sl_num); in config_vf_hem_resource() 2579 min_size = HNS_ROCE_EXT_LLM_MIN_PAGES(hr_dev->caps.sl_num) << pg_shift; in alloc_link_table_buf() 2837 struct ib_qp_attr *attr, int sl_num) in free_mr_modify_rsv_qp() argument 2847 hr_qp = to_hr_qp(&free_mr->rsv_qp[sl_num]->ibqp); in free_mr_modify_rsv_qp() 2876 rdma_ah_set_sl(&attr->ah_attr, (u8)sl_num); in free_mr_modify_rsv_qp() 5003 max_sl = min_t(u32, MAX_SERVICE_LEVEL, hr_dev->caps.sl_num - 1); in hns_roce_v2_set_path()
|
D | hns_roce_device.h | 840 u32 sl_num; member
|