Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9cd43c0

Browse files
Yonghong SongKernel Patches Daemon
Yonghong Song
authored and
Kernel Patches Daemon
committedMay 9, 2025·
selftests/bpf: Add two selftests for mprog API based cgroup progs
Two tests are added: - cgroup_mprog_opts, which mimics tc_opts.c ([1]). Both prog and link attach are tested. Some negative tests are also included. - cgroup_mprog_ordering, which actually runs the program with some mprog API flags. [1] https://github.com/torvalds/linux/blob/master/tools/testing/selftests/bpf/prog_tests/tc_opts.c Signed-off-by: Yonghong Song <[email protected]>
1 parent 71c7b2c commit 9cd43c0

File tree

3 files changed

+859
-0
lines changed

3 files changed

+859
-0
lines changed
 

0 commit comments

Comments
 (0)
Please sign in to comment.