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 D | nicvf_queues.h | 17 #define MAX_SND_QUEUES_PER_QS 8 macro 301 struct snd_queue sq[MAX_SND_QUEUES_PER_QS];
|
H A D | nicvf_main.c | 430 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 D | nicvf_ethtool.c | 423 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 D | nicvf_queues.c | 524 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 D | nicvf_queues.h | 17 #define MAX_SND_QUEUES_PER_QS 8 macro 301 struct snd_queue sq[MAX_SND_QUEUES_PER_QS];
|
H A D | nicvf_main.c | 429 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 D | nicvf_ethtool.c | 424 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 D | nicvf_queues.c | 525 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 21 milliseconds