openwrt/target/linux/generic/hack-5.4
DENG Qingfang 920eaab1d8 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>
2021-02-23 21:10:56 +01:00
..
204-module_strip.patch kernel: bump 5.4 to 5.4.87 2021-01-08 21:09:17 +01:00
210-darwin_scripts_include.patch
211-darwin-uuid-typedef-clash.patch
212-tools_portability.patch
214-spidev_h_portability.patch
220-gc_sections.patch
221-module_exports.patch kernel: bump 5.4 to 5.4.99 2021-02-18 20:04:50 +01:00
230-openwrt_lzma_options.patch
249-udp-tunnel-selection.patch kernel/hack-5.4: make UDP tunneling user-selectable 2021-01-01 19:55:59 +01:00
250-netfilter_depends.patch
251-sound_kconfig.patch
259-regmap_dynamic.patch
260-crypto_test_dependencies.patch
260-lib-arc4-unhide.patch
280-rfkill-stubs.patch
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch
301-mips_image_cmdline_hack.patch
321-powerpc_crtsavres_prereq.patch
400-unlock_mx25l6406e_with_4bit_block_protect.patch kernel: unlock MX25L6406E with 4 bit Block Protect 2020-12-09 08:42:26 +01:00
531-debloat_lzma.patch
550-loop-Report-EOPNOTSUPP-properly.patch
640-bridge-only-accept-EAP-locally.patch
645-netfilter-connmark-introduce-set-dscpmark.patch
647-netfilter-flow-acct.patch
650-netfilter-add-xt_OFFLOAD-target.patch
651-wireless_mesh_header.patch
660-fq_codel_defaults.patch
661-use_fq_codel_by_default.patch kernel: bump 5.4 to 5.4.93 2021-01-29 14:22:09 +01:00
662-remove_pfifo_fast.patch
700-swconfig_switch_drivers.patch kernel: remove mvsw61xx swconfig driver 2020-11-16 13:55:05 +01:00
703-add_vsc8504_support.patch
710-net-dsa-mv88e6xxx-default-VID-1.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-02-23 21:10:56 +01:00
711-net-dsa-mv88e6xxx-disable-ATU-violation.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-02-23 21:10:56 +01:00
721-phy_packets.patch kernel: bump 5.4 to 5.4.93 2021-01-29 14:22:09 +01:00
773-bgmac-add-srab-switch.patch
901-debloat_sock_diag.patch
902-debloat_proc.patch
904-debloat_dma_buf.patch kernel: bump 5.4 to 5.4.89 2021-01-15 17:29:41 +01:00
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch
921-always-create-console-node-in-initramfs.patch
991-platform-x86-pcengines-apuv2-revert-simswitch.patch