Add hw offload of TC police on MSCC ocelot
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest1 patch 1 replyApplied
- v21 patch 2 repliesSuperseded
- v13 patches 9 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | net: mscc: ocelot: Implement port policers via tc commanddrivers/ drivers/ drivers/ +4 more | +460 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH net-next v3 0/1] Add hw offload of TC police on MSCC ocelot
This patch series enables hardware offload of ingress port policing on the MSCC ocelot board.
Changes v2 -> v3:
v3 now incorporates the following changes suggested by Jakub Kicinski:
- Add a check in ndo_set_features() in order to prevent users to clear the NETIF_F_HW_TC flag while offload is active.
- Reject the offload if the block is shared.
Changes v1 -> v2:
v2 now consists of only one patch: "[PATCH net-next v2 1/1] net: mscc:
ocelot: Implement port policers via tc command".
The patch, "[PATCH net-next 00/13] net: act_police offload support", from Jakub Kicinski, removed the need for this patch:
"[PATCH net-next 1/3] net/sched: act_police: move police parameters".
Alexandre Belloni asked me to remove patch,
"[PATCH net-next 3/3] MIPS: generic: Add police related options to ocelot_defconfig", from the series and instead send it through the MIPS tree and I will do that.
The remaining patch is now the only patch in this series and all suggested changes have been incorporated.
Joergen Andreasen (1):
net: mscc: ocelot: Implement port policers via tc command
drivers/net/ethernet/mscc/Makefile | 2 +- drivers/net/ethernet/mscc/ocelot.c | 13 +- drivers/net/ethernet/mscc/ocelot.h | 3 + drivers/net/ethernet/mscc/ocelot_police.c | 227 ++++++++++++++++++++++ drivers/net/ethernet/mscc/ocelot_police.h | 22 +++ drivers/net/ethernet/mscc/ocelot_tc.c | 174 +++++++++++++++++ drivers/net/ethernet/mscc/ocelot_tc.h | 22 +++ 7 files changed, 460 insertions(+), 3 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
Signature · 1 line
2.17.1