[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190502094029.22526-1-joergen.andreasen@microchip.com>
Date: Thu, 2 May 2019 11:40:26 +0200
From: Joergen Andreasen <joergen.andreasen@...rochip.com>
To: <netdev@...r.kernel.org>
CC: Joergen Andreasen <joergen.andreasen@...rochip.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Microchip Linux Driver Support <UNGLinuxDriver@...rochip.com>,
"David S. Miller" <davem@...emloft.net>,
Ralf Baechle <ralf@...ux-mips.org>,
"Paul Burton" <paul.burton@...s.com>,
James Hogan <jhogan@...nel.org>, <linux-mips@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH net-next 0/3] Add hw offload of TC police on MSCC ocelot
This patch series enables hardware offload of ingress port policing
on the MSCC ocelot board.
Joergen Andreasen (3):
net/sched: act_police: move police parameters into separate header
file
net: mscc: ocelot: Implement port policers via tc command
MIPS: generic: Add police related options to ocelot_defconfig
arch/mips/configs/generic/board-ocelot.config | 7 +
drivers/net/ethernet/mscc/Makefile | 2 +-
drivers/net/ethernet/mscc/ocelot.c | 6 +-
drivers/net/ethernet/mscc/ocelot.h | 3 +
drivers/net/ethernet/mscc/ocelot_police.c | 289 ++++++++++++++++++
drivers/net/ethernet/mscc/ocelot_police.h | 16 +
drivers/net/ethernet/mscc/ocelot_tc.c | 151 +++++++++
drivers/net/ethernet/mscc/ocelot_tc.h | 19 ++
include/net/tc_act/tc_police.h | 41 +++
net/sched/act_police.c | 27 +-
10 files changed, 532 insertions(+), 29 deletions(-)
create mode 100644 drivers/net/ethernet/mscc/ocelot_police.c
create mode 100644 drivers/net/ethernet/mscc/ocelot_police.h
create mode 100644 drivers/net/ethernet/mscc/ocelot_tc.c
create mode 100644 drivers/net/ethernet/mscc/ocelot_tc.h
create mode 100644 include/net/tc_act/tc_police.h
--
2.17.1
Powered by blists - more mailing lists