Home
last modified time | relevance | path

Searched refs:MAX_SND_QUEUES_PER_QS (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.h17 #define MAX_SND_QUEUES_PER_QS 8 macro
301 struct snd_queue sq[MAX_SND_QUEUES_PER_QS];
H A Dnicvf_main.c430 if (tx_queues > MAX_SND_QUEUES_PER_QS) in nicvf_request_sqs()
431 tx_queues = tx_queues - MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
449 if (tx_queues > MAX_SND_QUEUES_PER_QS) { in nicvf_request_sqs()
450 nic->snicvf[sqs]->qs->sq_cnt = MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
451 tx_queues -= MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
1278 if (qid >= MAX_SND_QUEUES_PER_QS) { in nicvf_xmit()
1279 tmp = qid / MAX_SND_QUEUES_PER_QS; in nicvf_xmit()
1288 qid = qid % MAX_SND_QUEUES_PER_QS; in nicvf_xmit()
1829 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_xdp_queues()
H A Dnicvf_ethtool.c423 for (q = 0; q < MAX_SND_QUEUES_PER_QS; q++) { in nicvf_get_regs()
760 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_channels()
H A Dnicvf_queues.c524 qidx += ((nic->sqs_id + 1) * MAX_SND_QUEUES_PER_QS); in nicvf_init_snd_queue()
1048 qs->sq_cnt = min_t(u8, MAX_SND_QUEUES_PER_QS, num_online_cpus()); in nicvf_set_qset_resources()
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.h17 #define MAX_SND_QUEUES_PER_QS 8 macro
301 struct snd_queue sq[MAX_SND_QUEUES_PER_QS];
H A Dnicvf_main.c429 if (tx_queues > MAX_SND_QUEUES_PER_QS) in nicvf_request_sqs()
430 tx_queues = tx_queues - MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
448 if (tx_queues > MAX_SND_QUEUES_PER_QS) { in nicvf_request_sqs()
449 nic->snicvf[sqs]->qs->sq_cnt = MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
450 tx_queues -= MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
1275 if (qid >= MAX_SND_QUEUES_PER_QS) { in nicvf_xmit()
1276 tmp = qid / MAX_SND_QUEUES_PER_QS; in nicvf_xmit()
1285 qid = qid % MAX_SND_QUEUES_PER_QS; in nicvf_xmit()
1825 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_xdp_queues()
H A Dnicvf_ethtool.c424 for (q = 0; q < MAX_SND_QUEUES_PER_QS; q++) { in nicvf_get_regs()
772 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_channels()
H A Dnicvf_queues.c525 qidx += ((nic->sqs_id + 1) * MAX_SND_QUEUES_PER_QS); in nicvf_init_snd_queue()
1049 qs->sq_cnt = min_t(u8, MAX_SND_QUEUES_PER_QS, num_online_cpus()); in nicvf_set_qset_resources()

Completed in 27 milliseconds