Skip to content

Enable nand for mt7621 - #70

Merged
wigyori merged 1 commit into
openwrt:masterfrom
mar-kolya:fix-Ubiquiti-EdgeRouter-build
Aug 24, 2016
Merged

wigyori merged 1 commit into
openwrt:masterfrom
mar-kolya:fix-Ubiquiti-EdgeRouter-build

Conversation

@mar-kolya

Copy link
Copy Markdown
Contributor

Ubiquiti ERX is an mt7621 based nand device, so enable nand packages for mt7621 boards

Signed-off-by: Nikolay Martynov [email protected]

Ubiquiti ERX is an mt7621 based nand device, so enable nand packages for mt7621 boards

Signed-off-by: Nikolay Martynov <[email protected]>
@wigyori
wigyori merged commit 7885f02 into openwrt:master Aug 24, 2016
Ham22 pushed a commit to Ham22/openwrt that referenced this pull request Nov 22, 2016
…und-conf

pistachio/base-files/etc: remove asound.conf
@mar-kolya
mar-kolya deleted the fix-Ubiquiti-EdgeRouter-build branch December 15, 2022 04:39
@mar-kolya
mar-kolya restored the fix-Ubiquiti-EdgeRouter-build branch December 15, 2022 04:39
@mar-kolya
mar-kolya deleted the fix-Ubiquiti-EdgeRouter-build branch December 15, 2022 04:39
kubrickfr pushed a commit to kubrickfr/openwrt-be9300 that referenced this pull request Oct 6, 2026
Bring the RTL837x DSA driver up to the state tested on the GL.iNet
GL-BE9300:

 - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL
   API and the DSA callbacks as Linux errnos, and unwind cleanly on
   probe, setup and teardown failures
 - keep the VLAN shadow state, VLAN filtering and PVID transitions,
   STP state and SerDes mode consistent on errors
 - harden the debugfs handlers and the CPU-port status worker, reject
   multiple switch instances and hold a netdev reference on the conduit
 - offload the bridge learning, flooding, hairpin and isolation flags,
   add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and
   isolate FDB entries by tag_8021q database
 - expose ethtool MAC/RMON statistics, hardware port counters through
   get_stats64, the ASIC identity through devlink info and DSA EEE
 - add bridge flag regression tests and document the MTU/jumbo frame
   research

This squashes the following commits of the flint3-be9300 branch:

 - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10)
 - cfe2ede rtl837x: check switch setup errors (openwrt#12)
 - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14)
 - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15)
 - c4e9956 rtl837x: preserve regmap init errors (openwrt#16)
 - 5dec047 rtl837x: report FDB flush errors (openwrt#25)
 - 7195404 rtl837x: report STP state errors (openwrt#26)
 - db484f0 rtl837x: clear global private state on teardown (openwrt#28)
 - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30)
 - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31)
 - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32)
 - 7eed649 rtl837x: report device ID read failures (openwrt#33)
 - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39)
 - 9923462 rtl837x: harden CPU-port status worker (openwrt#41)
 - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42)
 - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44)
 - d7d421c rtl837x: harden debugfs write handlers (openwrt#45)
 - a996b4b rtl837x: add DSA EEE control (openwrt#48)
 - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50)
 - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40)
 - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55)
 - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29)
 - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43)
 - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56)
 - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52)
 - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53)
 - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54)
 - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57)
 - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58)
 - 9feee33 rtl837x: reject multiple switch instances
 - 0852fcb rtl837x: keep global state through shutdown
 - 7019995 rtl837x: expose ASIC identity through devlink info
 - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks
 - aa882fd rtl837x: preserve RTL8373 DAL operation error codes
 - a3f2890 rtl837x: bound RTL8373 VLAN table write polling
 - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63)
 - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67)
 - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64)
 - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66)
 - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65)
 - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71)
 - a5956c3 rtl837x: fix RTL8373 PHY poll termination
 - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination
 - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72)
 - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69)
 - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70)
 - 047db99 rtl837x: offload bridge flood flags
 - 3662de9 rtl837x: document MTU and jumbo-frame research
 - f3f0e82 rtl837x: clarify MTU research limits
 - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75
 - c0af589 kernel: rtl837x: add FDB dump support
 - f665cd5 rtl837x: tighten FDB dump iterator handling
 - 2de1c6f rtl837x: filter FDB dump entries
 - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c
 - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit

