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];
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()
424 for (q = 0; q < MAX_SND_QUEUES_PER_QS; q++) { in nicvf_get_regs()773 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_channels()
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()