]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: sja1105: add static tables for virtual links
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 5 May 2020 19:20:53 +0000 (22:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 May 2020 00:31:57 +0000 (17:31 -0700)
commit9fec051c63a4582340d29d19f27e393e0f9df0ec
treea1c76a406358dea44c2064675bb72e4dbbf51815
parent184b88b464f57833ffe9601834b735adfd748e3c
net: dsa: sja1105: add static tables for virtual links

This patch adds the register definitions for the:
- VL Lookup Table
- VL Policing Table
- VL Forwarding Table
- VL Forwarding Parameters Table

These are needed in order to perform TTEthernet operations: QoS
classification, flow-based policing and/or frame redirecting with the
switch.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105.h
drivers/net/dsa/sja1105/sja1105_dynamic_config.c
drivers/net/dsa/sja1105/sja1105_static_config.c
drivers/net/dsa/sja1105/sja1105_static_config.h