Skip to content

Commit 588205f

Browse files
Yonghong SongKernel Patches Daemon
Yonghong Song
authored and
Kernel Patches Daemon
committed
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 1ae06d7 commit 588205f

File tree

3 files changed

+724
-0
lines changed

3 files changed

+724
-0
lines changed

0 commit comments

Comments
 (0)