diff options
author | Sven Eckelmann <sven@narfation.org> | 2024-12-16 19:37:12 +0100 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2024-12-17 07:35:05 +0100 |
commit | bf2a5a622a50b47560e4b29387b2fd4cfb33881a (patch) | |
tree | 8909a257cc7a41c1b3c32646c53c77f0ae2cac56 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fca81aa3e653d68ac696f3ee994384cecacf3845 (diff) |
batman-adv: Map VID 0 to untagged TT VLAN
VID 0 is not a valid VLAN according to "802.1Q-2011" "Table 9-2—Reserved
VID values". It is only used to indicate "priority tag" frames which only
contain priority information and no VID.
The 8021q is also redirecting the priority tagged frames to the underlying
interface since commit ad1afb003939 ("vlan_dev: VLAN 0 should be treated as
"no vlan tag" (802.1p packet)"). But at the same time, it automatically
adds the VID 0 to all devices to ensure that VID 0 is in the allowed list
of the HW filter. This resulted in a VLAN 0 which was always announced in
OGM messages.
batman-adv should therefore not create a new batadv_softif_vlan for VID 0
and handle all VID 0 related frames using the "untagged" global/local
translation tables.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Acked-by: Antonio Quartulli <antonio@mandelbit.com>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions