i40e: clear pxe after adminq is rebuilt
authorShannon Nelson <shannon.nelson@intel.com>
Sat, 10 May 2014 04:49:09 +0000 (04:49 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 8 Jun 2014 09:01:43 +0000 (02:01 -0700)
Be sure to clear PXE mode bit on each reset after AdminQ has been rebuilt.

Change-ID: I992d8c79594f8ca0660c50844ace675ecb9c9bf2
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c

index 8ab3c88ef53d96ab6c4125426f9554b5eac80b1e..a8c96125d33727efe99db8ec8afe707b3b0ef8b4 100644 (file)
@@ -5520,6 +5520,7 @@ static void i40e_reset_and_rebuild(struct i40e_pf *pf, bool reinit)
                i40e_verify_eeprom(pf);
        }
 
+       i40e_clear_pxe_mode(hw);
        ret = i40e_get_capabilities(pf);
        if (ret) {
                dev_info(&pf->pdev->dev, "i40e_get_capabilities failed, %d\n",