mbox series

[net-next,0/5,v3] RTL8366RB DSA tagging and fixes

Message ID 20200705231550.77946-1-linus.walleij@linaro.org
Headers show
Series RTL8366RB DSA tagging and fixes | expand

Message

Linus Walleij July 5, 2020, 11:15 p.m. UTC
This adds rudimentary DSA tagging and fixes up some VLAN
issues in the RTL8366RB driver and in the RTL8366 core
in general.

Linus Walleij (5):
  net: dsa: tag_rtl4_a: Implement Realtek 4 byte A tag
  net: dsa: rtl8366rb: Support the CPU DSA tag
  net: dsa: rtl8366: Split out default VLAN config
  net: dsa: rtl8366: VLAN 0 as disable tagging
  net: dsa: rtl8366: Use top VLANs for default

 drivers/net/dsa/Kconfig     |   1 +
 drivers/net/dsa/rtl8366.c   | 135 +++++++++++++++++++++++++-----------
 drivers/net/dsa/rtl8366rb.c |  31 +++------
 include/net/dsa.h           |   2 +
 net/dsa/Kconfig             |   7 ++
 net/dsa/Makefile            |   1 +
 net/dsa/tag_rtl4_a.c        | 131 ++++++++++++++++++++++++++++++++++
 7 files changed, 245 insertions(+), 63 deletions(-)
 create mode 100644 net/dsa/tag_rtl4_a.c