diff options
author | Martin KaFai Lau <kafai@fb.com> | 2017-04-14 10:30:25 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-17 13:55:52 -0400 |
commit | 9746f85686849df107c899f34188f977e78154b0 (patch) | |
tree | 4b09000b1bb3d34295fb15be02441e4c59cc9f1e /samples/bpf/map_perf_test_user.c | |
parent | 82960fff09bc394e2a33d5369969410699c04861 (diff) | |
download | linux-9746f85686849df107c899f34188f977e78154b0.tar.gz linux-9746f85686849df107c899f34188f977e78154b0.tar.xz |
bpf: lru: Add test_lru_sanity6 for BPF_F_NO_COMMON_LRU
test_lru_sanity3 is not applicable to BPF_F_NO_COMMON_LRU.
It just happens to work when PERCPU_FREE_TARGET == 16.
This patch:
1) Disable test_lru_sanity3 for BPF_F_NO_COMMON_LRU
2) Add test_lru_sanity6 to test list rotation for
the BPF_F_NO_COMMON_LRU 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/map_perf_test_user.c')
0 files changed, 0 insertions, 0 deletions