aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-05 10:26:09 +0000
committerJohn Crispin <john@openwrt.org>2015-10-05 10:26:09 +0000
commit1aab21df9f92194f78cd5864974f5c81d426e479 (patch)
treeecdae807ce5cc7e7528d525dbeb89899ccf3edf5 /target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c
parentdd8f5abb23c7222e427ad10703164c9aef13b148 (diff)
downloadupstream-1aab21df9f92194f78cd5864974f5c81d426e479.tar.gz
upstream-1aab21df9f92194f78cd5864974f5c81d426e479.tar.bz2
upstream-1aab21df9f92194f78cd5864974f5c81d426e479.zip
ramips: Allow to receive vlan over untag ports on MT7530
The MT7530 switch driver with enable_vlan set will automatically set all ports to the user port mode. The hardware will remove the incoming vlan tag on these ports and use it for its internal vlan. This is usually not wanted and makes it impossible to communicate via vlan over the switch in both directions. It is possible to configure a switch port to "transparent mode" when this port is only used as untag in the switch VLANs. This will disable the VLAN untagging of packets when they were received on this port. The tagging on "tag" ports based on the vlan id is still working. The transparent port mode cannot be used when a port is both used in a VLAN as "tag" and in another one as "untag" port. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 47114
Diffstat (limited to 'target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c')
0 files changed, 0 insertions, 0 deletions