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];
402 for (q = 0; q < MAX_CMP_QUEUES_PER_QS; q++) { in nicvf_get_regs()765 if (cqcount > MAX_CMP_QUEUES_PER_QS) { in nicvf_set_channels()766 nic->sqs_count = roundup(cqcount, MAX_CMP_QUEUES_PER_QS); in nicvf_set_channels()767 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()1816 if (cq_count > MAX_CMP_QUEUES_PER_QS) { in nicvf_set_xdp_queues()1817 nic->sqs_count = roundup(cq_count, MAX_CMP_QUEUES_PER_QS); in nicvf_set_xdp_queues()1818 nic->sqs_count = (nic->sqs_count / MAX_CMP_QUEUES_PER_QS) - 1; in nicvf_set_xdp_queues()2134 (MAX_SQS_PER_VF + 1) * MAX_CMP_QUEUES_PER_QS); in nicvf_probe()