[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200504225648.23085-1-olteanv@gmail.com>
Date: Tue, 5 May 2020 01:56:42 +0300
From: Vladimir Oltean <olteanv@...il.com>
To: netdev@...r.kernel.org
Cc: andrew@...n.ch, f.fainelli@...il.com, vivien.didelot@...il.com,
vinicius.gomes@...el.com, po.liu@....com, xiaoliang.yang_1@....com,
mingkai.hu@....com, christian.herber@....com,
claudiu.manoil@....com, alexandru.marginean@....com,
vlad@...lov.dev, jiri@...lanox.com, idosch@...lanox.com,
kuba@...nel.org
Subject: [PATCH net-next 0/6] tc-gate offload for SJA1105 DSA switch
From: Vladimir Oltean <vladimir.oltean@....com>
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
--
2.17.1
Powered by blists - more mailing lists