diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-09-05 20:08:42 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-09-05 20:08:42 +0000 |
commit | 04c6143ca977a71c39dcf471f5a60d93890df649 (patch) | |
tree | d69433cd2701b01674ac59b2f48c8c8e0245e2bc /target/linux/mcs814x | |
parent | f186bff0ef46b7af0919d723dafe8a9be1c27707 (diff) | |
download | upstream-04c6143ca977a71c39dcf471f5a60d93890df649.tar.gz upstream-04c6143ca977a71c39dcf471f5a60d93890df649.tar.bz2 upstream-04c6143ca977a71c39dcf471f5a60d93890df649.zip |
ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.
Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.
Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.
Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.
Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.
I did some tests regarding maximum packet size and did not see any
difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 33321
Diffstat (limited to 'target/linux/mcs814x')
0 files changed, 0 insertions, 0 deletions