Lines Matching refs:rx_queues
395 nic->rx_queues); in nicvf_rss_init()
406 int rx_queues = 0, tx_queues = 0; in nicvf_request_sqs() local
425 if (nic->rx_queues > MAX_RCV_QUEUES_PER_QS) in nicvf_request_sqs()
426 rx_queues = nic->rx_queues - MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs()
440 if (rx_queues > MAX_RCV_QUEUES_PER_QS) { in nicvf_request_sqs()
442 rx_queues -= MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs()
444 nic->snicvf[sqs]->qs->rq_cnt = rx_queues; in nicvf_request_sqs()
445 rx_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
503 err = netif_set_real_num_rx_queues(netdev, rx_queues); in nicvf_set_real_num_queues()
506 "Failed to set no of Rx queues: %d\n", rx_queues); in nicvf_set_real_num_queues()
1809 nic->xdp_tx_queues = nic->rx_queues; in nicvf_set_xdp_queues()
1815 cq_count = max(nic->rx_queues, txq_count); in nicvf_set_xdp_queues()
1824 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); 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()
1873 bpf_prog_add(nic->xdp_prog, nic->rx_queues - 1); in nicvf_xdp_setup()
2201 err = nicvf_set_real_num_queues(netdev, nic->tx_queues, nic->rx_queues); in nicvf_probe()