From: Pete Heist <pete@heistp.net>
To: Dave Taht <dave.taht@gmail.com>
Cc: Cake List <cake@lists.bufferbloat.net>
Subject: Re: [Cake] fq_codel_fast
Date: Wed, 29 Aug 2018 10:12:17 +0200 [thread overview]
Message-ID: <3E647031-D865-41B1-9C3A-6D34DB291005@heistp.net> (raw)
In-Reply-To: <CAA93jw6z2-tKdBfQ0ygFDS2TY+k030=JyDdv6YaamOkXRnBbGg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 575 bytes --]
> On Aug 29, 2018, at 3:04 AM, Dave Taht <dave.taht@gmail.com> wrote:
>
> Anyway, this should be a drop in replacement (presently) for fq_codel,
> that compiles out of tree and rips out almost everything I don't like.
>
> https://github.com/dtaht/fq_codel_fast
Cool…I’d give it a quick run but it doesn’t compile for me (attached). Kernel version?
> I think the tc filter thing really hurt us in cake.
It would be interesting to see how much. Jon also expressed concern and I’d been meaning to try some benchmarks before and after that change…
[-- Attachment #2: fq_codel_fast_compile.txt --]
[-- Type: text/plain, Size: 2969 bytes --]
root@ubuntu:~/src/fq_codel_fast$ make
make -C /lib/modules/4.15.0-33-generic/build SUBDIRS=/root/src/fq_codel_fast modules LDFLAGS_MODULE="--build-id=0xa524fc2e39dc291199b9b04fb890ea1548f17641" CFLAGS_MODULE="-DCAKE_VERSION=\\\"a524fc2e39dc291199b9b04fb890ea1548f17641\\\""
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-33-generic'
CC [M] /root/src/fq_codel_fast/sch_fq_codel.o
/root/src/fq_codel_fast/sch_fq_codel.c: In function âfq_codel_initâ:
/root/src/fq_codel_fast/sch_fq_codel.c:444:8: error: too many arguments to function âtcf_block_getâ
err = tcf_block_get(&q->block, &q->filter_list, sch, extack);
^~~~~~~~~~~~~
In file included from /root/src/fq_codel_fast/sch_fq_codel.c:26:0:
./include/net/pkt_cls.h:41:5: note: declared here
int tcf_block_get(struct tcf_block **p_block,
^~~~~~~~~~~~~
/root/src/fq_codel_fast/sch_fq_codel.c:449:14: error: implicit declaration of function âkvcallocâ; did you mean âkvzallocâ? [-Werror=implicit-function-declaration]
q->flows = kvcalloc(FQ_FLOWS,
^~~~~~~~
kvzalloc
/root/src/fq_codel_fast/sch_fq_codel.c:449:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
q->flows = kvcalloc(FQ_FLOWS,
^
/root/src/fq_codel_fast/sch_fq_codel.c:456:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
q->backlogs = kvcalloc(FQ_FLOWS, sizeof(u32), GFP_KERNEL);
^
/root/src/fq_codel_fast/sch_fq_codel.c: At top level:
/root/src/fq_codel_fast/sch_fq_codel.c:652:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.tcf_block = fq_codel_tcf_block,
^~~~~~~~~~~~~~~~~~
/root/src/fq_codel_fast/sch_fq_codel.c:652:15: note: (near initialization for âfq_codel_class_ops.tcf_blockâ)
/root/src/fq_codel_fast/sch_fq_codel.c:667:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.init = fq_codel_init,
^~~~~~~~~~~~~
/root/src/fq_codel_fast/sch_fq_codel.c:667:11: note: (near initialization for âfq_codel_qdisc_ops.initâ)
/root/src/fq_codel_fast/sch_fq_codel.c:670:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.change = fq_codel_change,
^~~~~~~~~~~~~~~
/root/src/fq_codel_fast/sch_fq_codel.c:670:13: note: (near initialization for âfq_codel_qdisc_ops.changeâ)
cc1: some warnings being treated as errors
scripts/Makefile.build:339: recipe for target '/root/src/fq_codel_fast/sch_fq_codel.o' failed
make[2]: *** [/root/src/fq_codel_fast/sch_fq_codel.o] Error 1
Makefile:1552: recipe for target '_module_/root/src/fq_codel_fast' failed
make[1]: *** [_module_/root/src/fq_codel_fast] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-33-generic'
Makefile:8: recipe for target 'default' failed
make: *** [default] Error 2
next prev parent reply other threads:[~2018-08-29 8:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-29 1:04 Dave Taht
2018-08-29 8:12 ` Pete Heist [this message]
2018-08-29 14:23 ` Dave Taht
2018-08-30 18:24 ` Dave Taht
2018-09-06 17:10 ` Pete Heist
2018-09-06 17:22 ` Dave Taht
2018-09-06 17:25 ` Sebastian Moeller
2018-09-06 18:36 ` Pete Heist
2018-09-06 18:40 ` Dave Taht
2018-09-06 18:42 ` Sebastian Moeller
2018-09-06 19:08 ` Toke Høiland-Jørgensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E647031-D865-41B1-9C3A-6D34DB291005@heistp.net \
--to=pete@heistp.net \
--cc=cake@lists.bufferbloat.net \
--cc=dave.taht@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox