• Jacob Keller's avatar
    ice: introduce ICE_VF_RESET_NOTIFY flag · 9dbb33da
    Jacob Keller authored
    In some cases of resetting a VF, the PF would like to first notify the
    VF that a reset is impending. This is currently done via
    ice_vc_notify_vf_reset. A wrapper to ice_reset_vf, ice_vf_reset_vf, is
    used to call this function first before calling ice_reset_vf.
    
    In fact, every single call to ice_vc_notify_vf_reset occurs just prior
    to a call to ice_vc_reset_vf.
    
    Now that ice_reset_vf has flags, replace this separate call with an
    ICE_VF_RESET_NOTIFY flag. This removes an unnecessary exported function
    of ice_vc_notify_vf_reset, and also makes there be a single function to
    reset VFs (ice_reset_vf).
    Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
    Tested-by: default avatarKonrad Jankowski <konrad0.jankowski@intel.com>
    Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
    9dbb33da
ice_vf_lib.h 8.29 KB