diff options
author | Martin KaFai Lau <kafai@fb.com> | 2017-04-14 10:30:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-17 13:55:52 -0400 |
commit | bf8db5d243a103ccd3f6d82a110e2302608e248c (patch) | |
tree | 80e2505b50f17841299ae6273bcdbb4eeb04cc33 /samples/bpf/bpf_load.h | |
parent | 6467acbc70f011d5852f60f6e04825a268c8e8b0 (diff) | |
download | linux-bf8db5d243a103ccd3f6d82a110e2302608e248c.tar.gz linux-bf8db5d243a103ccd3f6d82a110e2302608e248c.tar.bz2 linux-bf8db5d243a103ccd3f6d82a110e2302608e248c.zip |
bpf: lru: Refactor LRU map tests in map_perf_test
One more LRU test will be added later in this patch series.
In this patch, we first move all existing LRU map tests into
a single syscall (connect) first so that the future new
LRU test can be added without hunting another syscall.
One of the map name is also changed from percpu_lru_hash_map
to nocommon_lru_hash_map to avoid the confusion with percpu_hash_map.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/bpf_load.h')
0 files changed, 0 insertions, 0 deletions