aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <[email protected]>2017-08-31 23:27:11 -0700
committerDavid S. Miller <[email protected]>2017-09-01 09:57:38 -0700
commit637cd8c312d8caf234821fd37238b8f956d9ab13 (patch)
treeb422830fb0c110f940499c839b3cb1e2f2ef1f67 /lib/mpi/mpi-cmp.c
parent08daaec742d170eabe7f8355c2f86fc8be166f10 (diff)
bpf: Add lru_hash_lookup performance test
Create a new case to test the LRU lookup performance. At the beginning, the LRU map is fully loaded (i.e. the number of keys is equal to map->max_entries). The lookup is done through key 0 to num_map_entries and then repeats from 0 again. This patch also creates an anonymous struct to properly name the test params in stress_lru_hmap_alloc() in map_perf_test_kern.c. Signed-off-by: Martin KaFai Lau <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions