diff options
| author | Martin KaFai Lau <[email protected]> | 2017-04-14 17:30:25 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-04-17 17:55:52 +0000 |
| commit | 9746f85686849df107c899f34188f977e78154b0 (patch) | |
| tree | 4b09000b1bb3d34295fb15be02441e4c59cc9f1e /samples/bpf/map_perf_test_user.c | |
| parent | net: mvneta: fix failed to suspend if WOL is enabled (diff) | |
| download | kernel-9746f85686849df107c899f34188f977e78154b0.tar.gz kernel-9746f85686849df107c899f34188f977e78154b0.zip | |
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 <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'samples/bpf/map_perf_test_user.c')
0 files changed, 0 insertions, 0 deletions
