Searched hist:"2 f7de9865ba3cbfcf8b504f07154fdb6124176a4" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_sockmap.c | 2f7de9865ba3cbfcf8b504f07154fdb6124176a4 Wed Sep 09 11:27:12 CDT 2020 Lorenz Bauer <lmb@cloudflare.com> selftests: bpf: Test iterating a sockmap
Add a test that exercises a basic sockmap / sockhash iteration. For now we simply count the number of elements seen. Once sockmap update from iterators works we can extend this to perform a full copy.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200909162712.221874-4-lmb@cloudflare.com
|
H A D | bpf_iter.h | diff 2f7de9865ba3cbfcf8b504f07154fdb6124176a4 Wed Sep 09 11:27:12 CDT 2020 Lorenz Bauer <lmb@cloudflare.com> selftests: bpf: Test iterating a sockmap
Add a test that exercises a basic sockmap / sockhash iteration. For now we simply count the number of elements seen. Once sockmap update from iterators works we can extend this to perform a full copy.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200909162712.221874-4-lmb@cloudflare.com
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | diff 2f7de9865ba3cbfcf8b504f07154fdb6124176a4 Wed Sep 09 11:27:12 CDT 2020 Lorenz Bauer <lmb@cloudflare.com> selftests: bpf: Test iterating a sockmap
Add a test that exercises a basic sockmap / sockhash iteration. For now we simply count the number of elements seen. Once sockmap update from iterators works we can extend this to perform a full copy.
Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200909162712.221874-4-lmb@cloudflare.com
|