Searched refs:rx_nr_rings (Results 1 – 5 of 5) sorted by relevance
281 tx_xdp = bp->rx_nr_rings; in bnxt_xdp_set()286 rc = bnxt_check_rings(bp, bp->tx_nr_rings_per_tc, bp->rx_nr_rings, in bnxt_xdp_set()313 bp->cp_nr_rings = max_t(int, bp->tx_nr_rings, bp->rx_nr_rings); in bnxt_xdp_set()
525 vf_ring_grps = hw_resc->max_hw_ring_grps - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()530 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings * 2; in bnxt_hwrm_func_vf_resc_cfg()532 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()631 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings * 2) / in bnxt_hwrm_func_cfg()634 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings) / in bnxt_hwrm_func_cfg()636 vf_ring_grps = (hw_resc->max_hw_ring_grps - bp->rx_nr_rings) / num_vfs; in bnxt_hwrm_func_cfg()756 if (hw_resc->max_rx_rings - bp->rx_nr_rings * 2 >= in bnxt_sriov_enable()760 if (hw_resc->max_rx_rings - bp->rx_nr_rings >= in bnxt_sriov_enable()
2543 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_free_rx_skbs()2711 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_free_tpa_info()2737 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_alloc_tpa_info()2770 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_free_rx_rings()2824 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_alloc_rx_rings()3048 if (i < bp->rx_nr_rings) { in bnxt_alloc_cp_rings()3058 (!sh && i >= bp->rx_nr_rings)) { in bnxt_alloc_cp_rings()3277 for (i = 0; i < bp->rx_nr_rings; i++) { in bnxt_init_rx_rings()3344 num_vnics += bp->rx_nr_rings; in bnxt_alloc_vnics()3588 max_rings = bp->rx_nr_rings; in bnxt_alloc_vnic_attributes()[all …]
794 channel->combined_count = bp->rx_nr_rings; in bnxt_get_channels()799 channel->rx_count = bp->rx_nr_rings; in bnxt_get_channels()865 bp->rx_nr_rings = channel->combined_count; in bnxt_set_channels()869 bp->rx_nr_rings = channel->rx_count; 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()1150 cmd->data = bp->rx_nr_rings; in bnxt_get_rxnfc()
1582 int rx_nr_rings; member