[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z89CvCM7B/Lvkq5K@pop-os.localdomain>
Date: Mon, 10 Mar 2025 12:51:24 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Amery Hung <ameryhung@...il.com>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org, daniel@...earbox.net,
andrii@...nel.org, alexei.starovoitov@...il.com,
martin.lau@...nel.org, kuba@...nel.org, edumazet@...gle.com,
cong.wang@...edance.com, jhs@...atatu.com, sinquersw@...il.com,
toke@...hat.com, jiri@...nulli.us, stfomichev@...il.com,
ekarani.silvestre@....ufcg.edu.br, yangpeihao@...u.edu.cn,
yepeilin.cs@...il.com, kernel-team@...a.com
Subject: Re: [PATCH bpf-next v4 08/19] bpf: net_sched: Support implementation
of Qdisc_ops in bpf
On Mon, Feb 10, 2025 at 09:43:22AM -0800, Amery Hung wrote:
> From: Amery Hung <amery.hung@...edance.com>
>
> Enable users to implement a classless qdisc using bpf. The last few
> patches in this series has prepared struct_ops to support core operators
> in Qdisc_ops. The recent advancement in bpf such as allocated
> objects, bpf list and bpf rbtree has also provided powerful and flexible
> building blocks to realize sophisticated scheduling algorithms. Therefore,
> in this patch, we start allowing qdisc to be implemented using bpf
> struct_ops. Users can implement Qdisc_ops.{enqueue, dequeue, init, reset,
> and .destroy in Qdisc_ops in bpf and register the qdisc dynamically into
> the kernel.
>
> Co-developed-by: Cong Wang <cong.wang@...edance.com>
> Signed-off-by: Cong Wang <cong.wang@...edance.com>
> Signed-off-by: Amery Hung <amery.hung@...edance.com>
Thanks for keeping updating this, Amery! It should be very close to be
merged. So acking this as TC maintainer:
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
I can't wait for trying it by myself too since it is now completely
different with my original code. ;-)
Regards,
Cong
Powered by blists - more mailing lists