MAX_CMP_QUEUES_PER_QS
for (q = 0; q < MAX_CMP_QUEUES_PER_QS; q++) {
if (cqcount > MAX_CMP_QUEUES_PER_QS) {
nic->sqs_count = roundup(cqcount, MAX_CMP_QUEUES_PER_QS);
nic->sqs_count = (nic->sqs_count / MAX_CMP_QUEUES_PER_QS) - 1;
if (cq_count > MAX_CMP_QUEUES_PER_QS) {
nic->sqs_count = roundup(cq_count, MAX_CMP_QUEUES_PER_QS);
nic->sqs_count = (nic->sqs_count / MAX_CMP_QUEUES_PER_QS) - 1;
(MAX_SQS_PER_VF + 1) * MAX_CMP_QUEUES_PER_QS);
return qidx + ((nic->sqs_id + 1) * MAX_CMP_QUEUES_PER_QS);
struct cmp_queue cq[MAX_CMP_QUEUES_PER_QS];