aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e/netdev.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-03-20 13:12:03 -0400
committerDavid S. Miller <davem@davemloft.net>2019-03-20 13:12:03 -0400
commit8d3a3048c31332b24bcc8a6cf806827eb9d8c688 (patch)
tree514520822cb62e9b06786fe9a8fe425322e0d8e6 /drivers/net/ethernet/intel/e1000e/netdev.c
parent9bd5423fc75e8a1fc1f84c75c779bdc8aa4a36c2 (diff)
parentbb0e5837db3a194213dd40f05d272320e47dada0 (diff)
Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue
Jeff Kirsher says: ==================== 1GbE Intel Wired LAN Driver Updates 2019-03-19 This series contains updates to e100, e1000, e1000e, igb, igc and ixgbe. Serhey Popovych fixes the return value for several of our older drivers for netdev_update_features() to notify of changes applied. Kai-Heng Feng fixes the WoL setting for system suspend, which should not set to runtime suspend settings for igb. Then fixes a power management issue with e1000e for CNP+ devices. Colin Ian King fixes whitespace issue (indentation), which helps with readability. Sasha provides the remaining changes for igc, including the enabling of multi-queues to receive. Added support for displaying and configuring network flow classification (NFC) via ethtool. Added additional statistics and basic counters for igc. Fixed a typo, so it aligns with our other drivers. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/netdev.c')
-rw-r--r--drivers/net/ethernet/intel/e1000e/netdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
index 7acc61e4f645..745c1242a2d9 100644
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
@@ -7003,7 +7003,7 @@ static int e1000_set_features(struct net_device *netdev,
7003 else 7003 else
7004 e1000e_reset(adapter); 7004 e1000e_reset(adapter);
7005 7005
7006 return 0; 7006 return 1;
7007} 7007}
7008 7008
7009static const struct net_device_ops e1000e_netdev_ops = { 7009static const struct net_device_ops e1000e_netdev_ops = {
@@ -7350,7 +7350,7 @@ static int e1000_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
7350 7350
7351 dev_pm_set_driver_flags(&pdev->dev, DPM_FLAG_NEVER_SKIP); 7351 dev_pm_set_driver_flags(&pdev->dev, DPM_FLAG_NEVER_SKIP);
7352 7352
7353 if (pci_dev_run_wake(pdev)) 7353 if (pci_dev_run_wake(pdev) && hw->mac.type < e1000_pch_cnp)
7354 pm_runtime_put_noidle(&pdev->dev); 7354 pm_runtime_put_noidle(&pdev->dev);
7355 7355
7356 return 0; 7356 return 0;