Searched refs:tx_nr_rings (Results 1 – 5 of 5) sorted by relevance
436 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc + tx_xdp; in bnxt_xdp_set()437 tx_cp = bnxt_num_tx_to_cp(bp, bp->tx_nr_rings); in bnxt_xdp_set()
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()[all …]
553 vf_tx_rings = hw_resc->max_tx_rings - bp->tx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()672 vf_tx_rings = (hw_resc->max_tx_rings - bp->tx_nr_rings) / num_vfs; in bnxt_hwrm_func_cfg()801 if (hw_resc->max_tx_rings - bp->tx_nr_rings >= min_tx_rings && in bnxt_sriov_enable()
588 if (ring_num >= tx_base && ring_num < (tx_base + bp->tx_nr_rings)) in is_tx_ring()991 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels()993 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()995 tx_cp = bnxt_num_tx_to_cp(bp, bp->tx_nr_rings); in bnxt_set_channels()
2313 int tx_nr_rings; member