Lines Matching refs:rx_queues
1193 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1204 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues()
1207 "Failed to set no of Rx queues: %d\n", rx_queues); in otx2_set_real_num_queues()
1492 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources()
1653 for (qidx = 0; qidx < pf->hw.rx_queues; qidx++) { in otx2_free_hw_resources()
1787 pf->hw.cint_cnt = max3(pf->hw.rx_queues, pf->hw.tx_queues, in otx2_open()
1790 pf->qset.cq_cnt = pf->hw.rx_queues + otx2_get_total_tx_queues(pf); in otx2_open()
1812 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_open()
1831 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open()
1833 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open()
1836 (qidx + pf->hw.rx_queues + in otx2_open()
1843 (qidx + pf->hw.rx_queues + in otx2_open()
2681 bpf_prog_add(pf->xdp_prog, pf->hw.rx_queues - 1); in otx2_xdp_setup()
2687 pf->hw.xdp_queues = pf->hw.rx_queues; in otx2_xdp_setup()
2925 hw->rx_queues = qcount; in otx2_probe()
2991 err = otx2_set_real_num_queues(netdev, hw->tx_queues, hw->rx_queues); in otx2_probe()