diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2020-09-09 19:27:12 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-10 22:35:26 +0300 |
commit | 2f7de9865ba3cbfcf8b504f07154fdb6124176a4 (patch) | |
tree | 3960be828aa4e194fbc497e85e27d2049009ece2 /tools/bpf | |
parent | 0365351524d7560d8ed7a42801a15252c6c56f41 (diff) | |
download | linux-2f7de9865ba3cbfcf8b504f07154fdb6124176a4.tar.xz |
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
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions