Searched refs:vf_vnics (Results 1 – 1 of 1) sorted by relevance
531 u16 vf_stat_ctx, vf_vnics, vf_ring_grps; in bnxt_hwrm_func_vf_resc_cfg() local554 vf_vnics = hw_resc->max_vnics - bp->nr_vnics; in bnxt_hwrm_func_vf_resc_cfg()577 vf_vnics >= pf->max_vfs) { in bnxt_hwrm_func_vf_resc_cfg()581 vf_vnics = (vf_vnics - pf->max_vfs + num_vfs) / num_vfs; in bnxt_hwrm_func_vf_resc_cfg()583 vf_vnics /= num_vfs; in bnxt_hwrm_func_vf_resc_cfg()589 vf_vnics = min_t(u16, vf_vnics, vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg()594 req->min_vnics = cpu_to_le16(vf_vnics); in bnxt_hwrm_func_vf_resc_cfg()603 req->max_vnics = cpu_to_le16(vf_vnics); in bnxt_hwrm_func_vf_resc_cfg()649 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings, vf_stat_ctx, vf_vnics; in bnxt_hwrm_func_cfg() local673 vf_vnics = (hw_resc->max_vnics - bp->nr_vnics) / num_vfs; in bnxt_hwrm_func_cfg()[all …]