mbox series

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

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

Message

Linus Walleij July 6, 2020, 8:52 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.

This v4 fixes a single unused variable in patch 1/5.

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 |  33 +++------
 include/net/dsa.h           |   2 +
 net/dsa/Kconfig             |   7 ++
 net/dsa/Makefile            |   1 +
 net/dsa/tag_rtl4_a.c        | 144 ++++++++++++++++++++++++++++++++++++
 7 files changed, 259 insertions(+), 64 deletions(-)
 create mode 100644 net/dsa/tag_rtl4_a.c