[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210925225929.2082046-1-linus.walleij@linaro.org>
Date: Sun, 26 Sep 2021 00:59:23 +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 v7] 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 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 | 194 +++++++++++++++++++++++++++--
3 files changed, 188 insertions(+), 105 deletions(-)
--
2.31.1
Powered by blists - more mailing lists