[PATCH net-next v2 3/3] net: dsa: make the VLAN add function return void

2016-04-06 Thread 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

[PATCH net-next v2 3/3] net: dsa: make the VLAN add function return void

2016-04-06 Thread 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