Lines Matching refs:rx_queues
1156 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1167 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues()
1170 "Failed to set no of Rx queues: %d\n", rx_queues); in otx2_set_real_num_queues()
1435 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources()
1691 pf->qset.cq_cnt = pf->hw.rx_queues + pf->hw.tot_tx_queues; in otx2_open()
1695 pf->hw.cint_cnt = max(pf->hw.rx_queues, pf->hw.tx_queues); in otx2_open()
1716 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_open()
1735 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open()
1737 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open()
1740 (qidx + pf->hw.rx_queues + in otx2_open()
2510 bpf_prog_add(pf->xdp_prog, pf->hw.rx_queues - 1); in otx2_xdp_setup()
2516 pf->hw.xdp_queues = pf->hw.rx_queues; in otx2_xdp_setup()
2749 hw->rx_queues = qcount; in otx2_probe()
2815 err = otx2_set_real_num_queues(netdev, hw->tx_queues, hw->rx_queues); in otx2_probe()