tn3399_openwrt/target/linux/ramips
Gabor Juhos 04c6143ca9 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
2012-09-05 20:08:42 +00:00
..
base-files ramips: make built-in switch transparent for ALL0256N and ALL5002 2012-08-29 10:37:47 +00:00
files ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable. 2012-09-05 20:08:42 +00:00
image ramips: Add support for 8devices Carambola dev board. 2012-08-29 10:37:43 +00:00
patches-3.3 enable OHCI/EHCI glue on Rt305x, so it is available for Rt3352F. 2012-07-24 20:38:08 +00:00
rt288x linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
rt305x ramips: add rssileds to package set in profile for devices which got them. 2012-09-05 19:22:48 +00:00
rt3883 linux: move certain disabled symbols to the generic configs 2012-05-15 10:58:52 +00:00
base-files.mk ramips: remove default network configuration, and generate that from uci-defaults 2011-12-01 22:48:51 +00:00
Makefile bump to 3.3.8 2012-06-05 06:57:51 +00:00
modules.mk move rt305x-dwc driver to target specific modules.mk 2012-07-25 15:50:42 +00:00