Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c312 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc + tx_xdp; in bnxt_xdp_set()
313 bp->cp_nr_rings = max_t(int, bp->tx_nr_rings, bp->rx_nr_rings); in bnxt_xdp_set()
Dbnxt.c361 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()
[all …]
Dbnxt_sriov.c533 vf_tx_rings = hw_resc->max_tx_rings - bp->tx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()
637 vf_tx_rings = (hw_resc->max_tx_rings - bp->tx_nr_rings) / num_vfs; in bnxt_hwrm_func_cfg()
768 if (hw_resc->max_tx_rings - bp->tx_nr_rings >= min_tx_rings && in bnxt_sriov_enable()
Dbnxt_ethtool.c873 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels()
875 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
877 bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : in bnxt_set_channels()
878 bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_set_channels()
Dbnxt.h1588 int tx_nr_rings; member