immortalwrt/target/linux
DENG Qingfang f1158fbcf6 kernel: DSA roaming fix for Marvell mv88e6xxx
Marvell mv88e6xxx switch series cannot perform MAC learning from
CPU-injected (FROM_CPU) DSA frames, which results in 2 issues.
- excessive flooding, due to the fact that DSA treats those addresses
as unknown
- the risk of stale routes, which can lead to temporary packet loss

Backport those patch series from netdev mailing list, which solve these
issues by adding and clearing static entries to the switch's FDB.

Add a hack patch to set default VID to 1 in port_fdb_{add,del}. Otherwise
the static entries will be added to the switch's private FDB if VLAN
filtering disabled, which will not work.

The switch may generate an "ATU violation" warning when a client moves
from the CPU port to a switch port because the static ATU entry added by
DSA core still points to the CPU port. DSA core will then clear the static
entry so it is not fatal. Disable the warning so it will not confuse users.

Link: https://lore.kernel.org/netdev/20210106095136.224739-1-olteanv@gmail.com/
Link: https://lore.kernel.org/netdev/20210116012515.3152-1-tobias@waldekranz.com/
Ref: https://gitlab.nic.cz/turris/turris-build/-/issues/165
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
(cherry picked from commit 920eaab1d8)
2021-04-10 15:05:11 +02:00
..
apm821xx kernel: bump 5.4 to 5.4.108 2021-03-27 16:26:56 +01:00
arc770 target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
archs38 archs38: Add CONFIG_HZ=100 2021-03-19 18:01:55 +01:00
armvirt target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
at91 at91: use SPDX license identifiers on DTS files 2021-02-10 15:47:23 +01:00
ath25 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
ath79 kernel: backport 5.13 mtd partitioning changes 2021-04-08 11:25:41 +02:00
bcm27xx kernel: bump 5.4 to 5.4.108 2021-03-27 16:26:56 +01:00
bcm47xx bcm47xx: make WGT634U NVRAM patch apply again 2021-03-17 23:38:46 +01:00
bcm53xx bcm53xx: enhance support for Linksys EA9500 2021-04-08 12:49:01 +02:00
bcm63xx bcm63xx: AD1018-nor: add NAND flash 2021-03-08 12:46:46 +01:00
bcm4908 bcm4908: enable Netgear R8000P bootloader image 2021-04-08 13:16:14 +02:00
gemini target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
generic kernel: DSA roaming fix for Marvell mv88e6xxx 2021-04-10 15:05:11 +02:00
imx6 Revert "imx6: bootscript-apalis: make it working on v2021.01 release" 2021-02-14 23:28:07 +01:00
ipq40xx ipq40xx: net: phy: qca807x: fix GPIO driver 2021-03-29 22:26:27 +02:00
ipq806x kernel: backport 5.13 mtd partitioning changes 2021-04-08 11:25:41 +02:00
kirkwood kernel: backport 5.13 mtd partitioning changes 2021-04-08 11:25:41 +02:00
lantiq kernel: 5.4: import wireguard backport 2021-04-10 14:21:32 +02:00
layerscape kernel: 5.4: import wireguard backport 2021-04-10 14:21:32 +02:00
malta target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mediatek kernel: bump 5.4 to 5.4.108 2021-03-27 16:26:56 +01:00
mpc85xx mpc85xx: p2020: fix cfi-nor detection 2021-03-01 21:49:55 +01:00
mvebu kernel: backport 5.13 mtd partitioning changes 2021-04-08 11:25:41 +02:00
mxs target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
octeon octeon: re-enable CONFIG_CAVIUM_CN63XXP1 and EdgeRouter image 2021-02-28 21:56:39 +01:00
octeontx kernel: bump 5.4 to 5.4.105 2021-03-16 00:31:16 +01:00
omap target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
oxnas target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
pistachio kernel: add pending mtd patches adding NVMEM support 2021-03-17 21:24:22 +01:00
ramips ramips: correct switch config of Youku yk1 2021-04-02 16:04:00 +02:00
realtek kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
rockchip kernel: Deactivate CONFIG_VFIO in generic kernel config 2021-03-27 16:26:56 +01:00
sunxi kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
tegra kernel: Deactivate CONFIG_VFIO in generic kernel config 2021-03-27 16:26:56 +01:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 x86/base-files: add support for Sophos SG/XG-105 2021-04-10 15:05:05 +02:00
zynq zynq: Enable CONFIG_KERNEL_MODE_NEON 2021-04-10 14:21:32 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00