[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220511095020.562461-1-vladimir.oltean@nxp.com>
Date: Wed, 11 May 2022 12:50:12 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: netdev@...r.kernel.org
Cc: Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vivien Didelot <vivien.didelot@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Vladimir Oltean <olteanv@...il.com>,
Tobias Waldekranz <tobias@...dekranz.com>,
Marek Behún <kabel@...nel.org>,
Ansuel Smith <ansuelsmth@...il.com>,
DENG Qingfang <dqfext@...il.com>,
Alvin Šipraga <alsi@...g-olufsen.dk>,
Claudiu Manoil <claudiu.manoil@....com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
UNGLinuxDriver@...rochip.com,
Colin Foster <colin.foster@...advantage.com>,
Linus Walleij <linus.walleij@...aro.org>,
Luiz Angelo Daros de Luca <luizluca@...il.com>
Subject: [PATCH v2 net-next 0/8] DSA changes for multiple CPU ports (part 1)
I am trying to enable the second internal port pair from the NXP LS1028A
Felix switch for DSA-tagged traffic via "ocelot-8021q". This series
represents part 1 (of an unknown number) of that effort.
It does some preparation work, like managing host flooding in DSA via a
dedicated method, and removing the CPU port as argument from the tagging
protocol change procedure.
In terms of driver-specific changes, it reworks the 2 tag protocol
implementations in the Felix driver to have a structured data format.
It enables host flooding towards all tag_8021q CPU ports. It dynamically
updates the tag_8021q CPU port used for traps. It also fixes a bug
introduced by a previous refactoring/oversimplification commit in
net-next.
Vladimir Oltean (8):
net: dsa: felix: program host FDB entries towards PGID_CPU for
tag_8021q too
net: dsa: felix: bring the NPI port indirection for host MDBs to
surface
net: dsa: felix: bring the NPI port indirection for host flooding to
surface
net: dsa: introduce the dsa_cpu_ports() helper
net: dsa: felix: manage host flooding using a specific driver callback
net: dsa: remove port argument from ->change_tag_protocol()
net: dsa: felix: dynamically determine tag_8021q CPU port for traps
net: dsa: felix: reimplement tagging protocol change with function
pointers
drivers/net/dsa/mv88e6xxx/chip.c | 22 +-
drivers/net/dsa/ocelot/felix.c | 469 +++++++++++++++-------------
drivers/net/dsa/ocelot/felix.h | 16 +
drivers/net/dsa/realtek/rtl8365mb.c | 2 +-
drivers/net/ethernet/mscc/ocelot.c | 16 +-
include/net/dsa.h | 19 +-
net/dsa/dsa2.c | 18 +-
net/dsa/dsa_priv.h | 1 +
net/dsa/port.c | 8 +
net/dsa/slave.c | 36 +--
net/dsa/switch.c | 10 +-
11 files changed, 337 insertions(+), 280 deletions(-)
--
2.25.1
Powered by blists - more mailing lists