Re: [OpenWrt-Devel] [PATCH 0/5] ramips: ramips_esw.c swconfig support

2012-08-29 Thread Daniel Golle
Hi Tobias! Using the updated version of this patch, I'm running into problems with devices using RT305X_ESW_VLAN_CONFIG_NONE. In your previous patch Date: Sat, 5 May 2012 22:26:58 +0200 Subject: [OpenWrt-Devel] [PATCH] ramips: Updated patch for ramips_esw.c posted on this mailinglist, setting

Re: [OpenWrt-Devel] [PATCH 0/5] ramips: ramips_esw.c swconfig support

2012-08-29 Thread Tobias Diedrich
Daniel Golle wrote: Hi Tobias! Using the updated version of this patch, I'm running into problems with devices using RT305X_ESW_VLAN_CONFIG_NONE. In your previous patch Date: Sat, 5 May 2012 22:26:58 +0200 Subject: [OpenWrt-Devel] [PATCH] ramips: Updated patch for ramips_esw.c posted on

Re: [OpenWrt-Devel] [PATCH 0/5] ramips: ramips_esw.c swconfig support

2012-08-29 Thread Daniel Golle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/08/12 17:44, Tobias Diedrich wrote: If alternate_vlan_disable 1 helps we should undo the defaults flip, but I'd like to reproduce your testcase, maybe I missed something else. Setting alternate_vlan_disable 1 does the trick. Manually setting

Re: [OpenWrt-Devel] [PATCH 0/5] ramips: ramips_esw.c swconfig support

2012-08-29 Thread Tobias Diedrich
So, can you tell me what exactly didn't work for you? I just tried reproducing, but it works just fine for me: root@OpenWrt:/# swconfig dev rt305x show Global attributes: enable_vlan: 0 alternate_vlan_disable: 0 Port 0: disable: 0 doubletag: 0 untag: 0

Re: [OpenWrt-Devel] [PATCH 0/5] ramips: ramips_esw.c swconfig support

2012-08-29 Thread Tobias Diedrich
Daniel Golle wrote: en_vlan: 1 ^^ This indicates you didn't apply the updated version of patch 4/5 I sent on Monday (20120827013847.gy23...@yumi.tdiedrich.de; it removes the en_vlan attribute), however I don't think it should make a difference in this case. -- Tobias

Re: [OpenWrt-Devel] [PATCH 0/5] ramips: ramips_esw.c swconfig support

2012-08-29 Thread Daniel Golle
Hi Tobias, On 30/08/12 00:25, Tobias Diedrich wrote: So, can you tell me what exactly didn't work for you? ... Different subnets configured on each vlan. I can ping over all subnets and see the correct vlan on tcpdump -n -e -s 2000 -i eth0 icmp Incoming frames work fine for me, too, first of

Re: [OpenWrt-Devel] [PATCH 0/5] ramips: ramips_esw.c swconfig support

2012-08-29 Thread Tobias Diedrich
Daniel Golle wrote: Hi Tobias, On 30/08/12 00:25, Tobias Diedrich wrote: So, can you tell me what exactly didn't work for you? ... Different subnets configured on each vlan. I can ping over all subnets and see the correct vlan on tcpdump -n -e -s 2000 -i eth0 icmp Incoming frames

[OpenWrt-Devel] [PATCH 0/5] ramips: ramips_esw.c swconfig support

2012-08-25 Thread Tobias Diedrich
Patches in this patch series: 1/5: ramips-esw-indent.patch Minor indentation cleanup 2/5: ramips-esw-swconfig.patch Add swconfig support to ramips_esw.c 3/5: ramips-esw-uci-defaults.patch Add support to uci network defaults 4/5: ramips-esw-cleanup.patch Keep vlan unconfigured by default and