1. 14 Dec, 2018 19 commits
  2. 13 Dec, 2018 15 commits
  3. 12 Dec, 2018 6 commits
    • David S. Miller's avatar
      Merge branch 'stmmac-mt2712-support' · 9a58ee2f
      David S. Miller authored
      Biao Huang says:
      
      ====================
      add Ethernet driver support for mt2712
      
      Changes in v6:
       modifications according to comments from Rob/Andrew/Sean:
       1. use delay_ps instead of delay stage.
       2. add comments in driver to avoid confusion.
       2. rewrite set_delay function.
       3. modify binding document for properties: tx-delay-ps/rx-delay-ps/pericfg etc.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9a58ee2f
    • Biao Huang's avatar
      dt-binding: mediatek-dwmac: add binding document for MediaTek MT2712 DWMAC · 58ee9028
      Biao Huang authored
      The commit adds the device tree binding documentation for the MediaTek DWMAC
      found on MediaTek MT2712.
      Signed-off-by: default avatarBiao Huang <biao.huang@mediatek.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      58ee9028
    • Biao Huang's avatar
      stmmac: dwmac-mediatek: add support for mt2712 · 9992f37e
      Biao Huang authored
      Add Ethernet support for MediaTek SoCs from the mt2712 family
      Signed-off-by: default avatarBiao Huang <biao.huang@mediatek.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9992f37e
    • David S. Miller's avatar
      Merge branch 'mlxsw-Add-Spectrum-2-multicast-routing-support' · 3f9b7eee
      David S. Miller authored
      Ido Schimmel says:
      
      ====================
      mlxsw: Add Spectrum-2 multicast routing support
      
      Nir says:
      
      In Spectrum the firmware provided an abstraction for multicast routing
      on top of the policy engine. In Spectrum-2 this is no longer the case
      and the driver must interact directly with the policy engine in order to
      program multicast routes. Every route is written as an ACL rule, its
      priority set according to route type (*,G) or (S,G) and its action is an
      appropriate multicast routing action. Multicast routes are written to a
      specific ACL group which is bound to the appropriate IP protocol
      IPv4/IPv6.
      
      Patch #1 adds PEMRBT register needed to declare which ACL group is
      dedicated for each IP protocol multicast routing function.
      
      Patch #2 Changes initialization order and puts ACL before router as
      multicast router now uses ACL module.
      
      Patch #3 adds Spectrum-2 ACL keys needed for multicast route matching.
      
      Patch #4 adds another ACL profile - in addition to existing flower
      profile - which allows the multicast routing module to program rules
      directly into the ACL block.
      
      Patch #5 adds the ability to update ACL rules' action, since multicast
      routes actions may be updated after being configured.
      
      Patch #6 separates rule creation operation and rule action creation
      operation as in multicast router the action is created before the route
      is inserted.
      
      Patch #7 sharpens priority handling in Spectrum-2, to ensure incorrect
      values are not set to rule's priority.
      
      Patch #8 adds the implementation of multicast routing for IPv4 and IPv6
      over existing ACL rule programming
      
      Finally, patch #9 adds a test for IPv4/IPv6 multicast routing.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3f9b7eee
    • Nir Dotan's avatar
      selftests: forwarding: Add multicast routing test · 6d4efada
      Nir Dotan authored
      Introduce basic testing for both IPv4 and IPv6 multicast. The test creates
      an (S,G) type route, sends traffic and verifies traffic arrives when the
      route is present and then verifies traffic does not arrive after deleting
      the route.
      This test requires smcroute - https://github.com/troglobit/smcroute which
      is a tool that allows creation of static multicast routes.
      Signed-off-by: default avatarNir Dotan <nird@mellanox.com>
      Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6d4efada
    • Nir Dotan's avatar
      mlxsw: spectrum_router: Add Multicast routing support for Spectrum-2 · cf7221a4
      Nir Dotan authored
      Add implementation of Spectrum-2 multicast routes for both IPv4 and IPv6 by
      using ACL module explicitly.
      In Spectrum-2, multicast routes are set as ACL rules, so initialization
      takes care of creating dedicated ACL groups and binding them to the
      appropriate multicast routing protocol IPv4/IPv6, and afterwards routes
      configuration translates to setting explicit ACL rules.
      Signed-off-by: default avatarNir Dotan <nird@mellanox.com>
      Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cf7221a4