Searched refs:MAX_SND_QUEUES_PER_QS (Results 1 – 4 of 4) sorted by relevance
17 #define MAX_SND_QUEUES_PER_QS 8 macro301 struct snd_queue sq[MAX_SND_QUEUES_PER_QS];
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()
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()
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()