difos/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek
Yousong Zhou 2408f2f08f ramips: mt7530: remove redundant global attrs for port mirroring
Global attributes enable_mirror_tx/enable_mirror_rx depend on runtime
value of another global attribute mirror_source_port which just resides
in the memory

The same functionality can be achieved by directly setting port
attribute of the same names.  E.g. the following two groups of commands
achieve the same thing

	swconfig dev switch0 set mirror_source_port 3
	swconfig dev switch0 set enable_mirror_tx 1
	swconfig dev switch0 set mirror_source_port 4
	swconfig dev switch0 set enable_mirror_tx 1

	swconfig dev switch0 port 3 set enable_mirror_tx 1
	swconfig dev switch0 port 4 set enable_mirror_tx 1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-03 23:06:00 +08:00
..
esw_rt3050.c ramips: apply LED_POLARITY rt3050-esw on MT7628AN/MT7688 2020-01-19 10:55:31 +01:00
esw_rt3050.h ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
ethtool.c ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
ethtool.h ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
gsw_mt7620.c ramips: mt7620: add EPHY base mdio address changing possibility 2019-06-20 08:48:19 +02:00
gsw_mt7620.h ramips: mt7620: add EPHY base mdio address changing possibility 2019-06-20 08:48:19 +02:00
gsw_mt7621.c ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default 2020-02-20 15:08:06 +01:00
Kconfig ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
Makefile ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
mdio.c ramips: handle mdio address and switch port seperate 2019-06-20 08:48:19 +02:00
mdio.h ramips: handle mdio address and switch port seperate 2019-06-20 08:48:19 +02:00
mdio_mt7620.c ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
mdio_rt2880.c ramips: handle mdio address and switch port seperate 2019-06-20 08:48:19 +02:00
mdio_rt2880.h ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
mt7530.c ramips: mt7530: remove redundant global attrs for port mirroring 2020-03-03 23:06:00 +08:00
mt7530.h ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
mtk_debugfs.c ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
mtk_eth_soc.c ramips: ethernet: Replace random_ether_addr with eth_hw_addr_random 2019-10-27 14:13:47 +01:00
mtk_eth_soc.h ramips: implement vlan rx offload on MT7621 2019-04-03 10:40:09 +02:00
mtk_offload.c ramips: allow packets with ttl=0 2019-03-24 12:10:15 +01:00
mtk_offload.h ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
soc_mt7620.c ramips: mt7620: fix external PHY autopolling 2019-06-20 08:48:19 +02:00
soc_mt7621.c ramips: implement vlan rx offload on MT7621 2019-04-03 10:40:09 +02:00
soc_rt2880.c ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
soc_rt3050.c ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00
soc_rt3883.c ramips: rename ethernet driver folder to the same one that upstream uses 2018-06-13 12:54:25 +02:00