mbox series

[net-next,0/8] RTL8366(RB) cleanups part 1

Message ID 20210913144300.1265143-1-linus.walleij@linaro.org (mailing list archive)
Headers show
Series RTL8366(RB) cleanups part 1 | expand

Message

Linus Walleij Sept. 13, 2021, 2:42 p.m. UTC
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 7 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.

DENG Qingfang (1):
  net: dsa: rtl8366rb: Support bridge offloading

Linus Walleij (7):
  net: dsa: rtl8366: Drop custom VLAN set-up
  net: dsa: rtl8366rb: Rewrite weird VLAN filering enablement
  net: dsa: rtl8366rb: Always treat VLAN 0 as untagged
  net: dsa: rtl8366: Disable "4K" VLANs
  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          | 113 ++++---------------------
 drivers/net/dsa/rtl8366rb.c        | 128 ++++++++++++++++++++++++++---
 3 files changed, 135 insertions(+), 109 deletions(-)