i40e: Added code to prevent double resets
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 10 Mar 2016 22:59:47 +0000 (14:59 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 5 Apr 2016 19:27:01 +0000 (12:27 -0700)
commit7e5a313ed9b18ba9f35df2523eb9e386a195a2c4
treec5926657a58c44baf06bfe4d1faeab3a452ec46b
parentd3ce57344100023faa8f514eb66dfb110b53629c
i40e: Added code to prevent double resets

Clear the VFLR bit after reset processing, instead of before. This
prevents double resets on VF init.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c