Home
last modified time | relevance | path

Searched refs:MAX_CMP_QUEUES_PER_QS (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.h19 #define MAX_CMP_QUEUES_PER_QS 8 macro
290 struct cmp_queue cq[MAX_CMP_QUEUES_PER_QS];
Dnicvf_ethtool.c352 for (q = 0; q < MAX_CMP_QUEUES_PER_QS; q++) { in nicvf_get_regs()
649 if (cqcount > MAX_CMP_QUEUES_PER_QS) { in nicvf_set_channels()
650 nic->sqs_count = roundup(cqcount, MAX_CMP_QUEUES_PER_QS); in nicvf_set_channels()
651 nic->sqs_count = (nic->sqs_count / MAX_CMP_QUEUES_PER_QS) - 1; in nicvf_set_channels()
Dnicvf_main.c57 return qidx + ((nic->sqs_id + 1) * MAX_CMP_QUEUES_PER_QS); in nicvf_netdev_qidx()
1488 qcount = MAX_CMP_QUEUES_PER_QS; in nicvf_probe()
1493 qcount = roundup(num_online_cpus(), MAX_CMP_QUEUES_PER_QS); in nicvf_probe()
1495 (MAX_SQS_PER_VF + 1) * MAX_CMP_QUEUES_PER_QS); in nicvf_probe()