[Cake] [RFC PATCH 3/3] Add support for building the new cake qdisc

Dave Taht dave at taht.net
Fri Nov 17 14:55:23 EST 2017



Toke Høiland-Jørgensen <toke at toke.dk> writes:

> Dave Taht <dave.taht at gmail.com> writes:
>
>> ---
>>  net/sched/Kconfig  | 11 +++++++++++
>>  net/sched/Makefile |  1 +
>>  2 files changed, 12 insertions(+)
>>
>> diff --git a/net/sched/Kconfig b/net/sched/Kconfig
>> index c03d86a..3ea22e5 100644
>> --- a/net/sched/Kconfig
>> +++ b/net/sched/Kconfig
>> @@ -284,6 +284,17 @@ config NET_SCH_FQ_CODEL
>>  
>>  	  If unsure, say N.
>>  
>> +config NET_SCH_CAKE
>> +	tristate "Common Applicatons Kept Enhanced (CAKE)"
>> +	help
>> +	  Say Y here if you want to use the CAKE
>> +	  packet scheduling algorithm.
>> +
>> +	  To compile this driver as a module, choose M here: the module
>> +	  will be called sch_cake.
>> +
>> +	  If unsure, say N.
>> +
>>  config NET_SCH_FQ
>>  	tristate "Fair Queue"
>>  	help
>> diff --git a/net/sched/Makefile b/net/sched/Makefile
>> index 5b63544..3a0743a 100644
>> --- a/net/sched/Makefile
>> +++ b/net/sched/Makefile
>> @@ -50,6 +50,7 @@ obj-$(CONFIG_NET_SCH_CHOKE)	+= sch_choke.o
>>  obj-$(CONFIG_NET_SCH_QFQ)	+= sch_qfq.o
>>  obj-$(CONFIG_NET_SCH_CODEL)	+= sch_codel.o
>>  obj-$(CONFIG_NET_SCH_FQ_CODEL)	+= sch_fq_codel.o
>> +obj-$(CONFIG_NET_SCH_FQ_CODEL)	+= sch_cake.o
>
> I read somewhere that copy/paste errors most often occur at the last
> line of a pasted piece of code...

Yep!

I did not necessarily intend these commits to work, I just wanted stuff
in a format I could *read*.

I'll fix in a v2.

My next mission, such as it is, is to go back to the last version of
pre-cobalt cake I understood, and try to compare the two.

>
> -Toke
> _______________________________________________
> Cake mailing list
> Cake at lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake


More information about the Cake mailing list