codel: split into multiple files
It was impossible to include codel.h for the purpose of having access to codel_params or codel_vars structure definitions and using them for embedding in other more complex structures. This splits allows codel.h itself to be treated like any other header file while codel_qdisc.h and codel_impl.h contain function definitions with logic that was previously in codel.h. This copies over copyrights and doesn't involve code changes other than adding a few additional include directives to net/sched/sch*codel.c. Signed-off-by:Michal Kazior <michal.kazior@tieto.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/codel.h 0 additions, 223 deletionsinclude/net/codel.h
- include/net/codel_impl.h 255 additions, 0 deletionsinclude/net/codel_impl.h
- include/net/codel_qdisc.h 73 additions, 0 deletionsinclude/net/codel_qdisc.h
- net/sched/sch_codel.c 2 additions, 0 deletionsnet/sched/sch_codel.c
- net/sched/sch_fq_codel.c 2 additions, 0 deletionsnet/sched/sch_fq_codel.c
include/net/codel_impl.h
0 → 100644
include/net/codel_qdisc.h
0 → 100644
Please register or sign in to comment