Searched refs:vf_rx_rings (Results 1 – 1 of 1) sorted by relevance
506 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings; in bnxt_hwrm_func_vf_resc_cfg() local524 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()529 vf_vnics = min_t(u16, vf_vnics, vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg()550 vf_rx_rings /= num_vfs; in bnxt_hwrm_func_vf_resc_cfg()558 req.min_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg()567 req.max_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg()615 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings, vf_stat_ctx, vf_vnics; in bnxt_hwrm_func_cfg() local628 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()[all …]