[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <06c1d122-f145-4461-9597-13f5b45367b6@linux.dev>
Date: Thu, 9 Jan 2025 16:28:20 -0800
From: Martin KaFai Lau <martin.lau@...ux.dev>
To: Amery Hung <ameryhung@...il.com>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org, daniel@...earbox.net,
andrii@...nel.org, alexei.starovoitov@...il.com, martin.lau@...nel.org,
sinquersw@...il.com, toke@...hat.com, jhs@...atatu.com, jiri@...nulli.us,
stfomichev@...il.com, ekarani.silvestre@....ufcg.edu.br,
yangpeihao@...u.edu.cn, xiyou.wangcong@...il.com, yepeilin.cs@...il.com
Subject: Re: [PATCH bpf-next v2 05/14] bpf: net_sched: Support implementation
of Qdisc_ops in bpf
On 12/20/24 11:55 AM, Amery Hung wrote:
> +static const struct bpf_func_proto *
> +bpf_qdisc_get_func_proto(enum bpf_func_id func_id,
> + const struct bpf_prog *prog)
> +{
> + switch (func_id) {
> + case BPF_FUNC_tail_call:
Since it needs a respin, a comment will be useful here to explain why tail_call
is excluded.
> + return NULL;
> + default:
> + return bpf_base_func_proto(func_id, prog);
> + }
> +}
Powered by blists - more mailing lists