[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e8e0e6c2-52b8-4602-b146-7ab588c56f1a@linux.dev>
Date: Thu, 16 May 2024 18:07:52 -0700
From: Martin KaFai Lau <martin.lau@...ux.dev>
To: Amery Hung <ameryhung@...il.com>
Cc: Kui-Feng Lee <sinquersw@...il.com>, netdev@...r.kernel.org,
bpf@...r.kernel.org, yangpeihao@...u.edu.cn, daniel@...earbox.net,
andrii@...nel.org, martin.lau@...nel.org, toke@...hat.com, jhs@...atatu.com,
jiri@...nulli.us, sdf@...gle.com, xiyou.wangcong@...il.com,
yepeilin.cs@...il.com
Subject: Re: [RFC PATCH v8 02/20] selftests/bpf: Test referenced kptr
arguments of struct_ops programs
On 5/16/24 5:54 PM, Amery Hung wrote:
>> The part that no skb acquire kfunc should be available to the qdisc struct_ops
>> prog is understood. I think it just needs to clarify the commit message and
>> remove the "It must be released and cannot be acquired more than once" part.
>>
> Got it. I will improve the clarity of the commit message.
>
> In addition, I will also remove "struct_ops_ref_acquire_dup_ref.c" as
> whether duplicate references can be acquired through kfunc is out of
> scope (should be taken care of by struct_ops implementer). Actually,
> this testcase should load the and it does load...
>
> As for the name, do you have any thoughts?
Naming is hard... :(
May be just keep it short, just "__ref"?
Powered by blists - more mailing lists