Re: [PATCH v3 net-next 6/7] net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC
From: Linus Walleij <hidden>
Date: 2021-10-16 22:32:41
Also in:
lkml, netdev
From: Linus Walleij <hidden>
Date: 2021-10-16 22:32:41
Also in:
lkml, netdev
On Fri, Oct 15, 2021 at 7:11 PM Alvin Šipraga [off-list ref] wrote:
This patch adds a realtek-smi subdriver for the RTL8365MB-VC 4+1 port 10/100/1000M switch controller. The driver has been developed based on a GPL-licensed OS-agnostic Realtek vendor driver known as rtl8367c found in the OpenWrt source tree.
This version is really nice!
v2 -> v3:
- following the stats change, it became apparent that the rtl8366
helper library is no longer that helpful; scrap it and implement
the ethtool ops specifically for this chipI wonder if I should just scrap it in general when I convert RTL8366RB over to use your new nice callbacks? Just push that part down into the driver for each chip. I vaguely remember the RTL8366S having the same counters though... (I think this is why it is in the shared library at all.) Yours, Linus Walleij