Lines Matching refs:caps
18 srq = xa_load(&srq_table->xa, srqn & (hr_dev->caps.num_srqs - 1)); in hns_roce_srq_event()
175 buf_attr.page_shift = hr_dev->caps.idx_buf_pg_sz + PAGE_SHIFT; in alloc_srq_idx()
178 buf_attr.region[0].hopnum = hr_dev->caps.idx_hop_num; in alloc_srq_idx()
182 hr_dev->caps.idx_ba_pg_sz + PAGE_SHIFT, in alloc_srq_idx()
230 buf_attr.page_shift = hr_dev->caps.srqwqe_buf_pg_sz + PAGE_SHIFT; in alloc_srq_wqe_buf()
233 buf_attr.region[0].hopnum = hr_dev->caps.srqwqe_hop_num; in alloc_srq_wqe_buf()
237 hr_dev->caps.srqwqe_ba_pg_sz + PAGE_SHIFT, in alloc_srq_wqe_buf()
270 u32 max_sge = dev->caps.max_srq_sges; in proc_srq_sge()
298 if (attr->max_wr > hr_dev->caps.max_srq_wrs || in set_srq_basic_param()
463 srq_ida->max = hr_dev->caps.num_srqs - 1; in hns_roce_init_srq_table()
464 srq_ida->min = hr_dev->caps.reserved_srqs; in hns_roce_init_srq_table()