diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-06-26 02:39:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-27 11:03:21 -0700 |
commit | e3502b8297878130a9375f6fe1367dc317f79453 (patch) | |
tree | 021f0078eb80ac1acaeec7531a98cc71ea37595f /.gitignore | |
parent | 29dd908d355f565bc2c1ab475f0322b29e9cf3eb (diff) | |
download | linux-e3502b8297878130a9375f6fe1367dc317f79453.tar.bz2 |
net: dsa: sja1105: Make vid 1 the default pvid
In SJA1105 there is no concept of 'default values' per se, everything
needs to be driver-supplied through the static configuration tables.
The issue is that the hardware manual says that 'at least the default
untagging VLAN' is mandatory to be provided through the static config.
But VLAN 0 isn't a very good initial pvid - its use is reserved for
priority-tagged frames, and the layers of the stack that care about
those already make sure that this VLAN is installed, as can be seen in
the message below:
8021q: adding VLAN 0 to HW filter on device swp2
So change the pvid provided through the static configuration to 1, which
matches the bridge core's defaults.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions