diff options
author | 2024-04-05 10:55:36 +0800 | |
---|---|---|
committer | 2024-04-05 10:31:18 -0700 | |
commit | fecb1597cc11a23f32faa90d70a199533871686a (patch) | |
tree | bcbe65991403b2834a860dd962a1a13083b06f75 /net/core | |
parent | bpf: allow invoking bpf_for_each_map_elem with different maps (diff) | |
download | wireguard-linux-fecb1597cc11a23f32faa90d70a199533871686a.tar.xz wireguard-linux-fecb1597cc11a23f32faa90d70a199533871686a.zip |
selftests/bpf: add test for bpf_for_each_map_elem() with different maps
A test is added for bpf_for_each_map_elem() with either an arraymap or a
hashmap.
$ tools/testing/selftests/bpf/test_progs -t for_each
#93/1 for_each/hash_map:OK
#93/2 for_each/array_map:OK
#93/3 for_each/write_map_key:OK
#93/4 for_each/multi_maps:OK
#93 for_each:OK
Summary: 1/4 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Philo Lu <lulie@linux.alibaba.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240405025536.18113-4-lulie@linux.alibaba.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions