diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2016-04-22 15:15:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-25 23:44:27 +0300 |
commit | d068ca2ae2e614b9a418fb3b5f1fd4cf996ff032 (patch) | |
tree | 4ac7b0884a377dffb3bbb9aa0c301b0babb0ccd1 /net/sched/sch_codel.c | |
parent | 79bdc4c862af7cf11a135a6fdf8093622043c862 (diff) | |
download | linux-d068ca2ae2e614b9a418fb3b5f1fd4cf996ff032.tar.xz |
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_codel.c')
-rw-r--r-- | net/sched/sch_codel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sched/sch_codel.c b/net/sched/sch_codel.c index 512a94abe351..dddf3bb65a32 100644 --- a/net/sched/sch_codel.c +++ b/net/sched/sch_codel.c @@ -49,6 +49,8 @@ #include <linux/prefetch.h> #include <net/pkt_sched.h> #include <net/codel.h> +#include <net/codel_impl.h> +#include <net/codel_qdisc.h> #define DEFAULT_CODEL_LIMIT 1000 |