From: Shannon Nelson Date: Sat, 10 May 2014 04:49:09 +0000 (+0000) Subject: i40e: clear pxe after adminq is rebuilt X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e78ac4bff2f9791f479ebfa2c1a496087b321e99;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git i40e: clear pxe after adminq is rebuilt Be sure to clear PXE mode bit on each reset after AdminQ has been rebuilt. Change-ID: I992d8c79594f8ca0660c50844ace675ecb9c9bf2 Signed-off-by: Shannon Nelson Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index 8ab3c88ef53d..a8c96125d337 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c @@ -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",