netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] Mirroring for Ocelot switches
@ 2022-03-16 20:41 Vladimir Oltean
  2022-03-16 20:41 ` [PATCH net-next 1/6] net: mscc: ocelot: refactor policer work out of ocelot_setup_tc_cls_matchall Vladimir Oltean
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Vladimir Oltean @ 2022-03-16 20:41 UTC (permalink / raw)
  To: netdev
  Cc: Jakub Kicinski, David S. Miller, Florian Fainelli, Andrew Lunn,
	Vivien Didelot, Vladimir Oltean, Claudiu Manoil,
	Alexandre Belloni, UNGLinuxDriver

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-18  1:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-16 20:41 [PATCH net-next 0/6] Mirroring for Ocelot switches Vladimir Oltean
2022-03-16 20:41 ` [PATCH net-next 1/6] net: mscc: ocelot: refactor policer work out of ocelot_setup_tc_cls_matchall Vladimir Oltean
2022-03-16 20:41 ` [PATCH net-next 2/6] net: mscc: ocelot: add port mirroring support using tc-matchall Vladimir Oltean
2022-03-16 20:41 ` [PATCH net-next 3/6] net: mscc: ocelot: establish functions for handling VCAP aux resources Vladimir Oltean
2022-03-16 20:41 ` [PATCH net-next 4/6] net: mscc: ocelot: offload per-flow mirroring using tc-mirred and VCAP IS2 Vladimir Oltean
2022-03-16 20:41 ` [PATCH net-next 5/6] net: dsa: pass extack to dsa_switch_ops :: port_mirror_add() Vladimir Oltean
2022-03-16 20:41 ` [PATCH net-next 6/6] net: dsa: felix: add port mirroring support Vladimir Oltean
2022-03-18  1:00 ` [PATCH net-next 0/6] Mirroring for Ocelot switches patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).