• Greg Rose's avatar
    ixgbevf: Fix statistics corruption · 088245a3
    Greg Rose authored
    When the physical function (PF) is reset for any reason the statistics
    collection in ixgbevf_update_stats needs to wait to update until after
    the reset synchronization ensures that the PF driver is up and running
    and is finished with its own reset.  Go ahead and clear the link flag to
    indicate this when the control message from the PF is received.  The
    reset synchronization and recovery in the watchdog task will eventually
    set the link flag up when the PF has resumed.
    Signed-off-by: default avatarGreg Rose <gregory.v.rose@intel.com>
    Tested-by: default avatarSibai Li <sibai.li@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    088245a3
ixgbevf_main.c 94.9 KB