Re:Re: [PATCH] samples/bpf: Add sample usage for BPF_PROG_TYPE_NETFILTER

From: David Wang
Date: Tue Sep 05 2023 - 15:59:17 EST



At 2023-09-05 23:49:41, "Alexei Starovoitov" <alexei.starovoitov@xxxxxxxxx> wrote:
>On Tue, Sep 5, 2023 at 4:11 AM David Wang <00107082@xxxxxxx> wrote:

>> >
>> >Yes, but only in selftests/bpf.
>> >samples/bpf/ are not tested and bit rot heavily.
>>
>> Hi Alexei,
>>
>> I need to know whether samples/bpf is still a good place to put code.
>> I will put the code in another open source project for bpf samples, mentioned by Toke.
>> But I still want to put it in samples/bpf , since the code only compile/work with new kernel.
>>
>> Need your feedback on this, could this code be kept in samples/bpf? :)
>
>Sorry, but we don't accept new code to samples/bpf/.
>Everything in there will be moved/removed.
>If you want to stay in the kernel selftests/bpf is the only place and
>it's gotta be the real test and not just a sample.


Sad to hear this....
Anyway, thank you and all others who took time reviewing this.

David