openwrtv3/target/linux/ramips/files-4.9/drivers/net/ethernet/mtk
Jo-Philipp Wich 341b1427fc ramips: properly map pvid for vlans with remapped vid on mt7530/762x switches
Currently, untagged port primary vlan IDs are set to the VLAN table index,
and not the actual VLAN ID, breaking configurations with IDs deviating from
the VLAN index.

Fix the issue by resolving the per-port pvid property to the target VLAN ID
value before committing to the hardware.

Fixes FS#991, FS#1147, FS#1341

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-14 16:43:30 +01:00
..
esw_rt3050.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
esw_rt3050.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
ethtool.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
ethtool.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
gsw_mt7620.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
gsw_mt7620.h ramips: add jumbo frame support for v4.9 2017-06-01 12:30:17 +02:00
gsw_mt7621.c ramips: add jumbo frame support for v4.9 2017-06-01 12:30:17 +02:00
Kconfig ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
Makefile ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mdio.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mdio.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mdio_mt7620.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mdio_rt2880.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mdio_rt2880.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mt7530.c ramips: properly map pvid for vlans with remapped vid on mt7530/762x switches 2018-02-14 16:43:30 +01:00
mt7530.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mtk_eth_soc.c ramips: use napi_alloc_frag and skb_free_frag 2018-02-05 10:16:26 +01:00
mtk_eth_soc.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
soc_mt7620.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
soc_mt7621.c ramips: add jumbo frame support for v4.9 2017-06-01 12:30:17 +02:00
soc_rt2880.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
soc_rt3050.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
soc_rt3883.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00