• Akeem G Abodunrin's avatar
    ice: Restructure VFs initialization flows · d82dd83d
    Akeem G Abodunrin authored
    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: default avatarAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
    Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    d82dd83d
ice_virtchnl_pf.c 83.2 KB