1. 24 Nov, 2018 26 commits
  2. 23 Nov, 2018 11 commits
  3. 22 Nov, 2018 3 commits
    • Daniel Jurgens's avatar
      {net, IB}/mlx4: Initialize CQ buffers in the driver when possible · e4567897
      Daniel Jurgens authored
      Perform CQ initialization in the driver when the capability is supported
      by the FW.  When passing the CQ to HW indicate that the CQ buffer has
      been pre-initialized.
      
      Doing so decreases CQ creation time.  Testing on P8 showed a single 2048
      entry CQ creation time was reduced from ~395us to ~170us, which is
      2.3x faster.
      Signed-off-by: default avatarDaniel Jurgens <danielj@mellanox.com>
      Signed-off-by: default avatarJack Morgenstein <jackm@dev.mellanox.co.il>
      Signed-off-by: default avatarTariq Toukan <tariqt@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e4567897
    • Paolo Abeni's avatar
      selftests: explicitly require kernel features needed by udpgro tests · 1d0795ea
      Paolo Abeni authored
      commit 3327a9c4 ("selftests: add functionals test for UDP GRO")
      make use of ipv6 NAT, but such a feature is not currently implied by
      selftests. Since the 'ip[6]tables' commands may actually create nft rules,
      depending on the specific user-space version, let's pull both NF and
      NFT nat modules plus the needed deps.
      Reported-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
      Fixes: 3327a9c4 ("selftests: add functionals test for UDP GRO")
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1d0795ea
    • David S. Miller's avatar
      Merge branch 'mlxsw-Add-VxLAN-learning-support' · f072df95
      David S. Miller authored
      Ido Schimmel says:
      
      ====================
      mlxsw: Add VxLAN learning support
      
      This patchset adds VxLAN learning support in the mlxsw driver.
      
      The first five patches from Petr add the required switchdev APIs which
      allow device drivers to notify the VxLAN driver about learned / aged-out
      FDB entries.
      
      First in patch #1, an unnecessary argument is dropped from
      __vxlan_fdb_delete().
      
      In patches #2-#4, the VxLAN FDB handling code is extended to make
      sending the switchdev events configurable; to mark user-added entries as
      such; and to make sure HW-learned FDB entries do not take over
      user-added ones.
      
      Finally in patch #5, the necessary switchdev notifications are added and
      handled by VxLAN, similarly to how this is handled in the bridge driver.
      
      Patch #6 allows changing of the VxLAN's device ageing time since it is
      useful for the selftest in the last patch.
      
      Patch #7 adds support for querying bridge port flags of a given
      netdevice, as a new entry should not be learned and notified to the
      bridge driver in case learning is disabled on the bridge port.
      
      Next patches gradually add learning support in mlxsw.
      
      The last patch adds a new test case for VxLAN learning.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f072df95