Searched refs:sl_num (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 1755 caps->sl_num = hr_reg_read(r_b, FUNC_RES_V_QID_NUM) / func_num; in load_func_res_caps() 1759 caps->sl_num = hr_reg_read(r_b, FUNC_RES_B_QID_NUM) / func_num; in load_func_res_caps() 1879 hr_reg_write(r_b, FUNC_RES_V_QID_NUM, caps->sl_num); in config_vf_hem_resource() 1880 hr_reg_write(r_b, FUNC_RES_B_QID_IDX, vf_id * caps->sl_num); in config_vf_hem_resource() 2487 u16 total_sl = hr_dev->caps.sl_num * hr_dev->func_num; in alloc_link_table_buf() 2756 struct ib_qp_attr *attr, int sl_num) in free_mr_modify_rsv_qp() argument 2766 hr_qp = to_hr_qp(&free_mr->rsv_qp[sl_num]->ibqp); in free_mr_modify_rsv_qp() 2795 rdma_ah_set_sl(&attr->ah_attr, (u8)sl_num); in free_mr_modify_rsv_qp() 4882 max_sl = min_t(u32, MAX_SERVICE_LEVEL, hr_dev->caps.sl_num - 1); in check_sl_valid()
|
D | hns_roce_device.h | 850 u32 sl_num; member
|