1. 20 7月, 2016 3 次提交
  2. 25 6月, 2016 2 次提交
  3. 21 6月, 2016 3 次提交
  4. 05 6月, 2016 1 次提交
  5. 17 5月, 2016 1 次提交
    • V
      net: dsa: mv88e6xxx: remove bridge work · 553eb544
      Vivien Didelot 提交于
      Now that the bridge code defers the switchdev port state setting, there
      is no need to defer the port STP state change within the mv88e6xxx code.
      Thus get rid of the driver's bridge work code.
      
      This also fixes a race condition where the DSA layer assumes that the
      bridge code already set the unbridged port's STP state to Disabled
      before restoring the Forwarding state.
      
      As a consequence, this also fixes the FDB flush for the unbridged port
      which now correctly occurs during the Forwarding to Disabled transition.
      
      Fixes: 0bc05d58 ("switchdev: allow caller to explicitly request attr_set as deferred")
      Reported-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      553eb544
  6. 12 5月, 2016 3 次提交
  7. 10 5月, 2016 14 次提交
  8. 02 5月, 2016 1 次提交
  9. 18 4月, 2016 7 次提交
  10. 17 4月, 2016 1 次提交
  11. 14 4月, 2016 2 次提交
  12. 09 4月, 2016 2 次提交
    • V
      net: dsa: make the VLAN add function return void · 4d5770b3
      Vivien Didelot 提交于
      The switchdev design implies that a software error should not happen in
      the commit phase since it must have been previously reported in the
      prepare phase. If an hardware error occurs during the commit phase,
      there is nothing switchdev can do about it.
      
      The DSA layer separates port_vlan_prepare and port_vlan_add for
      simplicity and convenience. If an hardware error occurs during the
      commit phase, there is no need to report it outside the driver itself.
      
      Make the DSA port_vlan_add routine return void for explicitness.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4d5770b3
    • V
      net: dsa: make the FDB add function return void · 8497aa61
      Vivien Didelot 提交于
      The switchdev design implies that a software error should not happen in
      the commit phase since it must have been previously reported in the
      prepare phase. If an hardware error occurs during the commit phase,
      there is nothing switchdev can do about it.
      
      The DSA layer separates port_fdb_prepare and port_fdb_add for simplicity
      and convenience. If an hardware error occurs during the commit phase,
      there is no need to report it outside the DSA driver itself.
      
      Make the DSA port_fdb_add routine return void for explicitness.
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8497aa61