Searched refs:MAX_CMP_QUEUES_PER_QS (Results 1 – 3 of 3) sorted by relevance
18 #define MAX_CMP_QUEUES_PER_QS 8 macro300 struct cmp_queue cq[MAX_CMP_QUEUES_PER_QS];
403 for (q = 0; q < MAX_CMP_QUEUES_PER_QS; q++) { in nicvf_get_regs()754 if (cqcount > MAX_CMP_QUEUES_PER_QS) { in nicvf_set_channels()755 nic->sqs_count = roundup(cqcount, MAX_CMP_QUEUES_PER_QS); in nicvf_set_channels()756 nic->sqs_count = (nic->sqs_count / MAX_CMP_QUEUES_PER_QS) - 1; in nicvf_set_channels()
78 return qidx + ((nic->sqs_id + 1) * MAX_CMP_QUEUES_PER_QS); in nicvf_netdev_qidx()1822 if (cq_count > MAX_CMP_QUEUES_PER_QS) { in nicvf_set_xdp_queues()1823 nic->sqs_count = roundup(cq_count, MAX_CMP_QUEUES_PER_QS); in nicvf_set_xdp_queues()1824 nic->sqs_count = (nic->sqs_count / MAX_CMP_QUEUES_PER_QS) - 1; in nicvf_set_xdp_queues()2163 (MAX_SQS_PER_VF + 1) * MAX_CMP_QUEUES_PER_QS); in nicvf_probe()