PKT_SCHED: overall net/pkt_cls.h and net/pkt_sched.h cleanup
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | PKT_SCHED: linux/pkt_cls.h depends on linux/pkt_sched.hinclude/ | +2 | 0 replies | |
| 2/11 | PKT_SCHED: Add net/sch_generic.h with generic sched definitionsinclude/ | +175 | 0 replies | |
| 3/11 | PKT_SCHED: Remove obsolete definitions in pkt_cls.hinclude/ | +1 | 0 replies | |
| 4/11 | PKT_SCHED: Add net/act_api.h with public action/policer bitsinclude/ | +122 | 0 replies | |
| 5/11 | PKT_SCHED: Remove obsolete definitions in pkt_sched.hinclude/ | +1 | 0 replies | |
| 6/11 | PKT_SCHED: Transform prototypes to be externinclude/ | +18 | 0 replies | |
| 7/11 | PKT_SCHED: Move tc_classify from pkt_cls.h to sch_api.cinclude/ include/ net/ | +50 | 0 replies | |
| 8/11 | PKT_SCHED: psched_*_per_* can be staticnet/ | +2 | 0 replies | |
| 9/11 | PKT_SCHED: Cleanup cls_set_classinclude/ include/ net/ | +25 | 4 replies | |
| 10/11 | PKT_SCHED: Inline psched_tod_diffinclude/ net/ | +12 | 0 replies | |
| 11/11 | : PKT_SCHED: Use new header architectureinclude/ include/ net/ +8 more | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHSET 0/11] PKT_SCHED: overall net/pkt_cls.h and net/pkt_sched.h cleanup
Dave,
This patchset attempts to clean up the mess in net/pkt_sched.h and net/pkt_cls.h grown over the last years.
It introduces net/sch_generic.h containing all generic sch/cls bits and act_api.h containing pubic action/policer bits.
The current architecture which is basically to have net/pkt_sched.h include net/pkt_cls.h and everyone just including net/pkt_sched.h makes it impossible to add any generic classifer bits into pkt_cls.h and acted just like if we had put it into one big file.
Tested for nearly a week with various combinations of action/policer configurations.
See patch descriptions for more details.
Dave, Jamal: The only difference to the previous patchset is that it doesn't touch qdisc_tree_lock and qdisc_lookup anymore but let cls_api.c include net/pkt_sched.h which makes more sense. I splitted up the patches a bit more to improve readability for the review.