Re: [RFC Patch net-next] net_sched: introduce eBPF based Qdisc
From: Cong Wang <hidden>
Date: 2021-09-01 04:39:15
Also in:
bpf
From: Cong Wang <hidden>
Date: 2021-09-01 04:39:15
Also in:
bpf
On Tue, Aug 24, 2021 at 4:47 PM Martin KaFai Lau [off-list ref] wrote:
Please explain more on this. What is currently missing to make qdisc in struct_ops possible?
I think you misunderstand this point. The reason why I avoid it is _not_ anything is missing, quite oppositely, it is because it requires a lot of work to implement a Qdisc with struct_ops approach, literally all those struct Qdisc_ops (not to mention struct Qdisc_class_ops). WIth current approach, programmers only need to implement two eBPF programs (enqueue and dequeue). Thanks.