Lines Matching refs:tx_nr_rings
464 if (unlikely(i >= bp->tx_nr_rings)) { in bnxt_start_xmit()
3250 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_free_tx_skbs()
3710 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_free_tx_rings()
3755 for (i = 0, j = 0; i < bp->tx_nr_rings; i++) { in bnxt_alloc_tx_rings()
3955 } else if ((sh && i < bp->tx_nr_rings) || in bnxt_alloc_cp_rings()
4303 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_init_tx_rings()
5209 bp->tx_ring = kcalloc(bp->tx_nr_rings, in bnxt_alloc_mem()
5215 bp->tx_ring_map = kcalloc(bp->tx_nr_rings, sizeof(u16), in bnxt_alloc_mem()
5226 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_alloc_mem()
7055 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_hwrm_ring_alloc()
7206 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_hwrm_ring_free()
7506 cp = bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_cp_rings_in_use()
7575 if (hw_resc->resv_tx_rings != bp->tx_nr_rings && in bnxt_need_reserve_rings()
7647 hwr.tx = bp->tx_nr_rings; in __bnxt_reserve_rings()
7694 bp->tx_nr_rings = hwr.tx; in __bnxt_reserve_rings()
10510 rc = netif_set_real_num_tx_queues(dev, bp->tx_nr_rings - in bnxt_set_real_num_queues()
10718 return cp - bp->rx_nr_rings - bp->tx_nr_rings; in bnxt_get_avail_cp_rings_for_en()
10782 rc = bnxt_trim_rings(bp, &bp->rx_nr_rings, &bp->tx_nr_rings, in bnxt_init_int_mode()
10787 tx_cp = bnxt_num_tx_to_cp(bp, bp->tx_nr_rings); in bnxt_init_int_mode()
10857 bp->tx_nr_rings - bp->tx_nr_rings_xdp)) { in bnxt_reserve_rings()
10864 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_reserve_rings()
10964 for (i = 0; i < bp->tx_nr_rings - bp->tx_nr_rings_xdp; i++) in bnxt_del_napi()
11050 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_tx_disable()
11068 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_tx_enable()
11664 bp->tx_nr_rings = 0; in bnxt_clear_reservations()
14533 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc; in bnxt_setup_mq_tc()
14537 bp->tx_nr_rings = bp->tx_nr_rings_per_tc; in bnxt_setup_mq_tc()
14541 bp->tx_nr_rings += bp->tx_nr_rings_xdp; in bnxt_setup_mq_tc()
14542 tx_cp = bnxt_num_tx_to_cp(bp, bp->tx_nr_rings); in bnxt_setup_mq_tc()
15479 bp->tx_nr_rings = bp->tx_nr_rings_per_tc; in bnxt_trim_dflt_sh_rings()
15511 bp->tx_nr_rings = bp->tx_nr_rings_per_tc; in bnxt_set_dflt_rings()
15524 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_set_dflt_rings()
15533 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_set_dflt_rings()
15540 bp->tx_nr_rings = 0; in bnxt_set_dflt_rings()
15550 if (bp->tx_nr_rings) in bnxt_init_dflt_ring_mode()
15567 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_init_dflt_ring_mode()
15900 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_init_one()