# Re: \[PATCH bpf-next 4/4\] bpf/selftests: add simple selftest for bpf\_smc\_ops

- From: Tianchen Ding \<hidden\>
- Date: 2024-10-24 04:49:25 
- List: netdev
- Page: https://ratatoskr.run/netdev/2024/10/7916291
- Thread: https://ratatoskr.run/netdev/2024/10/7916279/t.md

```text
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)
```
