1. 17 Nov, 2018 34 commits
  2. 16 Nov, 2018 1 commit
    • David S. Miller's avatar
      Merge tag 'batadv-next-for-davem-20181114' of git://git.open-mesh.org/linux-merge · 5aa25c05
      David S. Miller authored
      Simon Wunderlich says:
      
      ====================
      This feature/cleanup patchset includes the following patches:
      
       - Bump version strings, by Simon Wunderlich
      
       - Fixup includes, by Sven Eckelmann (3 patches)
      
       - Separate BATMAN_ADV_DEBUG from DEBUGFS, by Sven Eckelmann
      
       - Fixup tracing log documentation, by Sven Eckelmann
      
       - Use exclusive locks to secure netlink information dump transfers,
         by Sven Eckelmann (8 patches)
      
       - Move CRC16 dependency, by Sven Eckelmann
      
       - Enable MCAST by default, by Linus Luessing
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5aa25c05
  3. 15 Nov, 2018 5 commits
    • Li RongQing's avatar
      net: slightly optimize eth_type_trans · 45cf7959
      Li RongQing authored
      netperf udp stream shows that eth_type_trans takes certain cpu,
      so adjust the mac address check order, and firstly check if it
      is device address, and only check if it is multicast address
      only if not the device address.
      
      After this change:
      To unicast, and skb dst mac is device mac, this is most of time
      reduce a comparision
      To unicast, and skb dst mac is not device mac, nothing change
      To multicast, increase a comparision
      
      Before:
      1.03%  [kernel]          [k] eth_type_trans
      
      After:
      0.78%  [kernel]          [k] eth_type_trans
      Signed-off-by: default avatarZhang Yu <zhangyu31@baidu.com>
      Signed-off-by: default avatarLi RongQing <lirongqing@baidu.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      45cf7959
    • Li RongQing's avatar
      net: remove BUG_ON from __pskb_pull_tail · 982c17b9
      Li RongQing authored
      if list is NULL pointer, and the following access of list
      will trigger panic, which is same as BUG_ON
      Signed-off-by: default avatarLi RongQing <lirongqing@baidu.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      982c17b9
    • David S. Miller's avatar
      Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 7e18750c
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      40GbE Intel Wired LAN Driver Updates 2018-11-14
      
      This series contains updates to i40e and virtchnl.
      
      Lance Roy updates i40e to use lockdep_assert_held() instead of
      spin_is_locked(), since it is better suited to check locking
      requirements.
      
      Jan improves the code readability in XDP by adding the use of a local
      variable.  Provides protection on methods that create/modify/destroy
      VF's via locking mechanism to prevent unstable behaviour and potential
      kernel panics.
      
      Krzysztof adds a hardware capability flag to indicate whether firmware
      supports stopping the LLDP agent.
      
      Patryk replaces the use of strncpy() with strlcpy() to ensure the buffer
      is NULL terminated.
      
      Mitch fixes the issue of trying to start nway on devices that do not
      support auto-negotiation, by checking the autoneg state before
      attempting to restart nway.
      
      Alice updates virtchnl to keep the checks all together for ease of
      readability and consistency.  Also fixed a "off by one" error in the
      number of traffic classes being calculated.
      
      Richard fixed VF port VLANs, where the priority bits were incorrectly
      set because the incorrect shift and mask bits were being used.
      
      Alan adds a bit to set and check if a timeout recovery is already
      pending to prevent overlapping transmit timeout recovery.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7e18750c
    • David S. Miller's avatar
      test_objagg: Fix warning. · 110e2b4b
      David S. Miller authored
      lib/test_objagg.c: In function ‘test_delta_action_item’:
      ./include/linux/printk.h:308:2: warning: ‘errmsg’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      110e2b4b
    • David S. Miller's avatar
      Merge branch 'mlxsw-ERP-sharing-multiple-masks' · 4e86889b
      David S. Miller authored
      Ido Schimmel says:
      
      ====================
      mlxsw: spectrum: acl: Introduce ERP sharing by multiple masks
      
      Jiri says:
      
      The Spectrum-2 hardware has limitation number of ERPs per-region. In
      order to accommodate more masks than number of ERPs, the hardware
      supports to insert rules with delta bits. By that, the rules with masks
      that differ in up-to 8 consecutive bits can share the same ERP.
      
      Patches 1 and 2 fix couple of issues that would appear in existing
      selftests after adding delta support
      
      Patch 3 introduces a generic object aggregation library. Now it is
      static, but it will get extended for recalculation of aggregations in
      the future in order to reach more optimal aggregation.
      
      Patch 4 just simply converts existing ERP code to use the objagg library
      instead of a rhashtable.
      
      Patches 5-9 do more or less small changes to prepare ground for the last
      patch.
      
      Patch 10 fills-up delta callbacks of objagg library and utilizes the
      delta bits for rule insertion.
      
      The last patch adds selftest to test the mlxsw Spectrum-2 delta flows.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4e86889b