On Thu, Feb 25, 2021 at 1:36 AM Yonghong Song <yhs@xxxxxx> wrote: > > A test is added for arraymap and percpu arraymap. The test also > exercises the early return for the helper which does not > traverse all elements. > $ ./test_progs -n 45 > #45/1 hash_map:OK > #45/2 array_map:OK > #45 for_each:OK > Summary: 1/2 PASSED, 0 SKIPPED, 0 FAILED > > Signed-off-by: Yonghong Song <yhs@xxxxxx> > --- same question about "classifier/", but otherwise: Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > .../selftests/bpf/prog_tests/for_each.c | 58 ++++++++++++++++++ > .../bpf/progs/for_each_array_map_elem.c | 61 +++++++++++++++++++ > 2 files changed, 119 insertions(+) > create mode 100644 tools/testing/selftests/bpf/progs/for_each_array_map_elem.c > [...]