1. Oct 19, 2018
    • David S. Miller's avatar
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 2d0f0ca2
      David S. Miller authored
      
      
      Jeff Kirsher says:
      
      ====================
      1GbE Intel Wired LAN Driver Updates 2018-10-17
      
      This series adds support for the new igc driver.
      
      The igc driver is the new client driver supporting the Intel I225
      Ethernet Controller, which supports 2.5GbE speeds.  The reason for
      creating a new client driver, instead of adding support for the new
      device in e1000e, is that the silicon behaves more like devices
      supported in igb driver.  It also did not make sense to add a client
      part, to the igb driver which supports only 1GbE server parts.
      
      This initial set of patches is designed for basic support (i.e. link and
      pass traffic).  Follow-on patch series will add more advanced support
      like VLAN, Wake-on-LAN, etc..
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2d0f0ca2
    • David S. Miller's avatar
      Merge tag 'mlx5-updates-2018-10-17' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · 99e9acd8
      David S. Miller authored
      
      
      mlx5-updates-2018-10-17
      
      ========================================================================
      
      From Or Gerlitz <ogerlitz@mellanox.com>:
      
      This series from Paul adds support to mlx5 e-switch tc offloading of multiple priorities and chains.
      
      This is made of four building blocks (along with few minor driver refactors):
      
      [1] Split FDB fast path prio to multiple namespaces
      
      Currently the FDB name-space contains two priorities, fast path (p0) and slow path (p1).
      The slow path contains the per representor SQ send-to-vport TX rule and the match-all
      RX miss rule. As a pre-step to support multi-chains and priorities, we split the FDB fast path
      to multiple namespaces  (sub namespaces), each with multiple priorities.
      
      [2] E-Switch chains and priorities
      
      A chain is a group of priorities. We use the fdb parallel sub-namespaces to implement chains,
      and a flow table for each priority in them.
      
      Because these namespaces are parallel and in series to the slow path
      fdb, the chains aren't connected to each other (but to the slow path),
      and one must use a explicit goto action to reach a different chain.
      
      Flow tables for the priorities are created on demand and destroyed
      once not used.
      
      [3] Add a no-append flow insertion mode, use it for TC offloads
      
      Enhance the driver fs core, such that if a no-append flag is set by the caller,
      we add a new FTE, instead of appending the actions of the inserted rule when
      the same match already exists.
      
      For encap rules, we defer the HW offloading till we have a valid neighbor. This can
      result in the packet hitting a lower priority rule in the HW DP. Use the no-append API
      to push these packets to the slow path FDB table, so they go to the TC kernel DP as done
      before priorities where supported.
      
      [4] Offloading tc priorities and chains for eswitch flows
      
      Using [1], [2] and [3] above we add the support for offloading both chains
      and priorities. To get to a new chain, use the tc goto action. We support
      a fixed prio range 1-16, and chains 0-3.
      =============================================================================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      99e9acd8
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next · 8f18da47
      David S. Miller authored
      
      
      Steffen Klassert says:
      
      ====================
      pull request (net-next): ipsec-next 2018-10-18
      
      1) Remove an unnecessary dev->tstats check in xfrmi_get_stats64.
         From Li RongQing.
      
      2) We currently do a sizeof(element) instead of a sizeof(array)
         check when initializing the ovec array of the secpath.
         Currently this array can have only one element, so code is
         OK but error-prone. Change this to do a sizeof(array)
         check so that we can add more elements in future.
         From Li RongQing.
      
      3) Improve xfrm IPv6 address hashing by using the complete IPv6
         addresses for a hash. From Michal Kubecek.
      
      Please pull or let me know if there are problems.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8f18da47
  2. Oct 18, 2018