1. 24 11月, 2018 37 次提交
  2. 23 11月, 2018 2 次提交
  3. 22 11月, 2018 1 次提交
    • D
      Merge branch 'mlxsw-Add-VxLAN-learning-support' · f072df95
      David S. Miller 提交于
      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: NDavid S. Miller <davem@davemloft.net>
      f072df95