[PATCH v1 net-next 0/6] net: ocelot: VCAP IS1 and ES0 support

From: Xiaoliang Yang
Date: Wed May 06 2020 - 03:53:51 EST


This series patches adds support for VCAP IS1 and ES0 module.

VCAP IS1 supports FLOW_ACTION_VLAN_MANGLE action to filter MAC, IP,
VLAN, protocol, and TCP/UDP ports keys and retag vlan tag.

VCAP ES0 supports FLOW_ACTION_VLAN_PUSH action to filter vlan keys
and push a specific vlan tag to frames.

Vladimir Oltean (3):
net: mscc: ocelot: introduce a new ocelot_target_{read,write} API
net: mscc: ocelot: generalize existing code for VCAP IS2
net: dsa: tag_ocelot: use VLAN information from tagging header when
available

Xiaoliang Yang (3):
net: mscc: ocelot: change vcap to be compatible with full and quad
entry
net: mscc: ocelot: VCAP IS1 support
net: mscc: ocelot: VCAP ES0 support

drivers/net/dsa/ocelot/felix.c | 2 -
drivers/net/dsa/ocelot/felix.h | 2 -
drivers/net/dsa/ocelot/felix_vsc9959.c | 186 +++++-
drivers/net/ethernet/mscc/ocelot.c | 10 +
drivers/net/ethernet/mscc/ocelot_ace.c | 727 ++++++++++++++++------
drivers/net/ethernet/mscc/ocelot_ace.h | 12 +
drivers/net/ethernet/mscc/ocelot_board.c | 5 +-
drivers/net/ethernet/mscc/ocelot_flower.c | 33 +-
drivers/net/ethernet/mscc/ocelot_io.c | 17 +
drivers/net/ethernet/mscc/ocelot_regs.c | 21 +-
drivers/net/ethernet/mscc/ocelot_s2.h | 64 --
include/soc/mscc/ocelot.h | 39 +-
include/soc/mscc/ocelot_vcap.h | 200 +++++-
net/dsa/tag_ocelot.c | 29 +
14 files changed, 1041 insertions(+), 306 deletions(-)
delete mode 100644 drivers/net/ethernet/mscc/ocelot_s2.h

--
2.17.1