path: root/net/sched/sch_fq_codel.c
diff options
authorMichal Kazior <michal.kazior@tieto.com>2016-04-22 14:15:59 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-25 16:44:27 -0400
commitd068ca2ae2e614b9a418fb3b5f1fd4cf996ff032 (patch)
tree4ac7b0884a377dffb3bbb9aa0c301b0babb0ccd1 /net/sched/sch_fq_codel.c
parentcodel: generalize the implementation (diff)
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>
Diffstat (limited to 'net/sched/sch_fq_codel.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sched/sch_fq_codel.c b/net/sched/sch_fq_codel.c
index dcf7266e6901..a5e420b3d4ab 100644
--- a/net/sched/sch_fq_codel.c
+++ b/net/sched/sch_fq_codel.c
@@ -24,6 +24,8 @@
#include <net/netlink.h>
#include <net/pkt_sched.h>
#include <net/codel.h>
+#include <net/codel_impl.h>
+#include <net/codel_qdisc.h>
/* Fair Queue CoDel.