[PATCH net-next v2 2/5] net: dsa: check VLAN capability of every switch

2017-06-07 Thread Vivien Didelot
Now that the VLAN object is propagated to every switch chip of the switch fabric, we can easily ensure that they all support the required VLAN operations before modifying an entry on a single switch. To achieve that, remove the condition skipping other target switches, and add a bitmap of VLAN

[PATCH net-next v2 2/5] net: dsa: check VLAN capability of every switch

2017-06-07 Thread Vivien Didelot
Now that the VLAN object is propagated to every switch chip of the switch fabric, we can easily ensure that they all support the required VLAN operations before modifying an entry on a single switch. To achieve that, remove the condition skipping other target switches, and add a bitmap of VLAN