How do u currently compile the ipq40xx soc?
I try to have an updated patch that reverts the changes that introduce neststed vlans instead of port isolation
Suddenly,I have some kernel errors. @robimarko could u maybe have a quick look, if the patch is correct?
git clone https://github.com/openwrt/openwrt.git
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
nano the_file_you_want_to_edit
make
@robimarko Can we maybe add a kernel flag, that chooses which version we compile? Then I would make a PR. Would that be accepted?
Our wireless community relies on the ip40xx SOCs, and I would like to have that upstream, that u can just set a flag, that defines if u want port-isolation or nested-vlans. Or is that a dump idea?
Maybe I'm doing something wrong with the upstream config? Actually I don't need port isolation, just trunked ports. Could u maybe give ma a config and device which u are using and testing? Then I can maybe reproduce that on my side and see how I can use that. And maybe I can look into the driver again and finde the failure (do u have some doku?). Are u using a single port device or device with a switch?
VLAN 0,10,11,12,13 <-> IP40xx (Zyxel or Fritz!Box4040) tagged to CPU <-> VLAN 0,10,11,12,13
I don't define any vlan on the switch? But I do this:
Or should I define all vlans with swconfig on the switch again?
Is that correct and should work? Because I think it is working, but then I use iperf and let it go tagged into the router, one direction (I think the receiving) is just 10 MBit/s. We use the devices as routers in a layer3 mesh network.
Since blogic enabled that in this commit again, and my receiving speed dropped to 5~10MBIt/s as well, so I will just add NETIF_F_RXHASH_BIT. Sound that it could fix my issue. But if that helps, I have no idea, how to make a commit upstream.
Let's see what will happen.
I really would like to know on which device this commit was tested.
It is the sending side. I tried setting NETIF_F_RXHASH but it does not change anything.
Now I try enabling NETIF_F_HW_VLAN_CTAG_TX and see if it will help. I saw that it is the sending side, that has issues when using vlans.