• Mitch Williams's avatar
    i40e: stop VF rings · 44434638
    Mitch Williams authored
    Explicitly stop the rings belonging to each VF when disabling SR-IOV.
    Even though the VFs were gone, and the associated VSIs were removed,
    the rings were not stopped, and in some circumstances the hardware would
    continue to access the memory formerly used by the rings, causing
    memory corruption or DMAR errors, both of which would lead to general
    malaise of the kernel.
    
    To relieve this condition, explicitly stop all the rings associated with
    each VF before releasing its resources.
    Signed-off-by: default avatarMitch Williams <mitch.a.williams@intel.com>
    Tested-by: default avatarJim Young <james.m.young@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    44434638
i40e_virtchnl_pf.c 61.9 KB