[PATCH net-next 0/7] net: dsa: replace routing tables with a list

From: Vivien Didelot
Date: Mon Oct 28 2019 - 15:52:32 EST


This branch gets rid of the ds->rtable static arrays in favor of
a single dst->rtable list. This allows us to move away from the
DSA_MAX_SWITCHES limitation and simplify the switch fabric setup.

This branch applies on top of Colin's "net: dsa: fix dereference on
ds->dev before null check error" commit.

Vivien Didelot (7):
net: dsa: list DSA links in the fabric
net: dsa: remove ds->rtable
net: dsa: remove switch routing table setup code
net: dsa: remove the dst->ds array
net: dsa: remove tree functions related to switches
net: dsa: remove limitation of switch index value
net: dsa: tag_8021q: clarify index limitation

drivers/net/dsa/mv88e6xxx/chip.c | 8 +--
include/net/dsa.h | 39 ++++++----
net/dsa/dsa2.c | 119 +++++++++++++------------------
net/dsa/tag_8021q.c | 5 +-
4 files changed, 83 insertions(+), 88 deletions(-)

--
2.23.0