From: Shannon Nelson Date: Fri, 18 Mar 2016 19:18:11 +0000 (-0700) Subject: i40e: Disable link polling X-Git-Tag: v4.1.12-92~121^2~71 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=146f1814101c35d833a1fca14a82baa343083ce1;p=users%2Fjedix%2Flinux-maple.git i40e: Disable link polling Orabug: 23176970 Periodic link polling was added when the link events were found not to be trustworthy. This was the case early on, but was likely because the link event mask was being used incorrectly. As this has been fixed in recent code, we can disable the link polling to lessen the AQ traffic. Change-ID: Id890b5ee3c2d04381fc76ffa434777644f5d8eb0 Signed-off-by: Shannon Nelson Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher (cherry picked from commit 8c806b676d21a49628250731f4e30a8a071d080c) Signed-off-by: Brian Maly --- diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c index f027180bb0e2..7595604e59bc 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_main.c +++ b/drivers/net/ethernet/intel/i40e/i40e_main.c @@ -8394,7 +8394,6 @@ static int i40e_sw_init(struct i40e_pf *pf) /* Set default capability flags */ pf->flags = I40E_FLAG_RX_CSUM_ENABLED | I40E_FLAG_MSI_ENABLED | - I40E_FLAG_LINK_POLLING_ENABLED | I40E_FLAG_MSIX_ENABLED; if (iommu_present(&pci_bus_type))