1. 07 6月, 2017 38 次提交
  2. 06 6月, 2017 2 次提交
    • D
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 25f41150
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      1GbE Intel Wired LAN Driver Updates 2017-06-06
      
      This series contains updates and fixes to e1000e and igb.
      
      Matwey V Kornilov fixes an issue where igb_get_phy_id_82575() relies on
      the fact that page 0 is already selected, but this is not the case after
      igb_read_phy_reg_gs40g()/igb_write_phy_reg_gs40g() were removed in a
      previous commit.  This leads to initialization failure and some devices
      not working.  To fix the issue, explicitly select page 0 before first
      access to PHY registers.
      
      Arnd Bergmann modifies the driver to avoid a "defined but not used"
      warning by removing #ifdefs and using __maybe_unused annotation instead
      for new power management functions.
      
      Jake provides most of the changes in the series, all around PTP and
      timestamp fixes/updates.  Resolved several race conditions based on
      the hardware can only handle one transmit timestamp at a time, so
      fix the locking logic, as well as create a statistic for "skipped"
      timestamps to help administrators identify issues.
      
      Benjamin Poirier provides 2 changes, first to igb to remove the
      second argument to igb_update_stats() since it always passes the
      same two arguments.  So instead of having to pass the second argument,
      just update the function to the necessary information from the adapter
      structure.  Second modifies the e1000e_get_stats64() call to
      dev_get_stats() to avoid ethtool garbage being reported.
      
      Konstantin Khlebnikov modifies e1000e to use disable_hardirq(), instead
      of disable_irq() for MSIx vectors in e1000_netpoll().
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      25f41150
    • K
      e1000e: use disable_hardirq() also for MSIX vectors in e1000_netpoll() · fd8e597b
      Konstantin Khlebnikov 提交于
      Replace disable_irq() which waits for threaded irq handlers with
      disable_hardirq() which waits only for hardirq part.
      
      Fixes: 31119129 ("e1000: use disable_hardirq() for e1000_netpoll()")
      Signed-off-by: NKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
      Acked-by: NCong Wang <xiyou.wangcong@gmail.com>
      Tested-by: NAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      fd8e597b