Co-developed-by: Akshay Kakatkar <[email protected]>
Co-developed-by: perceival <[email protected]>
Co-developed-by: François Guerraz <[email protected]>
Signed-off-by: Maksims Neroba <[email protected]>
Signed-off-by: Maksim Neroba <[email protected]>
Signed-off-by: Akshay Kakatkar <[email protected]>
Signed-off-by: Kamil Bienkiewicz <[email protected]>
Signed-off-by: François Guerraz <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
kubrickfr pushed a commit to kubrickfr/openwrt-be9300 that referenced this pull request Oct 9, 2026
Bring the RTL837x DSA driver up to the state tested on the GL.iNet
GL-BE9300:

 - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL
   API and the DSA callbacks as Linux errnos, and unwind cleanly on
   probe, setup and teardown failures
 - keep the VLAN shadow state, VLAN filtering and PVID transitions,
   STP state and SerDes mode consistent on errors
 - harden the debugfs handlers and the CPU-port status worker, reject
   multiple switch instances and hold a netdev reference on the conduit
 - offload the bridge learning, flooding, hairpin and isolation flags,
   add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and
   isolate FDB entries by tag_8021q database
 - expose ethtool MAC/RMON statistics, hardware port counters through
   get_stats64, the ASIC identity through devlink info and DSA EEE
 - add bridge flag regression tests and document the MTU/jumbo frame
   research

This squashes the following commits of the flint3-be9300 branch:

 - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10)
 - cfe2ede rtl837x: check switch setup errors (openwrt#12)
 - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14)
 - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15)
 - c4e9956 rtl837x: preserve regmap init errors (openwrt#16)
 - 5dec047 rtl837x: report FDB flush errors (openwrt#25)
 - 7195404 rtl837x: report STP state errors (openwrt#26)
 - db484f0 rtl837x: clear global private state on teardown (openwrt#28)
 - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30)
 - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31)
 - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32)
 - 7eed649 rtl837x: report device ID read failures (openwrt#33)
 - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39)
 - 9923462 rtl837x: harden CPU-port status worker (openwrt#41)
 - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42)
 - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44)
 - d7d421c rtl837x: harden debugfs write handlers (openwrt#45)
 - a996b4b rtl837x: add DSA EEE control (openwrt#48)
 - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50)
 - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40)
 - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55)
 - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29)
 - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43)
 - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56)
 - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52)
 - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53)
 - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54)
 - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57)
 - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58)
 - 9feee33 rtl837x: reject multiple switch instances
 - 0852fcb rtl837x: keep global state through shutdown
 - 7019995 rtl837x: expose ASIC identity through devlink info
 - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks
 - aa882fd rtl837x: preserve RTL8373 DAL operation error codes
 - a3f2890 rtl837x: bound RTL8373 VLAN table write polling
 - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63)
 - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67)
 - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64)
 - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66)
 - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65)
 - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71)
 - a5956c3 rtl837x: fix RTL8373 PHY poll termination
 - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination
 - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72)
 - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69)
 - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70)
 - 047db99 rtl837x: offload bridge flood flags
 - 3662de9 rtl837x: document MTU and jumbo-frame research
 - f3f0e82 rtl837x: clarify MTU research limits
 - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75
 - c0af589 kernel: rtl837x: add FDB dump support
 - f665cd5 rtl837x: tighten FDB dump iterator handling
 - 2de1c6f rtl837x: filter FDB dump entries
 - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c
 - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit

Co-developed-by: Akshay Kakatkar <[email protected]>
Co-developed-by: perceival <[email protected]>
Co-developed-by: François Guerraz <[email protected]>
Signed-off-by: Maksims Neroba <[email protected]>
Signed-off-by: Maksim Neroba <[email protected]>
Signed-off-by: Akshay Kakatkar <[email protected]>
Signed-off-by: Kamil Bienkiewicz <[email protected]>
Signed-off-by: François Guerraz <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
kubrickfr pushed a commit to kubrickfr/openwrt-be9300 that referenced this pull request Oct 19, 2026
Bring the RTL837x DSA driver up to the state tested on the GL.iNet
GL-BE9300:

 - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL
   API and the DSA callbacks as Linux errnos, and unwind cleanly on
   probe, setup and teardown failures
 - keep the VLAN shadow state, VLAN filtering and PVID transitions,
   STP state and SerDes mode consistent on errors
 - harden the debugfs handlers and the CPU-port status worker, reject
   multiple switch instances and hold a netdev reference on the conduit
 - offload the bridge learning, flooding, hairpin and isolation flags,
   add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and
   isolate FDB entries by tag_8021q database
 - expose ethtool MAC/RMON statistics, hardware port counters through
   get_stats64, the ASIC identity through devlink info and DSA EEE
 - add bridge flag regression tests and document the MTU/jumbo frame
   research

