• A
    ice: Restructure VFs initialization flows · d82dd83d
    Akeem G Abodunrin 提交于
    This patch restructures how VFs are configured, and resources allocated.
    Instead of freeing resources that were never allocated, and resetting
    empty VFs that have never been created - the new flow will just allocate
    resources for number of requested VFs based on the availability.
    
    During VFs initialization process, global interrupt is disabled, and
    rearmed after getting MSIX vectors for VFs. This allows immediate mailbox
    communications, instead of delaying it till later and VFs.
    PF communications resulted to using polling instead of actual interrupt.
    The issue manifested when creating higher number of VFs (128 VFs) per PF.
    Signed-off-by: NAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
    Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
    Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
    d82dd83d
ice_virtchnl_pf.c 83.2 KB