diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-06-07 18:12:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-08 11:43:31 -0400 |
commit | 1ca4aa9cd4cc075e3fddbba80fd2ed2f479bfb22 (patch) | |
tree | d3c79e99b95a2b17941c40ee01d3676f99371b69 /Documentation/perf | |
parent | c91498e15bf2cf27fb2743d01bd105201f33a5cb (diff) |
net: dsa: check VLAN capability of every switch
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 members, eventually containing the target port,
if we are programming the switch target.
This will allow us to easily add other VLAN members, such as the DSA or
CPU ports (to introduce cross-chip VLAN support) or the other port
members if we want to reduce hardware accesses later.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/perf')
0 files changed, 0 insertions, 0 deletions