Home
last modified time | relevance | path

Searched refs:MAX_SND_QUEUES_PER_QS (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.h18 #define MAX_SND_QUEUES_PER_QS 8 macro
291 struct snd_queue sq[MAX_SND_QUEUES_PER_QS];
Dnicvf_main.c403 if (nic->tx_queues > MAX_SND_QUEUES_PER_QS) in nicvf_request_sqs()
404 tx_queues = nic->tx_queues - MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
422 if (tx_queues > MAX_SND_QUEUES_PER_QS) { in nicvf_request_sqs()
423 nic->snicvf[sqs]->qs->sq_cnt = MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
424 tx_queues -= MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
Dnicvf_ethtool.c374 for (q = 0; q < MAX_SND_QUEUES_PER_QS; q++) { in nicvf_get_regs()
657 nic->qs->sq_cnt = min_t(u32, channel->tx_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_channels()
Dnicvf_queues.c1113 if (sq_num >= MAX_SND_QUEUES_PER_QS) { in nicvf_sq_append_skb()
1115 i = sq_num / MAX_SND_QUEUES_PER_QS; in nicvf_sq_append_skb()
1123 sq_num = sq_num % MAX_SND_QUEUES_PER_QS; in nicvf_sq_append_skb()