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

- From: D. Wythe \<alibuda@linux.alibaba.com\>
- Date: 2024-10-24 04:04:44 
- List: netdev
- Page: https://ratatoskr.run/netdev/2024/10/7916286
- Thread: https://ratatoskr.run/netdev/2024/10/7916279/t.md

```text


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