Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c282 tx_xdp = bp->rx_nr_rings; in bnxt_xdp_set()
287 rc = bnxt_check_rings(bp, bp->tx_nr_rings_per_tc, bp->rx_nr_rings, in bnxt_xdp_set()
314 bp->cp_nr_rings = max_t(int, bp->tx_nr_rings, bp->rx_nr_rings); in bnxt_xdp_set()
Dbnxt_sriov.c519 vf_ring_grps = hw_resc->max_hw_ring_grps - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()
524 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings * 2; in bnxt_hwrm_func_vf_resc_cfg()
526 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()
628 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings * 2) / in bnxt_hwrm_func_cfg()
631 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings) / in bnxt_hwrm_func_cfg()
633 vf_ring_grps = (hw_resc->max_hw_ring_grps - bp->rx_nr_rings) / num_vfs; in bnxt_hwrm_func_cfg()
753 if (hw_resc->max_rx_rings - bp->rx_nr_rings * 2 >= in bnxt_sriov_enable()
757 if (hw_resc->max_rx_rings - bp->rx_nr_rings >= in bnxt_sriov_enable()
Dbnxt.c1946 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_agg_ring_id_to_grp_idx()
2668 for (i = 0; i < bp->rx_nr_rings; i++) in bnxt_free_rx_skbs()
2764 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_free_tpa_info()
2790 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_alloc_tpa_info()
2823 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_free_rx_rings()
2877 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_alloc_rx_rings()
3101 if (i < bp->rx_nr_rings) { in bnxt_alloc_cp_rings()
3111 (!sh && i >= bp->rx_nr_rings)) { in bnxt_alloc_cp_rings()
3329 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_init_rx_rings()
3396 num_vnics += bp->rx_nr_rings; in bnxt_alloc_vnics()
[all …]
Dbnxt_ethtool.c486 return rx * bp->rx_nr_rings + tx * bp->tx_nr_rings + in bnxt_get_num_ring_stats()
527 return ring_num < bp->rx_nr_rings; in is_rx_ring()
535 tx_base = bp->rx_nr_rings; in is_tx_ring()
837 channel->combined_count = bp->rx_nr_rings; in bnxt_get_channels()
842 channel->rx_count = bp->rx_nr_rings; in bnxt_get_channels()
893 bnxt_get_nr_rss_ctxs(bp, bp->rx_nr_rings) && in bnxt_set_channels()
915 bp->rx_nr_rings = channel->combined_count; in bnxt_set_channels()
919 bp->rx_nr_rings = channel->rx_count; 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()
[all …]
Dbnxt.h1734 int rx_nr_rings; member