immortalwrt/target/linux/generic/hack-5.10
DENG Qingfang cc76e31536 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-24 12:21:16 +08:00
..
204-module_strip.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
210-darwin_scripts_include.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
211-darwin-uuid-typedef-clash.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
212-tools_portability.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
214-spidev_h_portability.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
220-gc_sections.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
221-module_exports.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
230-openwrt_lzma_options.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
249-udp-tunnel-selection.patch kernel: hack-5.10: make UDP tunneling user-selectable 2021-02-18 00:36:52 +08:00
250-netfilter_depends.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
251-kconfig.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
259-regmap_dynamic.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
260-crypto_test_dependencies.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
261-lib-arc4-unhide.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
280-rfkill-stubs.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
301-mips_image_cmdline_hack.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
312-arm64-cpuinfo-Add-model-name-in-proc-cpuinfo-for-64bit-ta.patch kernel: apply hacks on kernel 5.10 2021-02-18 00:46:19 +08:00
321-powerpc_crtsavres_prereq.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
531-debloat_lzma.patch kernel: 5.10: refresh patches 2021-02-18 00:37:07 +08:00
640-bridge-only-accept-EAP-locally.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
645-netfilter-connmark-introduce-set-dscpmark.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
650-netfilter-add-xt_OFFLOAD-target.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
651-wireless_mesh_header.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
660-fq_codel_defaults.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
661-use_fq_codel_by_default.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
700-swconfig_switch_drivers.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
710-net-dsa-mv88e6xxx-default-VID-1.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-02-24 12:21:16 +08:00
711-net-dsa-mv88e6xxx-disable-ATU-violation.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-02-24 12:21:16 +08:00
773-bgmac-add-srab-switch.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
901-debloat_sock_diag.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
902-debloat_proc.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
904-debloat_dma_buf.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
910-kobject_uevent.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
911-kobject_add_broadcast_uevent.patch kernel: add linux 5.10 support 2021-02-18 00:36:38 +08:00
952-net-conntrack-events-support-multiple-registrant.patch kernel: apply hacks on kernel 5.10 2021-02-18 00:46:19 +08:00
953-net-patch-linux-kernel-to-support-shortcut-fe.patch kernel: apply hacks on kernel 5.10 2021-02-18 00:46:19 +08:00
992-add-ndo-do-ioctl.patch kernel: apply hacks on kernel 5.10 2021-02-18 00:46:19 +08:00
993-usb-serial-option-add-u9300.patch kernel: apply hacks on kernel 5.10 2021-02-18 00:46:19 +08:00
999-make-phylink-tristate.patch kernel: apply hacks on kernel 5.10 2021-02-18 00:46:19 +08:00