1. 30 May, 2019 36 commits
  2. 29 May, 2019 4 commits
    • David S. Miller's avatar
      Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 7da33a8f
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      100GbE Intel Wired LAN Driver Updates 2019-05-29
      
      This series contains updates to ice driver only.
      
      Bruce cleans up white space issues and fixes complaints about using
      bitop assignments using operands of different sizes.
      
      Anirudh cleans up code that is no longer needed now that the firmware
      supports the functionality.  Adds support for ethtool selftestto the ice
      driver, which includes testing link, interrupts, eeprom, registers and
      packet loopback.  Also, cleaned up duplicate code.
      
      Tony implements support for toggling receive VLAN filter via ethtool.
      
      Brett bumps up the minimum receive descriptor count per queue to resolve
      dropped packets.  Refactored the interrupt tracking for the ice driver
      to resolve issues seen with the co-existence of features and SR-IOV, so
      instead of having a hardware IRQ tracker and a software IRQ tracker,
      simply use one tracker.  Also adds a helper function to trigger software
      interrupts.
      
      Mitch changes how Malicious Driver Detection (MDD) events are handled,
      to ensure all VFs checked for MDD events and just log the event instead
      of disabling the VF, which was preventing proper release of resources if
      the VF is rebooted or the VF driver reloaded.
      
      Dave cleans up a redundant call to register LLDP MIB change events.
      
      Dan adds support to retrieve the current setting of firmware logging
      from the hardware to properly initialize the hardware structure.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7da33a8f
    • YueHaibing's avatar
      net: stmmac: Fix build error without CONFIG_INET · a3e2f6ad
      YueHaibing authored
      Fix gcc build error while CONFIG_INET is not set
      
      drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.o: In function `__stmmac_test_loopback':
      stmmac_selftests.c:(.text+0x8ec): undefined reference to `ip_send_check'
      stmmac_selftests.c:(.text+0xacc): undefined reference to `udp4_hwcsum'
      
      Add CONFIG_INET dependency to fix this.
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Fixes: 091810db ("net: stmmac: Introduce selftests support")
      Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a3e2f6ad
    • Herbert Xu's avatar
      rhashtable: Add rht_ptr_rcu and improve rht_ptr · 279758f8
      Herbert Xu authored
      This patch moves common code between rht_ptr and rht_ptr_exclusive
      into __rht_ptr.  It also adds a new helper rht_ptr_rcu exclusively
      for the RCU case.  This way rht_ptr becomes a lock-only construct
      so we can use the lighter rcu_dereference_protected primitive.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      279758f8
    • Jisheng Zhang's avatar
      net: stmmac: use dev_info() before netdev is registered · af649352
      Jisheng Zhang authored
      Before the netdev is registered, calling netdev_info() will emit
      something as "(unnamed net device) (uninitialized)", looks confusing.
      
      Before this patch:
      [    3.155028] stmmaceth f7b60000.ethernet (unnamed net_device) (uninitialized): device MAC address 52:1a:55:18:9e:9d
      
      After this patch:
      [    3.155028] stmmaceth f7b60000.ethernet: device MAC address 52:1a:55:18:9e:9d
      Signed-off-by: default avatarJisheng Zhang <Jisheng.Zhang@synaptics.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      af649352