All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/6 v6] RTL8366(RB) cleanups part 1
@ 2021-09-25 13:23 Linus Walleij
  2021-09-25 13:23 ` [PATCH net-next 1/6 v6] net: dsa: rtl8366rb: Support bridge offloading Linus Walleij
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Linus Walleij @ 2021-09-25 13:23 UTC (permalink / raw)
  To: Andrew Lunn, Vivien Didelot, Florian Fainelli, Vladimir Oltean,
	David S . Miller, Jakub Kicinski
  Cc: netdev, Linus Walleij

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 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        | 122 ++++++++++++++++++++++++++---
 3 files changed, 117 insertions(+), 104 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2021-09-26  2:32 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-25 13:23 [PATCH net-next 0/6 v6] RTL8366(RB) cleanups part 1 Linus Walleij
2021-09-25 13:23 ` [PATCH net-next 1/6 v6] net: dsa: rtl8366rb: Support bridge offloading Linus Walleij
2021-09-25 18:30   ` Vladimir Oltean
2021-09-25 13:23 ` [PATCH net-next 2/6 v6] net: dsa: rtl8366: Drop custom VLAN set-up Linus Walleij
2021-09-25 13:23 ` [PATCH net-next 3/6 v6] net: dsa: rtl8366rb: Rewrite weird VLAN filering enablement Linus Walleij
2021-09-25 17:12   ` Alvin Šipraga
2021-09-25 18:38     ` Vladimir Oltean
2021-09-25 22:44       ` Linus Walleij
2021-09-25 13:23 ` [PATCH net-next 4/6 v6] net: dsa: rtl8366rb: Fix off-by-one bug Linus Walleij
2021-09-25 17:16   ` Alvin Šipraga
2021-09-25 18:44   ` Vladimir Oltean
2021-09-26  2:32   ` Florian Fainelli
2021-09-25 13:23 ` [PATCH net-next 5/6 v6] net: dsa: rtl8366: Fix a bug in deleting VLANs Linus Walleij
2021-09-25 17:18   ` Alvin Šipraga
2021-09-25 18:50   ` Vladimir Oltean
2021-09-25 13:23 ` [PATCH net-next 6/6 v6] net: dsa: rtl8366: Drop and depromote pointless prints Linus Walleij
2021-09-25 17:19   ` Alvin Šipraga
2021-09-25 18:56   ` Vladimir Oltean
2021-09-25 22:54     ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.