Searched refs:tx_nr_rings (Results 1 – 5 of 5) sorted by relevance
313 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc + tx_xdp; in bnxt_xdp_set()314 bp->cp_nr_rings = max_t(int, bp->tx_nr_rings, bp->rx_nr_rings); in bnxt_xdp_set()
408 if (unlikely(i >= bp->tx_nr_rings)) { in bnxt_start_xmit()2608 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_free_tx_skbs()3028 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_free_tx_rings()3064 for (i = 0, j = 0; i < bp->tx_nr_rings; i++) { in bnxt_alloc_tx_rings()3205 if ((sh && i < bp->tx_nr_rings) || in bnxt_alloc_cp_rings()3440 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_init_tx_rings()4265 bp->tx_ring = kcalloc(bp->tx_nr_rings, in bnxt_alloc_mem()4271 bp->tx_ring_map = kcalloc(bp->tx_nr_rings, sizeof(u16), in bnxt_alloc_mem()4282 for (i = 0; i < bp->tx_nr_rings; i++, j++) { in bnxt_alloc_mem()5778 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_hwrm_ring_alloc()[all …]
527 vf_tx_rings = hw_resc->max_tx_rings - bp->tx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()634 vf_tx_rings = (hw_resc->max_tx_rings - bp->tx_nr_rings) / num_vfs; in bnxt_hwrm_func_cfg()765 if (hw_resc->max_tx_rings - bp->tx_nr_rings >= min_tx_rings && in bnxt_sriov_enable()
486 return rx * bp->rx_nr_rings + tx * bp->tx_nr_rings + in bnxt_get_num_ring_stats()537 if (ring_num >= tx_base && ring_num < (tx_base + bp->tx_nr_rings)) in is_tx_ring()923 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels()925 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()927 bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : in bnxt_set_channels()928 bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_set_channels()
1762 int tx_nr_rings; member