tc-gate offload for SJA1105 DSA switch
Subsystems (2)
cover tc-gate offload for SJA1105 DSA switch
From: Vladimir Oltean <[email protected]>
Expose the TTEthernet hardware features of the switch using standard tc-flower actions: trap, drop, redirect and gate.
Vladimir Oltean (6):
net: dsa: introduce a dsa_port_from_netdev public helper
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
docs: net: dsa: sja1105: document intended usage of virtual links
Documentation/networking/dsa/sja1105.rst | 116 +++ 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 | 215 ++++- 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 | 796 ++++++++++++++++++ drivers/net/dsa/sja1105/sja1105_vl.h | 72 ++ include/net/dsa.h | 1 + net/dsa/dsa.c | 9 + 17 files changed, 1741 insertions(+), 44 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