Searched refs:rx_nr_rings (Results 1 – 5 of 5) sorted by relevance
545 vf_ring_grps = hw_resc->max_hw_ring_grps - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()550 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings * 2; in bnxt_hwrm_func_vf_resc_cfg()552 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()666 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings * 2) / in bnxt_hwrm_func_cfg()669 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings) / in bnxt_hwrm_func_cfg()671 vf_ring_grps = (hw_resc->max_hw_ring_grps - bp->rx_nr_rings) / num_vfs; in bnxt_hwrm_func_cfg()789 if (hw_resc->max_rx_rings - bp->rx_nr_rings * 2 >= in bnxt_sriov_enable()793 if (hw_resc->max_rx_rings - bp->rx_nr_rings >= in bnxt_sriov_enable()
403 tx_xdp = bp->rx_nr_rings; in bnxt_xdp_set()408 rc = bnxt_check_rings(bp, bp->tx_nr_rings_per_tc, bp->rx_nr_rings, in bnxt_xdp_set()438 bp->cp_nr_rings = max_t(int, tx_cp, bp->rx_nr_rings); in bnxt_xdp_set()
2369 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_agg_ring_id_to_grp_idx()3410 for (i = 0; i < bp->rx_nr_rings; i++) in bnxt_free_rx_skbs()3527 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_free_tpa_info()3554 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_alloc_tpa_info()3587 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_free_rx_rings()3649 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_alloc_rx_rings()3948 if (i < bp->rx_nr_rings) { in bnxt_alloc_cp_rings()3956 (!sh && i >= bp->rx_nr_rings)) { in bnxt_alloc_cp_rings()4287 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_init_rx_rings()4362 num_vnics += bp->rx_nr_rings; in bnxt_alloc_vnics()[all …]
531 return rx * bp->rx_nr_rings + in bnxt_get_num_ring_stats()578 return ring_num < bp->rx_nr_rings; in is_rx_ring()586 tx_base = bp->rx_nr_rings; in is_tx_ring()908 channel->combined_count = bp->rx_nr_rings; in bnxt_get_channels()913 channel->rx_count = bp->rx_nr_rings; in bnxt_get_channels()960 bnxt_get_nr_rss_ctxs(bp, bp->rx_nr_rings) && in bnxt_set_channels()983 bp->rx_nr_rings = channel->combined_count; in bnxt_set_channels()987 bp->rx_nr_rings = channel->rx_count; in bnxt_set_channels()996 bp->cp_nr_rings = sh ? max_t(int, tx_cp, bp->rx_nr_rings) : in bnxt_set_channels()997 tx_cp + bp->rx_nr_rings; in bnxt_set_channels()[all …]
2307 int rx_nr_rings; member