Hi experts:
The soc we use is TDA4VM, sdk0703, We use cpsw2g to develop our network requirements. The network has been developed ok and can be pinged normally. However, when configuring vlan, we found some problems and the kernel will report an error.
The config is as follows:
vconfig add eth0 100
ifconfig eth0.100 172.16.105.13 netmask 255.255.255.0
ifconfig eth0.100 up
route add default gw 172.16.100.3 dev eth0.100
The error message is as follows:
am65-cpsw-nuss 46000000.ethernet: Adding vlan 100 to vlan filter
[ 5.121994] am65-cpsw-nuss 46000000.ethernet: get: wrong ale fld id 2
[ 5.128743] am65-cpsw-nuss 46000000.ethernet: get: wrong ale fld id 1
We found that it can work after configuring vlan, that is to say, it can work through vlan100, and it can work without vlan. However, recently we found that after configuring vlan, after a long period of testing, we found that the network rx was abnormal. Comparative test, if you don’t configure vlan, this problem will disappear. Please help to solve it.
