Searched refs:rx_nr_rings (Results 1 – 5 of 5) sorted by relevance
283 tx_xdp = bp->rx_nr_rings; in bnxt_xdp_set()288 rc = bnxt_check_rings(bp, bp->tx_nr_rings_per_tc, bp->rx_nr_rings, in bnxt_xdp_set()315 bp->cp_nr_rings = max_t(int, bp->tx_nr_rings, bp->rx_nr_rings); in bnxt_xdp_set()
543 vf_ring_grps = hw_resc->max_hw_ring_grps - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()548 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings * 2; in bnxt_hwrm_func_vf_resc_cfg()550 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()656 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings * 2) / in bnxt_hwrm_func_cfg()659 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings) / in bnxt_hwrm_func_cfg()661 vf_ring_grps = (hw_resc->max_hw_ring_grps - bp->rx_nr_rings) / num_vfs; in bnxt_hwrm_func_cfg()780 if (hw_resc->max_rx_rings - bp->rx_nr_rings * 2 >= in bnxt_sriov_enable()784 if (hw_resc->max_rx_rings - bp->rx_nr_rings >= in bnxt_sriov_enable()
2083 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_agg_ring_id_to_grp_idx()2892 for (i = 0; i < bp->rx_nr_rings; i++) in bnxt_free_rx_skbs()3009 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_free_tpa_info()3036 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_alloc_tpa_info()3069 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_free_rx_rings()3123 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_alloc_rx_rings()3412 if (i < bp->rx_nr_rings) { in bnxt_alloc_cp_rings()3422 (!sh && i >= bp->rx_nr_rings)) { in bnxt_alloc_cp_rings()3640 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_init_rx_rings()3707 num_vnics += bp->rx_nr_rings; in bnxt_alloc_vnics()[all …]
495 return rx * bp->rx_nr_rings + tx * bp->tx_nr_rings + in bnxt_get_num_ring_stats()536 return ring_num < bp->rx_nr_rings; in is_rx_ring()544 tx_base = bp->rx_nr_rings; in is_tx_ring()853 channel->combined_count = bp->rx_nr_rings; in bnxt_get_channels()858 channel->rx_count = bp->rx_nr_rings; in bnxt_get_channels()909 bnxt_get_nr_rss_ctxs(bp, bp->rx_nr_rings) && in bnxt_set_channels()931 bp->rx_nr_rings = channel->combined_count; in bnxt_set_channels()935 bp->rx_nr_rings = channel->rx_count; in bnxt_set_channels()943 bp->cp_nr_rings = sh ? max_t(int, bp->tx_nr_rings, bp->rx_nr_rings) : in bnxt_set_channels()944 bp->tx_nr_rings + bp->rx_nr_rings; in bnxt_set_channels()[all …]
1795 int rx_nr_rings; member