1. 25 Feb, 2016 10 commits
  2. 24 Feb, 2016 28 commits
  3. 23 Feb, 2016 2 commits
    • David S. Miller's avatar
      Merge branch 'dsa-pass-bridge-to-drivers' · f5461c27
      David S. Miller authored
      Vivien Didelot says:
      
      ====================
      net: dsa: pass bridge device to drivers
      
      This patchset simplifies the DSA layer.
      
      A switch may support multiple bridges with the same hardware VLAN. Thus a check
      such as dsa_bridge_check_vlan_range must be moved from the DSA layer to the
      concerned driver.
      
      The first purpose of this patchset is to help moving this check to the
      mv88e6xxx driver, which is the only one affected at the moment.
      
      To do that, pass directly the bridge net_device structure down to the DSA
      drivers, instead of calculating a bitmask of bridge members.
      
      The second purpose is to prepare the replacement of the complex
      port_vlan_getnext approach. A second patchset is ready to follow, implementing
      port_vlan_dump and thus simplifying the DSA slave code one more time.
      
      Note that this patchset applies on top of https://lkml.org/lkml/2016/2/5/532.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f5461c27
    • Vivien Didelot's avatar
      net: dsa: remove dsa_bridge_check_vlan_range · 9d2dd736
      Vivien Didelot authored
      DSA drivers may support multiple bridge groups with the same hardware
      VLAN. The mv88e6xxx driver which cannot yet, already has its own check
      for overlapping bridges. Thus remove the check from the DSA layer.
      Signed-off-by: default avatarVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9d2dd736