Skip to content

RFC : Kill NET_CLS_POLICE

Patrick McHardy netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5: sch_atm: Lindentnet/sched/sch_atm.c+232 -2360 replies
2/5: sch_atm: act_api supportnet/sched/sch_atm.c+14 -70 replies
3/5: sch_dsmark: act_api supportnet/sched/sch_dsmark.c+25 -160 replies
4/5: act_api: qdisc internal reclassify supportinclude/net/pkt_sched.h include/net/sch_generic.h net/sched/sch_api.c +3 more+73 -520 replies
5/5: Kill CONFIG_NET_CLS_POLICEinclude/net/act_api.h include/net/pkt_cls.h include/net/sch_generic.h +12 more+38 -4040 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC NET_SCHED 00/05]: Kill NET_CLS_POLICE

[This is a resend because of a typo in Jamal's address that I believe
made vger reject the mails. Appologies in case they arrive twice.]

These patches update the NET_CLS_ACT code to fully replace NET_CLS_POLICE and remove the old code. There is one incompatibility, please look at patch 4/5 for details.

 include/net/act_api.h     |   30 ---
 include/net/pkt_cls.h     |    8 -
 include/net/pkt_sched.h   |    4 +-
 include/net/sch_generic.h |    2 +-
 net/sched/Kconfig         |    8 +-
 net/sched/Makefile        |    1 -
 net/sched/act_police.c    |  246 ++----------------------
 net/sched/cls_api.c       |   40 ----
 net/sched/cls_u32.c       |    3 -
 net/sched/sch_api.c       |   67 ++++---
 net/sched/sch_atm.c       |  475 ++++++++++++++++++++++-----------------------
 net/sched/sch_cbq.c       |   48 ++---
 net/sched/sch_dsmark.c    |   34 ++--
 net/sched/sch_hfsc.c      |    3 -
 net/sched/sch_htb.c       |    3 -
 net/sched/sch_ingress.c   |   19 --
 net/sched/sch_tbf.c       |    2 +-
 17 files changed, 330 insertions(+), 663 deletions(-)

Patrick McHardy (5):
[NET_SCHED]: sch_atm: Lindent
[NET_SCHED]: sch_atm: act_api support [NET_SCHED]: sch_dsmark: act_api support [NET_SCHED]: act_api: qdisc internal reclassify support [NET_SCHED]: Kill CONFIG_NET_CLS_POLICE