This squashes the following commits of the flint3-be9300 branch:

 - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10)
 - cfe2ede rtl837x: check switch setup errors (openwrt#12)
 - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14)
 - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15)
 - c4e9956 rtl837x: preserve regmap init errors (openwrt#16)
 - 5dec047 rtl837x: report FDB flush errors (openwrt#25)
 - 7195404 rtl837x: report STP state errors (openwrt#26)
 - db484f0 rtl837x: clear global private state on teardown (openwrt#28)
 - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30)
 - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31)
 - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32)
 - 7eed649 rtl837x: report device ID read failures (openwrt#33)
 - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39)
 - 9923462 rtl837x: harden CPU-port status worker (openwrt#41)
 - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42)
 - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44)
 - d7d421c rtl837x: harden debugfs write handlers (openwrt#45)
 - a996b4b rtl837x: add DSA EEE control (openwrt#48)
 - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50)
 - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40)
 - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55)
 - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29)
 - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43)
 - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56)
 - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52)
 - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53)
 - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54)
 - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57)
 - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58)
 - 9feee33 rtl837x: reject multiple switch instances
 - 0852fcb rtl837x: keep global state through shutdown
 - 7019995 rtl837x: expose ASIC identity through devlink info
 - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks
 - aa882fd rtl837x: preserve RTL8373 DAL operation error codes
 - a3f2890 rtl837x: bound RTL8373 VLAN table write polling
 - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63)
 - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67)
 - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64)
 - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66)
 - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65)
 - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71)
 - a5956c3 rtl837x: fix RTL8373 PHY poll termination
 - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination
 - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72)
 - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69)
 - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70)
 - 047db99 rtl837x: offload bridge flood flags
 - 3662de9 rtl837x: document MTU and jumbo-frame research
 - f3f0e82 rtl837x: clarify MTU research limits
 - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75
 - c0af589 kernel: rtl837x: add FDB dump support
 - f665cd5 rtl837x: tighten FDB dump iterator handling
 - 2de1c6f rtl837x: filter FDB dump entries
 - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c
 - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit

Co-developed-by: Akshay Kakatkar <[email protected]>
Co-developed-by: perceival <[email protected]>
Co-developed-by: François Guerraz <[email protected]>
Signed-off-by: Maksims Neroba <[email protected]>
Signed-off-by: Maksim Neroba <[email protected]>
Signed-off-by: Akshay Kakatkar <[email protected]>
Signed-off-by: Kamil Bienkiewicz <[email protected]>
Signed-off-by: François Guerraz <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
kubrickfr pushed a commit to kubrickfr/openwrt-be9300 that referenced this pull request Nov 7, 2026
Bring the RTL837x DSA driver up to the state tested on the GL.iNet
GL-BE9300:

 - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL
   API and the DSA callbacks as Linux errnos, and unwind cleanly on
   probe, setup and teardown failures
 - keep the VLAN shadow state, VLAN filtering and PVID transitions,
   STP state and SerDes mode consistent on errors
 - harden the debugfs handlers and the CPU-port status worker, reject
   multiple switch instances and hold a netdev reference on the conduit
 - offload the bridge learning, flooding, hairpin and isolation flags,
   add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and
   isolate FDB entries by tag_8021q database
 - expose ethtool MAC/RMON statistics, hardware port counters through
   get_stats64, the ASIC identity through devlink info and DSA EEE
 - add bridge flag regression tests and document the MTU/jumbo frame
   research

