Lines Matching refs:tx_nr_rings

361 	if (unlikely(i >= bp->tx_nr_rings)) {  in bnxt_start_xmit()
2474 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_free_tx_skbs()
2880 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_free_tx_rings()
2916 for (i = 0, j = 0; i < bp->tx_nr_rings; i++) { in bnxt_alloc_tx_rings()
3057 if ((sh && i < bp->tx_nr_rings) || in bnxt_alloc_cp_rings()
3293 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_init_tx_rings()
4002 bp->tx_ring = kcalloc(bp->tx_nr_rings, in bnxt_alloc_mem()
4008 bp->tx_ring_map = kcalloc(bp->tx_nr_rings, sizeof(u16), in bnxt_alloc_mem()
4019 for (i = 0; i < bp->tx_nr_rings; i++, j++) { in bnxt_alloc_mem()
5425 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_hwrm_ring_alloc()
5548 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_hwrm_ring_free()
5888 cp = bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_cp_rings_in_use()
5917 if (hw_resc->resv_tx_rings != bp->tx_nr_rings) in bnxt_need_reserve_rings()
5941 int tx = bp->tx_nr_rings; in __bnxt_reserve_rings()
5996 bp->tx_nr_rings = tx; in __bnxt_reserve_rings()
7828 rc = netif_set_real_num_tx_queues(dev, bp->tx_nr_rings - in bnxt_set_real_num_queues()
7981 return cp - bp->rx_nr_rings - bp->tx_nr_rings; in bnxt_get_avail_cp_rings_for_en()
8060 rc = bnxt_trim_rings(bp, &bp->rx_nr_rings, &bp->tx_nr_rings, in bnxt_init_msix()
8066 max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : in bnxt_init_msix()
8067 bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_init_msix()
8094 bp->tx_nr_rings = 1; in bnxt_init_inta()
8150 if (tcs && (bp->tx_nr_rings_per_tc * tcs != bp->tx_nr_rings)) { in bnxt_reserve_rings()
8153 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_reserve_rings()
8332 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_tx_disable()
8347 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_tx_enable()
8790 bp->tx_nr_rings = 0; in bnxt_hwrm_if_change()
10904 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc; in bnxt_setup_mq_tc()
10907 bp->tx_nr_rings = bp->tx_nr_rings_per_tc; in bnxt_setup_mq_tc()
10910 bp->tx_nr_rings += bp->tx_nr_rings_xdp; in bnxt_setup_mq_tc()
10911 bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : in bnxt_setup_mq_tc()
10912 bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_setup_mq_tc()
11504 bp->tx_nr_rings = bp->tx_nr_rings_per_tc; in bnxt_trim_dflt_sh_rings()
11535 bp->tx_nr_rings = bp->tx_nr_rings_per_tc; in bnxt_set_dflt_rings()
11540 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_set_dflt_rings()
11549 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_set_dflt_rings()
11562 if (bp->tx_nr_rings) in bnxt_init_dflt_ring_mode()
11576 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_init_dflt_ring_mode()
11801 bp->tx_nr_rings_per_tc = bp->tx_nr_rings; in bnxt_init_one()