Lines Matching refs:tx_queues
406 int rx_queues = 0, tx_queues = 0; in nicvf_request_sqs() local
428 tx_queues = nic->tx_queues + nic->xdp_tx_queues; in nicvf_request_sqs()
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()
450 tx_queues -= MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
452 nic->snicvf[sqs]->qs->sq_cnt = tx_queues; in nicvf_request_sqs()
453 tx_queues = 0; in nicvf_request_sqs()
466 nic->tx_queues, nic->rx_queues); in nicvf_request_sqs()
492 int tx_queues, int rx_queues) in nicvf_set_real_num_queues() argument
496 err = netif_set_real_num_tx_queues(netdev, tx_queues); in nicvf_set_real_num_queues()
499 "Failed to set no of Tx queues: %d\n", tx_queues); in nicvf_set_real_num_queues()
1814 txq_count = nic->xdp_tx_queues + nic->tx_queues; in nicvf_set_xdp_queues()
1829 nicvf_set_real_num_queues(nic->netdev, nic->tx_queues, nic->rx_queues); in nicvf_set_xdp_queues()
1856 if ((nic->rx_queues + nic->tx_queues) > nic->max_queues) { in nicvf_xdp_setup()
2201 err = nicvf_set_real_num_queues(netdev, nic->tx_queues, nic->rx_queues); in nicvf_probe()
2222 nic->rx_queues + nic->tx_queues <= nic->max_queues) in nicvf_probe()