Re: [PATCH bpf-next 4/4] bpf/selftests: add simple selftest for bpf_smc_ops

D. Wythe
2024-10-24T05:49:41Z

On 10/24/24 12:49 PM, Tianchen Ding wrote:
> On 2024/10/24 12:04, D. Wythe wrote:
>>
>>
>> On 10/24/24 10:42 AM, D. Wythe wrote:
>>> From: "D. Wythe" <alibuda@linux.alibaba.com>
>>>
>>> This PATCH adds a tiny selftest for bpf_smc_ops, to verify the ability
>>> to attach and write access.
>>>
>>> Follow the steps below to run this test.
>>>
>>> make -C tools/testing/selftests/bpf
>>> cd tools/testing/selftests/bpf
>>> sudo ./test_progs -t smc
>>>
>>> Results shows:
>>> Summary: 1/1 PASSED, 0 SKIPPED, 0 FAILED
>>
>>
>> Sorry for just found an issue with vary config. I will fix this issues
>> in the next version.
>>
>> D. Wythe
>
> This doesn't build with !CONFIG_SMC.
>
> Maybe you should create an individual dir. (like what sched_ext does)

It's true, I do intend to create an individual dir, and send the patches for
BPF and SMC separately. Thanks for your advises.

Best wishes,
D. Wythe