This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to enable vlan in cpsw Ethernet switch ?

Hi experts,

     I have some trouble to understand the vlan of ALE. There is a bit VID_INGRESS_CHECK in ALE port control register, it says

"VLAN ID Ingress Check. If VLAN not found then drop the packet. Packets with an unknown (default) VLAN will be dropped.", but after I set this

bit to 1, emac port can still receive non vlan-tagged packets. So what exactly does this bit do ? Thanks.