Lines Matching refs:tx_nr_rings
372 if (unlikely(i >= bp->tx_nr_rings)) { in bnxt_start_xmit()
2867 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_free_tx_skbs()
3317 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_free_tx_rings()
3353 for (i = 0, j = 0; i < bp->tx_nr_rings; i++) { in bnxt_alloc_tx_rings()
3559 if ((sh && i < bp->tx_nr_rings) || in bnxt_alloc_cp_rings()
3794 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_init_tx_rings()
4589 bp->tx_ring = kcalloc(bp->tx_nr_rings, in bnxt_alloc_mem()
4595 bp->tx_ring_map = kcalloc(bp->tx_nr_rings, sizeof(u16), in bnxt_alloc_mem()
4606 for (i = 0; i < bp->tx_nr_rings; i++, j++) { in bnxt_alloc_mem()
5915 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_hwrm_ring_alloc()
6042 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_hwrm_ring_free()
6400 cp = bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_cp_rings_in_use()
6441 if (hw_resc->resv_tx_rings != bp->tx_nr_rings && in bnxt_need_reserve_rings()
6474 int tx = bp->tx_nr_rings; in __bnxt_reserve_rings()
6529 bp->tx_nr_rings = tx; in __bnxt_reserve_rings()
8912 rc = netif_set_real_num_tx_queues(dev, bp->tx_nr_rings - in bnxt_set_real_num_queues()
9073 return cp - bp->rx_nr_rings - bp->tx_nr_rings; in bnxt_get_avail_cp_rings_for_en()
9152 rc = bnxt_trim_rings(bp, &bp->rx_nr_rings, &bp->tx_nr_rings, in bnxt_init_msix()
9158 max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : in bnxt_init_msix()
9159 bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_init_msix()
9186 bp->tx_nr_rings = 1; in bnxt_init_inta()
9242 if (tcs && (bp->tx_nr_rings_per_tc * tcs != bp->tx_nr_rings)) { in bnxt_reserve_rings()
9245 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_reserve_rings()
9429 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_tx_disable()
9447 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_tx_enable()
10003 bp->tx_nr_rings = 0; in bnxt_clear_reservations()
12754 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc; in bnxt_setup_mq_tc()
12757 bp->tx_nr_rings = bp->tx_nr_rings_per_tc; in bnxt_setup_mq_tc()
12760 bp->tx_nr_rings += bp->tx_nr_rings_xdp; in bnxt_setup_mq_tc()
12761 bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : in bnxt_setup_mq_tc()
12762 bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_setup_mq_tc()
13318 bp->tx_nr_rings = bp->tx_nr_rings_per_tc; in bnxt_trim_dflt_sh_rings()
13349 bp->tx_nr_rings = bp->tx_nr_rings_per_tc; in bnxt_set_dflt_rings()
13354 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_set_dflt_rings()
13363 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_set_dflt_rings()
13370 bp->tx_nr_rings = 0; in bnxt_set_dflt_rings()
13380 if (bp->tx_nr_rings) in bnxt_init_dflt_ring_mode()
13397 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_init_dflt_ring_mode()
13699 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_init_one()