Repository navigation
Conversation
Previous regular expression in sed allowed comment strings that starts with space. $ cat sysupgrade.conf # /etc/openvpn/ /etc/config /etc/profile /etc/firewall.user /etc/TC_hfsc.sh /etc/hotplug.d/iface/30-trafficc /etc/init.d/trafficc /root /etc/crontabs/root $ sed -ne '/^[[:space:]]*$/d; /^#/d; p' sysupgrade.conf # /etc/openvpn/ /etc/config /etc/profile /etc/firewall.user /etc/TC_hfsc.sh /etc/hotplug.d/iface/30-trafficc /etc/init.d/trafficc /root /etc/crontabs/root This patch fixes that problem $ sed -ne '/^[[:space:]]*\($\|#\)/d; p' sysupgrade.conf /etc/config /etc/profile /etc/firewall.user /etc/TC_hfsc.sh /etc/hotplug.d/iface/30-trafficc /etc/init.d/trafficc /root /etc/crontabs/root
Ham22
added a commit
to Ham22/openwrt
that referenced
this pull request
Nov 17, 2016
Jenkinsfile: discard old builds
Member
|
Looks okay, but a suggestion: rather than grouping commands with ';' why not use multiple -e scripts, i.e.: instead? Also, why not use an external function: |
Author
|
Actually, in openwrt-devel ML somebody said that this is not an issue and they will not accept this patch. So I don't know if this pull request will be accepted or rejected here. If it's going to be merged, I will create a separate function. If not, just close this PR. |
Member
|
Seems a shame. Having protection against simple cut&paste errors isn't a bad thing, especially when it can be done on the cheap as:
(adding space-star before the pound). |
Contributor
|
@pprindeville post a patch on the LEDE org please |
1 task done
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previous regular expression in sed allowed comment strings that starts with
space.
This patch fixes that problem