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 bp->cp_nr_rings = max_t(int, bp->tx_nr_rings, bp->rx_nr_rings); in bnxt_xdp_set()
406 if (unlikely(i >= bp->tx_nr_rings)) { in bnxt_start_xmit()2850 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_free_tx_skbs()3287 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_free_tx_rings()3323 for (i = 0, j = 0; i < bp->tx_nr_rings; i++) { in bnxt_alloc_tx_rings()3529 if ((sh && i < bp->tx_nr_rings) || in bnxt_alloc_cp_rings()3764 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_init_tx_rings()4562 bp->tx_ring = kcalloc(bp->tx_nr_rings, in bnxt_alloc_mem()4568 bp->tx_ring_map = kcalloc(bp->tx_nr_rings, sizeof(u16), in bnxt_alloc_mem()4579 for (i = 0; i < bp->tx_nr_rings; i++, j++) { in bnxt_alloc_mem()5919 for (i = 0; i < bp->tx_nr_rings; i++) { in bnxt_hwrm_ring_alloc()[all …]
551 vf_tx_rings = hw_resc->max_tx_rings - bp->tx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()662 vf_tx_rings = (hw_resc->max_tx_rings - bp->tx_nr_rings) / num_vfs; in bnxt_hwrm_func_cfg()791 if (hw_resc->max_tx_rings - bp->tx_nr_rings >= min_tx_rings && in bnxt_sriov_enable()
529 return rx * bp->rx_nr_rings + tx * bp->tx_nr_rings + in bnxt_get_num_ring_stats()580 if (ring_num >= tx_base && ring_num < (tx_base + bp->tx_nr_rings)) in is_tx_ring()970 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels()972 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()974 bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : in bnxt_set_channels()975 bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_set_channels()
1921 int tx_nr_rings; member