[PATCH net-next 0/2] Add hw offload of TC flower on MSCC Ocelot
From: Horatiu Vultur
Date: Mon May 27 2019 - 04:20:32 EST
This patch series enables hardware offload for flower filter used in
traffic controller on MSCC Ocelot board.
The patch series is based on:
commit 6ab1f192dcb4 ("net: mscc: ocelot: Implement port policers via tc
command")
CC: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
CC: Microchip Linux Driver Support <UNGLinuxDriver@xxxxxxxxxxxxx>
CC: Rob Herring <robh+dt@xxxxxxxxxx>
CC: Mark Rutland <mark.rutland@xxxxxxx>
CC: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
CC: Paul Burton <paul.burton@xxxxxxxx>
CC: James Hogan <jhogan@xxxxxxxxxx>
CC: "David S. Miller" <davem@xxxxxxxxxxxxx>
CC: linux-mips@xxxxxxxxxxxxxxx
CC: devicetree@xxxxxxxxxxxxxxx
CC: linux-kernel@xxxxxxxxxxxxxxx
CC: netdev@xxxxxxxxxxxxxxx
Horatiu Vultur (2):
net: mscc: ocelot: Add support for tcam
net: mscc: ocelot: Hardware ofload for tc flower filter
arch/mips/boot/dts/mscc/ocelot.dtsi | 5 +-
drivers/net/ethernet/mscc/Makefile | 2 +-
drivers/net/ethernet/mscc/ocelot.c | 13 +
drivers/net/ethernet/mscc/ocelot.h | 8 +
drivers/net/ethernet/mscc/ocelot_ace.c | 779 ++++++++++++++++++++++++++++++
drivers/net/ethernet/mscc/ocelot_ace.h | 232 +++++++++
drivers/net/ethernet/mscc/ocelot_board.c | 1 +
drivers/net/ethernet/mscc/ocelot_flower.c | 345 +++++++++++++
drivers/net/ethernet/mscc/ocelot_regs.c | 11 +
drivers/net/ethernet/mscc/ocelot_s2.h | 64 +++
drivers/net/ethernet/mscc/ocelot_tc.c | 16 +-
drivers/net/ethernet/mscc/ocelot_vcap.h | 403 ++++++++++++++++
12 files changed, 1870 insertions(+), 9 deletions(-)
create mode 100644 drivers/net/ethernet/mscc/ocelot_ace.c
create mode 100644 drivers/net/ethernet/mscc/ocelot_ace.h
create mode 100644 drivers/net/ethernet/mscc/ocelot_flower.c
create mode 100644 drivers/net/ethernet/mscc/ocelot_s2.h
create mode 100644 drivers/net/ethernet/mscc/ocelot_vcap.h
--
2.7.4