[Cake] codel in ebpf?

Dave Taht dave.taht at gmail.com
Wed Aug 1 15:20:46 EDT 2018


On Wed, Aug 1, 2018 at 10:25 AM Dave Taht <dave.taht at gmail.com> wrote:
>
> I wonder if ebpf has opcode space for an invsqrt?

bpf_ktime_get_ns() exists...

one thing that I don't know if bpf can do is read/write the
skb->tstamp field. The plan would be to rigorously write it (if not
supplied by hw) on all ingress ports and check it on all egress ports.

That said, every time I've tried to do something in ebpf I hit a
limitation I'd not thunk of yet. For example, where can you attach the
egress filter?

My thought would be to use a bfifo > bpf -> bql, but from what little I
understand, it's bpf -> bfifo -> bql

-- 

Dave Täht
CEO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-669-226-2619


More information about the Cake mailing list