Repository navigation
Conversation
fe42816 to
0dd841f
Compare
|
Please link where it was rejected. |
This supports only the rtl8367s variant of C5-v4 and not the variant with the rtl8367s-vb switch, which is still not supported in the upstream Realtek DSA driver. Signed-off-by: Luiz Angelo Daros de Luca <[email protected]>
|
The patch is a squash of several others e.g.: |
|
Please do not squash these patches. This makes it very hard to identify their origin and complicates the task when one of then gets backported to an LTS kernel or when we go to the next major kernel version. Please add the backported patches to |
1fd7833 to
3cf9dd3
Compare
This is a squashed mix from my WIP kernel branch. I'm not sure I pushed the latest version but it is mostly torvalds/linux@master...luizluca:linux:realtek_offload It will not get upstreamed because the maintainer has an unfinished concurrent alternative, but much more complete. |
447c13a to
5f7e901
Compare
initial files of kernel 6.6.101 + patch openwrt/openwrt#19644 Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
c294455 to
5cd65de
Compare
fee0acc to
a85df3b
Compare
|
@namiltd I ran v12-pre3 (head
One nit: the comment in |
openwrt-ai
left a comment
There was a problem hiding this comment.
Commit checks
e53d8cf1"net: dsa: realtek: rtl8365mb: support DCB ingress QoS offload" — the subject is the raw kernel subject, but the commit only addstarget/linux/generic/pending-6.18/770-*patches. Use an OpenWrt area prefix like the sibling commit, e.g.generic: rtl8365mb: support DCB ingress QoS offload.
Generated by Claude Code
|
Updated to version v12-pre5, which is identical to version v12 submitted to the Linux upstream 'net-next' tree: https://lore.kernel.org/netdev/[email protected]/ |
|
@namiltd v12-pre5 (head |
|
@namiltd v13-pre2 on the EX511 v2: tested at
|
|
v13-pre6:
|
|
@namiltd v13-pre6 (head
|
|
v14-pre3:
|
|
@gusfm please confirm that it works - provided you have the time and inclination, of course - and I will then submit this version to the Linux upstream as v14. |
|
@namiltd , ok I'm going to test this tonight (GMT -3). |
|
@namiltd before you send v14 to net-next: would you be willing to include the family C SVL change as a 16th patch in the series? It only makes sense on top of your series, because it reuses the family D IVL/SVL handling from 7/15 and the L2 changes from 12/15. Refreshed for v14-pre3: gingernut1978@e894780743b Changes from the v13 version:
It builds with If you'd rather keep the series as it is, I can send it to netdev myself as a follow-up once v14 is applied. You're already credited as Co-developed-by in it. Whichever is easier for you. |
|
There are so many changes in my series that I wouldn’t want to add anything else that might delay the approval process. |
|
Understood, that makes sense. I'll send it to netdev as a follow-up once your series is applied. Good luck with v14, and thanks for all the work on this. |
|
Tested the family C SVL patch (gingernut1978@e894780743b) on top of v14-pre3 on a TOTOLINK A8000RU (RTL8367S, family C): Wi-Fi clients roaming onto it from another AP keep DHCP and traffic, with no outage. Before the patch, they lost both for about 100 seconds. |
|
@namiltd v14-pre3 (head
Thanks a lot for your work on this, and sorry for the delay. |
|
@gusfm v15-pre0:
|
|
@namiltd v15-pre0 (head
|
|
@gusfm v15-pre4:
|
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]>
|
@namiltd v15-pre4 (head
|
Allows switching from realtek,rtl8367b and mediatek,rtk-gsw drivers to realtek,rtl8365mb driver (forum: https://forum.openwrt.org/t/reduce-number-of-drivers-for-rtl8367s).
fix mode mask calculation- already implementedadd VLAN and Bridging support to Realtek rtl8365mb DSA switch- already implementedadd SGMII and HSGMII mode support- already implementedadd support for rtl8367sb- already implementedThis patch is used in: