Searched refs:cq_entries (Results 1 – 1 of 1) sorted by relevance
322 int cq_entries = attr->cqe; in hns_roce_ib_create_cq() local325 if (cq_entries < 1 || cq_entries > hr_dev->caps.max_cqes) { in hns_roce_ib_create_cq()327 cq_entries, hr_dev->caps.max_cqes); in hns_roce_ib_create_cq()336 cq_entries = max(cq_entries, hr_dev->caps.min_cqes); in hns_roce_ib_create_cq()338 cq_entries = roundup_pow_of_two((unsigned int)cq_entries); in hns_roce_ib_create_cq()339 hr_cq->ib_cq.cqe = cq_entries - 1; in hns_roce_ib_create_cq()352 cq_entries); in hns_roce_ib_create_cq()385 cq_entries); in hns_roce_ib_create_cq()397 ret = hns_roce_cq_alloc(hr_dev, cq_entries, &hr_cq->hr_buf.hr_mtt, uar, in hns_roce_ib_create_cq()416 hr_cq->cq_depth = cq_entries; in hns_roce_ib_create_cq()