openwrt/target/linux/generic/hack-5.4
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
..
204-module_strip.patch kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
210-darwin_scripts_include.patch
211-darwin-uuid-typedef-clash.patch linux-5.4: backport modpost upstream patches 2020-03-01 15:52:36 +01:00
212-tools_portability.patch kernel: fix portability issue with perf on linux 5.4 2020-06-04 21:52:57 +02:00
214-spidev_h_portability.patch
220-gc_sections.patch kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
221-module_exports.patch kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
230-openwrt_lzma_options.patch kernel: bump 5.4 to 5.4.63 2020-09-06 19:55:19 +02:00
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 kernel: bump 5.4 to 5.4.69 2020-10-02 22:02:26 +02:00
259-regmap_dynamic.patch kernel: bump 5.4 to 5.4.69 2020-10-02 22:02:26 +02:00
260-crypto_test_dependencies.patch kernel: 5.4: import wireguard backport 2021-04-10 14:21:32 +02:00
260-lib-arc4-unhide.patch kernel: 5.4: import wireguard backport 2021-04-10 14:21:32 +02:00
280-rfkill-stubs.patch
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch
301-mips_image_cmdline_hack.patch kernel: bump 5.4 to 5.4.67 2020-09-24 18:53:23 +02:00
321-powerpc_crtsavres_prereq.patch
400-unlock_mx25l6406e_with_4bit_block_protect.patch kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
531-debloat_lzma.patch kernel: remove a bunch of trailing whitespaces 2020-05-25 21:11:47 +02:00
550-loop-Report-EOPNOTSUPP-properly.patch kernel: bump 5.4 to 5.4.63 2020-09-06 19:55:19 +02:00
640-bridge-only-accept-EAP-locally.patch
645-netfilter-connmark-introduce-set-dscpmark.patch kernel: connmark set-dscpmark fix build on 5.4 2020-03-21 09:51:40 +00:00
647-netfilter-flow-acct.patch kernel: bump 5.4 to 5.4.67 2020-09-24 18:53:23 +02:00
650-netfilter-add-xt_OFFLOAD-target.patch kernel: bump 5.4 to 5.4.67 2020-09-24 18:53:23 +02:00
651-wireless_mesh_header.patch kernel: bump 5.4 to 5.4.24 2020-03-09 20:43:53 +01:00
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 kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00
700-swconfig_switch_drivers.patch kernel: remove mvsw61xx swconfig driver 2020-11-16 13:55:05 +01:00
703-add_vsc8504_support.patch kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
710-net-dsa-mv88e6xxx-default-VID-1.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-04-10 15:05:11 +02:00
711-net-dsa-mv88e6xxx-disable-ATU-violation.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-04-10 15:05:11 +02: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 kernel: bump 5.4 to 5.4.74 2020-11-02 16:33:25 +01:00
902-debloat_proc.patch kernel: bump 5.4 to 5.4.74 2020-11-02 16:33:25 +01:00
904-debloat_dma_buf.patch kernel: bump 5.4 to 5.4.105 2021-03-16 00:31:16 +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 target/hack-5.4: platform/x86/pcengines: revert led simswich compromise 2020-06-26 20:54:53 +02:00