Searched refs:MAX_CMP_QUEUES_PER_QS (Results 1 – 3 of 3) sorted by relevance
21 #define MAX_CMP_QUEUES_PER_QS 8 macro303 struct cmp_queue cq[MAX_CMP_QUEUES_PER_QS];
406 for (q = 0; q < MAX_CMP_QUEUES_PER_QS; q++) { in nicvf_get_regs()757 if (cqcount > MAX_CMP_QUEUES_PER_QS) { in nicvf_set_channels()758 nic->sqs_count = roundup(cqcount, MAX_CMP_QUEUES_PER_QS); in nicvf_set_channels()759 nic->sqs_count = (nic->sqs_count / MAX_CMP_QUEUES_PER_QS) - 1; in nicvf_set_channels()
77 return qidx + ((nic->sqs_id + 1) * MAX_CMP_QUEUES_PER_QS); in nicvf_netdev_qidx()1765 if (cq_count > MAX_CMP_QUEUES_PER_QS) { in nicvf_set_xdp_queues()1766 nic->sqs_count = roundup(cq_count, MAX_CMP_QUEUES_PER_QS); in nicvf_set_xdp_queues()1767 nic->sqs_count = (nic->sqs_count / MAX_CMP_QUEUES_PER_QS) - 1; in nicvf_set_xdp_queues()2095 (MAX_SQS_PER_VF + 1) * MAX_CMP_QUEUES_PER_QS); in nicvf_probe()