Skip to content

RFC tc-gate offload for SJA1105 DSA switch

Vladimir Oltean netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: dsa: export dsa_slave_dev_check and dsa_slave_to_portinclude/net/dsa.h net/dsa/dsa_priv.h net/dsa/slave.c+11 -80 replies
2/5net: dsa: sja1105: add static tables for virtual linksdrivers/net/dsa/sja1105/sja1105.h drivers/net/dsa/sja1105/sja1105_dynamic_config.c drivers/net/dsa/sja1105/sja1105_static_config.c +1 more+318 -00 replies
3/5net: dsa: sja1105: make room for virtual link parsing in flower offloaddrivers/net/dsa/sja1105/sja1105.h drivers/net/dsa/sja1105/sja1105_flower.c+112 -270 replies
4/5net: dsa: sja1105: support flow-based redirection via virtual linksdrivers/net/dsa/sja1105/Kconfig drivers/net/dsa/sja1105/Makefile drivers/net/dsa/sja1105/sja1105.h +5 more+454 -60 replies
5/5net: dsa: sja1105: implement tc-gate using time-triggered virtual linksdrivers/net/dsa/sja1105/sja1105.h drivers/net/dsa/sja1105/sja1105_flower.c drivers/net/dsa/sja1105/sja1105_main.c +7 more+747 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/5] tc-gate offload for SJA1105 DSA switch

From: Vladimir Oltean <[email protected]>

This is a prototype implementation of tc-gate offload, implemented using Po Liu's patch series:

https://patchwork.ozlabs.org/project/netdev/cover/[email protected]/

Posting as RFC until the above is merged.

Vladimir Oltean (5):
net: dsa: export dsa_slave_dev_check and dsa_slave_to_port
net: dsa: sja1105: add static tables for virtual links
net: dsa: sja1105: make room for virtual link parsing in flower
offload
net: dsa: sja1105: support flow-based redirection via virtual links
net: dsa: sja1105: implement tc-gate using time-triggered virtual
links

 drivers/net/dsa/sja1105/Kconfig               |   9 +
 drivers/net/dsa/sja1105/Makefile              |   4 +
 drivers/net/dsa/sja1105/sja1105.h             |  59 +-
 .../net/dsa/sja1105/sja1105_dynamic_config.c  |  51 ++
 drivers/net/dsa/sja1105/sja1105_flower.c      | 207 ++++-
 drivers/net/dsa/sja1105/sja1105_main.c        |  13 +-
 drivers/net/dsa/sja1105/sja1105_ptp.h         |  13 +
 drivers/net/dsa/sja1105/sja1105_spi.c         |   2 +
 .../net/dsa/sja1105/sja1105_static_config.c   | 202 +++++
 .../net/dsa/sja1105/sja1105_static_config.h   |  65 ++
 drivers/net/dsa/sja1105/sja1105_tas.c         | 127 ++-
 drivers/net/dsa/sja1105/sja1105_tas.h         |  31 +
 drivers/net/dsa/sja1105/sja1105_vl.c          | 797 ++++++++++++++++++
 drivers/net/dsa/sja1105/sja1105_vl.h          |  72 ++
 .../net/ethernet/freescale/enetc/enetc_qos.c  |  17 +
 include/net/dsa.h                             |   2 +
 net/dsa/dsa_priv.h                            |   8 -
 net/dsa/slave.c                               |   9 +
 18 files changed, 1636 insertions(+), 52 deletions(-)
 create mode 100644 drivers/net/dsa/sja1105/sja1105_vl.c
 create mode 100644 drivers/net/dsa/sja1105/sja1105_vl.h
Signature · 1 line
2.17.1