Repository navigation
Conversation
|
Since the router comes with two switch versions, either RTL8367S or RTL8367S-VB, a new DTS was created. Next to tplink,archer-c5-v4 (RTL8367S or RTL8367S-VB) is tplink,archer-c5-v4-dsa with DSA support, but only for the RTL8367S. |
abfda1b to
47d5557
Compare
|
All tests and comments are welcome. |
|
Hi, do you have any plan of updating d8490e1 to "new version"? |
|
I don't have any plans yet, the "new version" is much more complicated so it requires longer testing. |
|
@Schneider-Azima I updated your patch to the current version of my PR for kernel 6.6 and 6.12: 862-patch.zip |
|
Kernel log of the Archer C5 v4 router: log-dsa_old-6.12.39.log |
|
Ultimately, I'd like all RTL8367S routers to switch to the realtek,rtl8365mb driver.
More at #19473 (comment) and below. |
|
Please rebase to fix the CI problem. |
5eaa764 to
4a57cff
Compare
|
The current CI test failures are not related to this PR. |
|
Since I do not own a router equipped with this integrated circuit, I am unable to perform testing of the software submitted to the Linux kernel’s main code tree (the |
openwrt-ai
left a comment
There was a problem hiding this comment.
Commit checks
- 8ee8717 "qualcommax: ipq50xx: program the UNIPHY at gmac probe" — authored by Johan Alvarado but committed and submitted by you, and only his
Signed-off-byis present; append your ownSigned-off-by: Mieczyslaw Nalewaj <[email protected]>as the submitter.
Generated by Claude Code
Add ingress QoS offload for the RTL8365MB switch through the dcbnl app interface: a per-port default priority, PCP trust and DSCP trust. The mapping helpers go to net/core/ieee8021q_helpers.c so other drivers can share them. Two changes are visible to users. The driver now rejects a devicetree port that the chip does not have. With a default priority set, an untagged frame that leaves a VLAN-tagged port carries that priority as its PCP. Tested on an RTL8365MB-VC with eight queues. ETS scheduling and CPU-tag pre-classification will follow in separate series. Signed-off-by: Oleksij Rempel <[email protected]> Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
This series (15 patches) extends the existing family C (RTL8365MB/RTL8367S/RTL8367SB/RTL8367RB-VB) driver with a new family D branch. Family C's functional behaviour is unchanged. Patches: - dt-bindings: net: dsa: realtek: add RTL8367S-VB - net: dsa: realtek: rtl8365mb: add chip family infrastructure - net: dsa: realtek: rtl8365mb: refactor forcemode handling - net: dsa: realtek: rtl8365mb: set speed for family D - net: dsa: realtek: rtl8365mb: set RGMII mode for family D - net: dsa: realtek: rtl8365mb: refactor VLAN 4k handling - net: dsa: realtek: rtl8365mb: set and get VLAN 4k for family D - net: dsa: realtek: rtl8365mb: refactor PVID handling - net: dsa: realtek: rtl8365mb: use raw VID for PVID on family D - net: dsa: realtek: rtl8365mb: add family D SDS13 PCS support - net: dsa: realtek: rtl8365mb: refactor L2 MAC handling - net: dsa: realtek: rtl8365mb: make L2/LUT access work on family D - net: dsa: realtek: rtl8365mb: refactor QoS priority handling - net: dsa: realtek: rtl8365mb: use PCP numbering on family D - net: dsa: realtek: rtl8365mb: add support for RTL8367S-VB Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Refresh the rtl8365mb hunk to match the current 6.18 tree. No functional change. Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
- phylink configures the PCS only at ndo_open, until then the UNIPHY keeps the bootloader mode - MR80X v2 u-boot hands over in SGMII (MODE_CTRL 0x421, MISC2 0x70) while the board runs the trunk at 2500base-x - the RTL8367S CPU port brings its SerDes up at DSA setup, 2 s before the first open, and trains its receiver against the wrong line rate - CPU port dead or FCS errors on 18 of 51 boots, 0 of 32 with the mode sequence run from pcs_init - add qca_uniphy_pcs_preconfig() and call it from dwmac-ipq5018 with the DT phy-mode; pcs_config at open then hits the mode cache Signed-off-by: Johan Alvarado <[email protected]>
Convert TP-Link Archer C5 v4 router switch drivers to DSA. Co-authored-by: Luiz Angelo Daros de Luca <[email protected]> Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Convert TP-Link EC220-G5 v2 router switch drivers to DSA. Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Convert TP-Link Archer C5 v4 and EC220-G5 v2 to DSA.
Commits:
kernel: modules: netdevices: forward offload for rtl8365mb- already implementedkernel: modules: netdevices: add (H)SGMII rtl8365mb support- unnecessaryramips: ethernet: ralink: mt7620 enable jumbo frames- already implementedramips: ethernet: ralink: fix MT7620A_GDMA regs- already implementedramips: ethernet: ralink: mtu change while interface is down- already implementedramips: ethernet: ralink: fix offload with diff dsa tag- already implementedramips: ethernet: ralink: add mediatek,no-swconfig property- already implementedkernel: modules: netdevices: fixes for DSA tag rtl8_4- already implementedDepends on #25101