Skip to content

RFC net_sched: introduce eBPF based Qdisc

杨培灏 bpf netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 RFC Latest0 of 5 patches 0 repliesNew

Patches in v5 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [RFC Patch v5 0/5] net_sched: introduce eBPF based Qdisc
Quoted 1 line · sdf

I feel like this patch series (even rfc), should also have a good example

to show that bpf qdisc is on par and can be used to at least implement existing policies.

I recently build an example for the simplest pfifo qdisc based on Cong Wang's patches, see https://github.com/Forsworns/sch_bpf/
if you have interests. The sample is a little large, and involving modifications on libbpf, so I didn't attach it as a patch here.

I also run a micro-benchmark with iperf3, see
https://gist.github.com/Forsworns/71b70ed67d2ac53a4316bac862ce7d0f

I know it's unfair to evaluate the sch_bpf with pfifo, since sch_bpf is based on rbtree. But I think it a good example for other classiful and more complicated qdiscs. The pfifo is simple enough as a start :)