Home
last modified time | relevance | path

Searched refs:tx_nr_rings (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c436 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()
H A Dbnxt.c406 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()
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()
6478 int tx = bp->tx_nr_rings; in __bnxt_reserve_rings()
6533 bp->tx_nr_rings = tx; in __bnxt_reserve_rings()
9196 bp->tx_nr_rings = 1; in bnxt_init_inta()
10025 bp->tx_nr_rings = 0; in bnxt_clear_reservations()
13443 bp->tx_nr_rings = 0; in bnxt_set_dflt_rings()
[all …]
H A Dbnxt_sriov.c551 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()
H A Dbnxt_ethtool.c529 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()
H A Dbnxt.h1921 int tx_nr_rings; member