[Intel-wired-lan] [next PATCH S31 v4 05/12] i40e: Make VF resets more reliable

Bowers, AndrewX andrewx.bowers at intel.com
Mon Mar 21 22:47:39 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Avinash Dayanand
> Sent: Friday, March 18, 2016 12:18 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S31 v4 05/12] i40e: Make VF resets
> more reliable
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> Clear the VFLR bit immediately after triggering a reset instead of waiting until
> after cleanup is complete. Make sure to trigger a reset every time, not just if
> the PF is up.
> 
> These changes fix a problem where VF resets would get lost by the PF,
> preventing the VF driver from initializing.
> 
> Testing Hints: Do VF driver load/unload test with lots of VFs in the system.
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-ID: I5945cf2884095b7b0554867c64df8617e71d9d29
> ---
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Code changes correctly applied, unloading and reloading VF driver with VFs created does not result in errors


More information about the Intel-wired-lan mailing list