[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200503211035.19363-1-olteanv@gmail.com>
Date: Mon, 4 May 2020 00:10:29 +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@....com,
mingkai.hu@....com, christian.herber@....com,
claudiu.manoil@....com, vladimir.oltean@....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: 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
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 | 2 +
net/dsa/dsa_priv.h | 8 -
net/dsa/slave.c | 9 +
18 files changed, 1742 insertions(+), 52 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