linux-stable/drivers/net/dsa
Vivien Didelot 4d5770b397 net: dsa: make the VLAN add function return void
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: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-08 16:50:41 -04:00
..
bcm_sf2.c net: dsa: make the FDB add function return void 2016-04-08 16:50:40 -04:00
bcm_sf2.h net: dsa: pass bridge down to drivers 2016-02-23 14:52:46 -05:00
bcm_sf2_regs.h net: dsa: bcm_sf2: Implement FDB operations 2015-10-26 18:14:02 -07:00
Kconfig dsa: Rename mv88e6123_61_65 to mv88e6123 to be consistent 2016-03-14 15:43:10 -04:00
Makefile dsa: Rename mv88e6123_61_65 to mv88e6123 to be consistent 2016-03-14 15:43:10 -04:00
mv88e6xxx.c net: dsa: make the VLAN add function return void 2016-04-08 16:50:41 -04:00
mv88e6xxx.h net: dsa: make the VLAN add function return void 2016-04-08 16:50:41 -04:00
mv88e6060.c net: dsa: mv88e6060: replace magic values with register defines 2015-11-15 20:16:16 -05:00
mv88e6060.h net: dsa: mv88e6060: add register defines header file 2015-11-15 20:16:16 -05:00
mv88e6123.c dsa: Rename mv88e6123_61_65 to mv88e6123 to be consistent 2016-03-14 15:43:10 -04:00
mv88e6131.c net: dsa: mv88e6131: enable hardware bridging 2016-04-04 21:31:35 -04:00
mv88e6171.c net: dsa: make the STP state function return void 2016-04-08 16:50:40 -04:00
mv88e6352.c net: dsa: make the STP state function return void 2016-04-08 16:50:40 -04:00