diff options
author | Vladimir Oltean <[email protected]> | 2020-05-12 20:20:38 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-12 13:08:08 -0700 |
commit | 3f01c91aab9276ca48acccd20f6c379cf48a51f9 (patch) | |
tree | 50da4e8789da314fb3857a8728492e17f1163185 /tools/perf/scripts/python/syscall-counts.py | |
parent | aaa270c638caa337ce34bb590b0a14ee09f1876d (diff) |
net: dsa: sja1105: implement VLAN retagging for dsa_8021q sub-VLANs
Expand the delta commit procedure for VLANs with additional logic for
treating bridge_vlans in the newly introduced operating mode,
SJA1105_VLAN_BEST_EFFORT.
For every bridge VLAN on every user port, a sub-VLAN index is calculated
and retagging rules are installed towards a dsa_8021q rx_vid that
encodes that sub-VLAN index. This way, the tagger can identify the
original VLANs.
Extra care is taken for VLANs to still work as intended in cross-chip
scenarios. Retagging may have unintended consequences for these because
a sub-VLAN encoding that works for the CPU does not make any sense for a
front-panel port.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions