[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1559125580-6375-1-git-send-email-horatiu.vultur@microchip.com>
Date: Wed, 29 May 2019 12:26:18 +0200
From: Horatiu Vultur <horatiu.vultur@...rochip.com>
To: unlisted-recipients:; (no To-header on input)
CC: Horatiu Vultur <horatiu.vultur@...rochip.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
Rob Herring <robh+dt@...nel.org>,
"Mark Rutland" <mark.rutland@....com>,
Ralf Baechle <ralf@...ux-mips.org>,
"Paul Burton" <paul.burton@...s.com>,
James Hogan <jhogan@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
<linux-mips@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
Subject: [PATCH net-next v2 0/2] Add hw offload of TC flower on MSCC Ocelot
This patch series enables hardware offload for flower filter used in
traffic controller on MSCC Ocelot board.
The patch series is based on:
commit 1896ae827534 ("net: mscc: ocelot: Implement port policers via tc
command")
v1->v2 changes:
- when declaring variables use reverse christmas tree
CC: Alexandre Belloni <alexandre.belloni@...tlin.com>
CC: Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>
CC: Rob Herring <robh+dt@...nel.org>
CC: Mark Rutland <mark.rutland@....com>
CC: Ralf Baechle <ralf@...ux-mips.org>
CC: Paul Burton <paul.burton@...s.com>
CC: James Hogan <jhogan@...nel.org>
CC: "David S. Miller" <davem@...emloft.net>
CC: linux-mips@...r.kernel.org
CC: devicetree@...r.kernel.org
CC: linux-kernel@...r.kernel.org
CC: netdev@...r.kernel.org
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 | 777 ++++++++++++++++++++++++++++++
drivers/net/ethernet/mscc/ocelot_ace.h | 232 +++++++++
drivers/net/ethernet/mscc/ocelot_board.c | 1 +
drivers/net/ethernet/mscc/ocelot_flower.c | 360 ++++++++++++++
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, 1883 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
Powered by blists - more mailing lists