[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220316204144.2679277-1-vladimir.oltean@nxp.com>
Date: Wed, 16 Mar 2022 22:41:38 +0200
From: Vladimir Oltean <vladimir.oltean@....com>
To: netdev@...r.kernel.org
Cc: Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
Claudiu Manoil <claudiu.manoil@....com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
UNGLinuxDriver@...rochip.com
Subject: [PATCH net-next 0/6] Mirroring for Ocelot switches
This series adds support for tc-matchall (port-based) and tc-flower
(flow-based) offloading of the tc-mirred action. Support has been added
for both the ocelot switchdev driver and felix DSA driver.
Vladimir Oltean (6):
net: mscc: ocelot: refactor policer work out of
ocelot_setup_tc_cls_matchall
net: mscc: ocelot: add port mirroring support using tc-matchall
net: mscc: ocelot: establish functions for handling VCAP aux resources
net: mscc: ocelot: offload per-flow mirroring using tc-mirred and VCAP
IS2
net: dsa: pass extack to dsa_switch_ops :: port_mirror_add()
net: dsa: felix: add port mirroring support
drivers/net/dsa/b53/b53_common.c | 3 +-
drivers/net/dsa/b53/b53_priv.h | 3 +-
drivers/net/dsa/microchip/ksz8795.c | 2 +-
drivers/net/dsa/microchip/ksz9477.c | 2 +-
drivers/net/dsa/mt7530.c | 2 +-
drivers/net/dsa/mv88e6xxx/chip.c | 3 +-
drivers/net/dsa/ocelot/felix.c | 20 +++
drivers/net/dsa/qca8k.c | 2 +-
drivers/net/dsa/sja1105/sja1105_main.c | 2 +-
drivers/net/ethernet/mscc/ocelot.c | 76 +++++++++
drivers/net/ethernet/mscc/ocelot.h | 7 +-
drivers/net/ethernet/mscc/ocelot_flower.c | 21 +++
drivers/net/ethernet/mscc/ocelot_net.c | 183 +++++++++++++++++-----
drivers/net/ethernet/mscc/ocelot_vcap.c | 53 +++++--
include/net/dsa.h | 2 +-
include/soc/mscc/ocelot.h | 9 ++
include/soc/mscc/ocelot_vcap.h | 2 +
net/dsa/slave.c | 3 +-
18 files changed, 333 insertions(+), 62 deletions(-)
--
2.25.1
Powered by blists - more mailing lists