summaryrefslogtreecommitdiff
path: root/staging/mops_tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'staging/mops_tools.c')
0 files changed, 0 insertions, 0 deletions
id'>1bf0ee12402d6dcd7667e799d7518d565e683743 parent2ee89fb9a942e250b5adb5535de4acca14bb7fa2 (diff)
bpf: Use bpf_map_update_elem() from the library
Replace bpf_map_update() with bpf_map_update_elem() calls. Signed-off-by: Mickaël Salaün <mic@digikod.net> Cc: Alexei Starovoitov <ast@fb.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat
-rw-r--r--tools/lib/bpf/bpf.c2
-rw-r--r--tools/lib/bpf/bpf.h2
-rw-r--r--tools/testing/selftests/bpf/bpf_sys.h13
-rw-r--r--tools/testing/selftests/bpf/test_lpm_map.c15
-rw-r--r--tools/testing/selftests/bpf/test_lru_map.c97
-rw-r--r--tools/testing/selftests/bpf/test_maps.c61
6 files changed, 99 insertions, 91 deletions
diff --git a/tools/lib/bpf/bpf.c b/tools/lib/bpf/bpf.c