This squashes the following commits of the flint3-be9300 branch:

 - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10)
 - cfe2ede rtl837x: check switch setup errors (openwrt#12)
 - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14)
 - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15)
 - c4e9956 rtl837x: preserve regmap init errors (openwrt#16)
 - 5dec047 rtl837x: report FDB flush errors (openwrt#25)
 - 7195404 rtl837x: report STP state errors (openwrt#26)
 - db484f0 rtl837x: clear global private state on teardown (openwrt#28)
 - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30)
 - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31)
 - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32)
 - 7eed649 rtl837x: report device ID read failures (openwrt#33)
 - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39)
 - 9923462 rtl837x: harden CPU-port status worker (openwrt#41)
 - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42)
 - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44)
 - d7d421c rtl837x: harden debugfs write handlers (openwrt#45)
 - a996b4b rtl837x: add DSA EEE control (openwrt#48)
 - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50)
 - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40)
 - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55)
 - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29)
 - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43)
 - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56)
 - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52)
 - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53)
 - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54)
 - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57)
 - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58)
 - 9feee33 rtl837x: reject multiple switch instances
 - 0852fcb rtl837x: keep global state through shutdown
 - 7019995 rtl837x: expose ASIC identity through devlink info
 - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks
 - aa882fd rtl837x: preserve RTL8373 DAL operation error codes
 - a3f2890 rtl837x: bound RTL8373 VLAN table write polling
 - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63)
 - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67)
 - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64)
 - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66)
 - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65)
 - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71)
 - a5956c3 rtl837x: fix RTL8373 PHY poll termination
 - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination
 - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72)
 - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69)
 - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70)
 - 047db99 rtl837x: offload bridge flood flags
 - 3662de9 rtl837x: document MTU and jumbo-frame research
 - f3f0e82 rtl837x: clarify MTU research limits
 - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75
 - c0af589 kernel: rtl837x: add FDB dump support
 - f665cd5 rtl837x: tighten FDB dump iterator handling
 - 2de1c6f rtl837x: filter FDB dump entries
 - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c
 - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit

Co-developed-by: Akshay Kakatkar <[email protected]>
Co-developed-by: perceival <[email protected]>
Co-developed-by: François Guerraz <[email protected]>
Signed-off-by: Maksims Neroba <[email protected]>
Signed-off-by: Maksim Neroba <[email protected]>
Signed-off-by: Akshay Kakatkar <[email protected]>
Signed-off-by: Kamil Bienkiewicz <[email protected]>
Signed-off-by: François Guerraz <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
kubrickfr pushed a commit to kubrickfr/openwrt-be9300 that referenced this pull request Nov 7, 2026
Bring the RTL837x DSA driver up to the state tested on the GL.iNet
GL-BE9300:

 - propagate and report errors from MDIO, GPIO, regmap, the RTK/DAL
   API and the DSA callbacks as Linux errnos, and unwind cleanly on
   probe, setup and teardown failures
 - keep the VLAN shadow state, VLAN filtering and PVID transitions,
   STP state and SerDes mode consistent on errors
 - harden the debugfs handlers and the CPU-port status worker, reject
   multiple switch instances and hold a netdev reference on the conduit
 - offload the bridge learning, flooding, hairpin and isolation flags,
   add FDB dump, per-VLAN fast ageing and link-down FDB age-out, and
   isolate FDB entries by tag_8021q database
 - expose ethtool MAC/RMON statistics, hardware port counters through
   get_stats64, the ASIC identity through devlink info and DSA EEE
 - add bridge flag regression tests and document the MTU/jumbo frame
   research

