[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210928144149.84612-1-linus.walleij@linaro.org>
Date: Tue, 28 Sep 2021 16:41:43 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, Linus Walleij <linus.walleij@...aro.org>
Subject: [PATCH net-next 0/6 v8] RTL8366(RB) cleanups part 1
This is a first set of patches making the RTL8366RB work out of
the box with a default OpenWrt userspace.
We achieve bridge port isolation with the first patch, and the
next 5 patches removes the very weird VLAN set-up with one
VLAN with PVID per port that has been in this driver in all
vendor trees and in OpenWrt for years.
The switch is now managed the way a modern bridge/DSA switch
shall be managed.
After these patches are merged, I will send the next set which
adds new features, some which have circulated before.
ChangeLog v7->v8:
- Keep track of filtering state using the core instead of
tracking it in the driver.
- Minor spelling etc.
ChangeLog v6->v7:
- Fix up the filter enable/disablement code according to spec.
ChangeLog v5->v6:
- Fix a dangling unused "ret" in patch 4.
ChangeLog v4->v5:
- Drop the patch disabling 4K VLAN.
- Drop the patch forcing VLAN0 untagged.
- Fix a semantic bug in the filer enablement code.
DENG Qingfang (1):
net: dsa: rtl8366rb: Support bridge offloading
Linus Walleij (5):
net: dsa: rtl8366: Drop custom VLAN set-up
net: dsa: rtl8366rb: Rewrite weird VLAN filering enablement
net: dsa: rtl8366rb: Fix off-by-one bug
net: dsa: rtl8366: Fix a bug in deleting VLANs
net: dsa: rtl8366: Drop and depromote pointless prints
drivers/net/dsa/realtek-smi-core.h | 3 -
drivers/net/dsa/rtl8366.c | 96 +--------------
drivers/net/dsa/rtl8366rb.c | 189 +++++++++++++++++++++++++++--
3 files changed, 183 insertions(+), 105 deletions(-)
--
2.31.1
Powered by blists - more mailing lists