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 05:49:41
Also in
bpf, linux-rdma, linux-s390
Reply to
Tianchen Ding, 2024-10-24

On 10/24/24 12:49 PM, Tianchen Ding wrote:
On 2024/10/24 12:04, D. Wythe wrote:
quoted

On 10/24/24 10:42 AM, D. Wythe wrote:
quoted
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

Thread (20 messages) 20 messages, 5 authors, last reply 2024-11-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help