1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-06 00:54:03 +02:00
openwrt-xburst/target/linux/ramips/files/drivers
juhosg 07073dcb27 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:08:42 +00:00
..
net/ethernet/ramips ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable. 2012-09-05 20:08:42 +00:00
spi ramips: rename the spi driver 2012-02-21 09:26:41 +00:00
usb [ramips] DWC otg usb: compilation fixes and trivial bugfix in slave mode 2012-07-24 20:38:55 +00:00
watchdog ramips: watchdog: use maximum possible timeout by default 2012-08-12 12:48:28 +00:00