openwrt/target/linux/generic/backport-5.4
DENG Qingfang 7c47f6601d generic: mt7530: fix roaming from DSA user ports
When a client moves from a DSA user port to a software port in a bridge,
it cannot reach any other clients that connected to the DSA user ports.
That is because SA learning on the CPU port is disabled, so the switch
ignores the client's frames from the CPU port and still thinks it is at
the user port.

Fix it by enabling SA learning on the CPU port.

To prevent the switch from learning from flooding frames from the CPU
port, set skb->offload_fwd_mark to 1 for unicast and broadcast frames,
and let the switch flood them instead of trapping to the CPU port.
Multicast frames still need to be trapped to the CPU port for snooping,
so set the SA_DIS bit of the MTK tag to 1 when transmitting those frames
to disable SA learning.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-06-04 22:21:42 +02:00
..
010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch
011-kbuild-export-SUBARCH.patch
020-backport_netfilter_rtcache.patch
030-modpost-add-a-helper-to-get-data-pointed-by-a-symbol.patch linux-5.4: backport modpost upstream patches 2020-03-01 15:52:36 +01:00
031-modpost-refactor-namespace_from_kstrtabns-to-not-har.patch linux-5.4: backport modpost upstream patches 2020-03-01 15:52:36 +01:00
040-ARM-8918-2-only-build-return_address-if-needed.patch linux-5.4: backport ARM symbol export fix 2020-03-01 16:02:49 +01:00
300-MIPS-Exclude-more-dsemul-code-when-CONFIG_MIPS_FP_SU.patch kernel: bump 5.4 to 5.4.31 2020-04-09 00:12:46 +02:00
343-netfilter-nft_flow_offload-handle-netdevice-events-f.patch
370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch
371-netfilter-nf_flow_table-fix-up-ct-state-of-flows-aft.patch
410-mtd-fix-calculating-partition-end-address.patch kernel: backport mtd partition address fix sent upstream 2020-03-09 11:49:42 +01:00
716-v5.4-net-sfp-move-fwnode-parsing-into-sfp-bus-layer.patch
717-v5.5-net-sfp-rework-upstream-interface.patch
718-v5.5-net-sfp-fix-sfp_bus_put-kernel-documentation.patch
719-v5.5-net-sfp-fix-sfp_bus_add_upstream-warning.patch
720-v5.5-net-sfp-move-sfp-sub-state-machines-into-separate-fu.patch
721-v5.5-net-sfp-move-tx-disable-on-device-down-to-main-state.patch
722-v5.5-net-sfp-rename-sfp_sm_ins_next-as-sfp_sm_mod_next.patch
723-v5.5-net-sfp-handle-module-remove-outside-state-machine.patch
724-v5.5-net-sfp-rename-T_PROBE_WAIT-to-T_SERIAL.patch
725-v5.5-net-sfp-parse-SFP-power-requirement-earlier.patch
726-v5.5-net-sfp-avoid-power-switch-on-address-change-modules.patch
727-v5.5-net-sfp-control-TX_DISABLE-and-phy-only-from-main-st.patch
728-v5.5-net-sfp-split-the-PHY-probe-from-sfp_sm_mod_init.patch
729-v5.5-net-sfp-eliminate-mdelay-from-PHY-probe.patch
730-v5.5-net-sfp-allow-fault-processing-to-transition-to-othe.patch
731-v5.5-net-sfp-ensure-TX_FAULT-has-deasserted-before-probin.patch
732-v5.5-net-sfp-track-upstream-s-attachment-state-in-state-m.patch
733-v5.5-net-sfp-split-power-mode-switching-from-probe.patch
734-v5.5-net-sfp-move-module-insert-reporting-out-of-probe.patch
735-v5.5-net-sfp-allow-sfp-to-probe-slow-to-initialise-GPON-m.patch
736-v5.5-net-sfp-allow-modules-with-slow-diagnostics-to-probe.patch
737-v5.5-net-phy-add-core-phylib-sfp-support.patch kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
738-v5.5-net-phy-marvell10g-add-SFP-support.patch
739-v5.5-net-phylink-update-to-use-phy_support_asym_pause.patch
742-v5.5-net-sfp-add-support-for-module-quirks.patch
743-v5.5-net-sfp-add-some-quirks-for-GPON-modules.patch
744-v5.5-net-sfp-soft-status-and-control-support.patch
745-v5.7-net-dsa-mt7530-add-support-for-port-mirroring.patch kernel: bump 5.4 to 5.4.34 2020-04-21 22:16:33 +02:00
746-v5.5-net-dsa-mv88e6xxx-Split-monitor-port-configuration.patch generic: backport mv88e6xxx port mirroring support 2020-06-03 20:34:15 +02:00
747-v5.5-net-dsa-mv88e6xxx-Add-support-for-port-mirroring.patch generic: backport mv88e6xxx port mirroring support 2020-06-03 20:34:15 +02:00
748-v5.5-net-dsa-mv88e6xxx-fix-broken-if-statement-because-of.patch generic: backport mv88e6xxx port mirroring support 2020-06-03 20:34:15 +02:00
749-v5.5-net-dsa-mv88e6xxx-Fix-masking-of-egress-port.patch generic: backport mv88e6xxx port mirroring support 2020-06-03 20:34:15 +02:00
750-v5.5-net-phy-add-support-for-clause-37-auto-negotiation.patch kernel: bump 5.4 to 5.4.36 2020-04-30 00:52:04 +02:00
751-v5.8-net-dsa-mt7530-set-CPU-port-to-fallback-mode.patch generic: mt7530: set CPU port to fallback mode 2020-06-04 22:21:42 +02:00
752-v5.8-net-dsa-provide-an-option-for-drivers-to-always-rece.patch generic: fix DSA VLAN filtering 2020-06-04 22:21:42 +02:00
753-v5.8-net-dsa-mt7530-fix-VLAN-setup.patch generic: fix DSA VLAN filtering 2020-06-04 22:21:42 +02:00
754-v5.7-net-dsa-mt7530-fix-roaming-from-DSA-user-ports.patch generic: mt7530: fix roaming from DSA user ports 2020-06-04 22:21:42 +02:00
800-v5.5-iio-imu-Add-support-for-the-FXOS8700-IMU.patch ipq40xx: add IPQ4019 SD/MMC controller support 2020-03-09 00:53:50 +01:00
800-v5.5-scsi-core-Add-sysfs-attributes-for-VPD-pages-0h-and-.patch kernel: backport and package drivetemp hwmon from v5.5 2020-03-21 17:48:34 +01:00
801-v5.5-hwmon-Driver-for-disk-and-solid-state-drives-with-te.patch kernel: backport and package drivetemp hwmon from v5.5 2020-03-21 17:48:34 +01:00
801-v5.6-leds-populate-the-device-s-of_node.patch kernel: 5.4: backport led register fix 2020-03-09 00:53:50 +01:00
803-v5.8-i2c-pxa-use-official-address-byte-helper.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
804-v5.8-i2c-pxa-remove-unneeded-includes.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
805-v5.8-i2c-pxa-re-arrange-includes-to-be-in-alphabetical-or.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
806-v5.8-i2c-pxa-re-arrange-functions-to-flow-better.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
807-v5.8-i2c-pxa-re-arrange-register-field-definitions.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
808-v5.8-i2c-pxa-add-and-use-definitions-for-IBMR-register.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
809-v5.8-i2c-pxa-always-set-fm-and-hs-members-for-each-type.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
810-v5.8-i2c-pxa-move-private-definitions-to-i2c-pxa.c.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
811-v5.8-i2c-pxa-move-DT-IDs-along-side-platform-IDs.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
812-v5.8-i2c-pxa-fix-i2c_pxa_scream_blue_murder-debug-output.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
813-v5.8-i2c-pxa-clean-up-decode_bits.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
814-v5.8-i2c-pxa-fix-i2c_pxa_wait_bus_not_busy-boundary-condi.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
815-v5.8-i2c-pxa-consolidate-i2c_pxa_-xfer-implementations.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
816-v5.8-i2c-pxa-avoid-complaints-with-non-responsive-slaves.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
817-v5.8-i2c-pxa-ensure-timeout-messages-are-unique.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
818-v5.8-i2c-pxa-remove-some-unnecessary-debug.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
819-v5.8-i2c-pxa-clear-all-master-action-bits-in-i2c_pxa_stop.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
820-v5.8-i2c-pxa-use-master-abort-for-device-probes.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00
821-v5.8-i2c-pxa-implement-generic-i2c-bus-recovery.patch kernel: drop backported gpio emulated open drain output fix 2020-05-25 21:10:44 +02:00