This squashes the following commits of the flint3-be9300 branch:

 - 5c78c28 rtl837x: fix DSA tagger documentation (openwrt#10)
 - cfe2ede rtl837x: check switch setup errors (openwrt#12)
 - fd744e2 rtl837x: propagate MDIO read errors (openwrt#14)
 - d3866f0 rtl837x: propagate GPIO read errors (openwrt#15)
 - c4e9956 rtl837x: preserve regmap init errors (openwrt#16)
 - 5dec047 rtl837x: report FDB flush errors (openwrt#25)
 - 7195404 rtl837x: report STP state errors (openwrt#26)
 - db484f0 rtl837x: clear global private state on teardown (openwrt#28)
 - 44a2654 rtl837x: report CPU tag teardown errors (openwrt#30)
 - caefe48 rtl837x: handle debugfs SerDes dump errors (openwrt#31)
 - 86deeba rtl837x: reject malformed extra-init properties (openwrt#32)
 - 7eed649 rtl837x: report device ID read failures (openwrt#33)
 - 0d5dc10 rtl837x: roll back SFP SerDes mode on errors (openwrt#39)
 - 9923462 rtl837x: harden CPU-port status worker (openwrt#41)
 - e23575f rtl837x: keep VLAN shadow state consistent on errors (openwrt#42)
 - e12f0b4 rtl837x: propagate auxiliary probe failures (openwrt#44)
 - d7d421c rtl837x: harden debugfs write handlers (openwrt#45)
 - a996b4b rtl837x: add DSA EEE control (openwrt#48)
 - 75a835f rtl837x: fix shared meter IFG readback (openwrt#50)
 - 1ac83b3 rtl837x: handle invalid SerDes mode properties (openwrt#40)
 - a2dc599 rtl837x: propagate debugfs register access errors (openwrt#55)
 - 6994611 rtl837x: handle SerDes swap configuration errors (openwrt#29)
 - 161f810 rtl837x: handle reset GPIO lifecycle correctly (openwrt#43)
 - 56a8f0a rtl837x: return Linux errno from MDIO regmap callbacks (openwrt#56)
 - f884e5e rtl837x: clean probe state on initialization failure (openwrt#52)
 - 09c7aef rtl837x: avoid overriding bridge STP on port enable (openwrt#53)
 - 9ac07a3 rtl837x: keep VLAN filtering and PVID transitions consistent (openwrt#54)
 - 5606175 rtl837x: use SGMII SerDes mode for SGMII SFP modules (openwrt#57)
 - 79d086e rtl837x: isolate FDB entries by tag_8021q database (openwrt#58)
 - 9feee33 rtl837x: reject multiple switch instances
 - 0852fcb rtl837x: keep global state through shutdown
 - 7019995 rtl837x: expose ASIC identity through devlink info
 - ae580c1 rtl837x: preserve RTK error semantics in DSA callbacks
 - aa882fd rtl837x: preserve RTL8373 DAL operation error codes
 - a3f2890 rtl837x: bound RTL8373 VLAN table write polling
 - b6a0e39 rtl837x: offload bridge port learning flag (openwrt#63)
 - 9b57021 rtl837x: expose standard ethtool MAC and RMON statistics (openwrt#67)
 - 9d81760 rtl837x: offload bridge hairpin mode (openwrt#64)
 - 7c9ce34 rtl837x: expose hardware port counters through get_stats64 (openwrt#66)
 - 0e2be0c rtl837x: offload bridge port isolation (openwrt#65)
 - 15c0c81 rtl837x: wire RTL8373 unicast FDB flush mapper (openwrt#71)
 - a5956c3 rtl837x: fix RTL8373 PHY poll termination
 - 8e1e7ca rtl837x: fix RTL8373 PHY poll termination
 - 3cdf8fa rtl837x: add VLAN-specific FDB fast ageing (openwrt#72)
 - b7c60ea rtl837x: align and enable link-down FDB age-out (openwrt#69)
 - a655214 rtl837x: add bridge flag regression test coverage (openwrt#70)
 - 047db99 rtl837x: offload bridge flood flags
 - 3662de9 rtl837x: document MTU and jumbo-frame research
 - f3f0e82 rtl837x: clarify MTU research limits
 - c08abd9 rtl837x: fix tabs/spaces mismatch from PR openwrt#75
 - c0af589 kernel: rtl837x: add FDB dump support
 - f665cd5 rtl837x: tighten FDB dump iterator handling
 - 2de1c6f rtl837x: filter FDB dump entries
 - 1f7e4b8 rtl837x: drop leftover multicast-LUT debug print in dal_rtl8373_lut.c
 - 909dd6b39f rtl837x: hold a netdev reference on the DSA conduit

Co-developed-by: Akshay Kakatkar <[email protected]>
Co-developed-by: perceival <[email protected]>
Co-developed-by: François Guerraz <[email protected]>
Signed-off-by: Maksims Neroba <[email protected]>
Signed-off-by: Maksim Neroba <[email protected]>
Signed-off-by: Akshay Kakatkar <[email protected]>
Signed-off-by: Kamil Bienkiewicz <[email protected]>
Signed-off-by: François Guerraz <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants