1. 14 12月, 2015 3 次提交
    • J
      fm10k: do not use CamelCase · 40423dd2
      Jacob Keller 提交于
      Avoid the use of CamelCase for some variable names that previously
      slipped through review.
      Reported-by: NBruce Allan <bruce.w.allan@intel.com>
      Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
      Tested-by: NKrishneil Singh <krishneil.k.singh@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      40423dd2
    • J
      fm10k: use ether_addr_copy to copy MAC address · f0cf5c98
      Jacob Keller 提交于
      Use the ether_addr_copy function instead of copying byte-by-byte in a
      for-loop by hand.
      Reported-by: NBruce Allan <bruce.w.allan@intel.com>
      Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
      Tested-by: NKrishneil Singh <krishneil.k.singh@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      f0cf5c98
    • D
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · f68766d8
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      1GbE Intel Wired LAN Driver Updates 2015-12-12
      
      This series contains updates to e1000, e1000e and igb.
      
      Joern Engel fixes up the e1000 driver to reduce scheduler latencies by
      making the eeprom read/write functions scheduler friendly by using a mutex
      lock instead of a spin lock.
      
      Todd adds code for igb to initialize the 88E1543 PHY properly.  Then fixed
      igb to use the correct i210 register for EEMNGCTL, since the i210 has two
      EEPROM access registers (EEARBC and EEMNGCTL).
      
      Dmitry Vyukov provides a fix for e1000 to resolve a data race found with
      KernelThreadSanitizer (KTSAN), where no memory barriers were being used
      when buffers get recycled, so the recycled buffers can be corrupted.  So
      use smp_store_release() to update tx_ring->next_to_clean and
      smp_load_acquire() to read tx_ring->next_to_clean to properly hand off
      buffers from e1000_clean_tx_irq() to e1000_xmit_frame().
      
      Jarod Wilson fixes igb so that we do not try to unmap a NULL hw_addr.  Then
      cleaned up array_rd32() so that it uses igb_rd32() the same as rd32() and
      use io_addr() in more places so that we do not have to call E1000_REMOVED().
      
      Janusz Wolak cleans up the e1000 driver by correcting warnings produced
      by checkpatch.pl for the driver.
      
      Jean Sacren provides several patches with general cleanups for e1000 and
      e1000e, which include code comment fix-ups and cleanup of local variables
      not needed.
      
      Dmitry Fleytman fixes a possible division by zero in the receive interrupt
      handler for e1000e when working without adaptive interrupt moderation,
      which is typically disabled on jumbo MTUs.
      
      Raanan increases the timeout of the polling bit due to timing changes to
      the ME firmware on a platform, so increase the timeout to 300ms.  Added
      initial support for i219-LM, which is a LOM that will be available on
      systems with the Lewisburg Platform Controller HUB (PCH) chipset.
      
      Jan Beulich fixes a NULL dereference in igb, due to the adapter->vf _data
      being NULL while adapter->vfs_allocated_count is non-zero.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f68766d8
  2. 13 12月, 2015 31 次提交
  3. 12 12月, 2015 6 次提交