Re: [PATCH bpf-next 6/6] selftests/bpf: add test to measure performance of BPF_MAP_DUMP

2019-07-24 Thread Song Liu
On Wed, Jul 24, 2019 at 10:10 AM Brian Vazquez wrote: > > This tests compares the amount of time that takes to read an entire > table of 100K elements on a bpf hashmap using both BPF_MAP_DUMP and > BPF_MAP_GET_NEXT_KEY + BPF_MAP_LOOKUP_ELEM. > > Signed-off-by: Brian Vazquez > --- > tools/testing

[PATCH bpf-next 6/6] selftests/bpf: add test to measure performance of BPF_MAP_DUMP

2019-07-24 Thread Brian Vazquez
This tests compares the amount of time that takes to read an entire table of 100K elements on a bpf hashmap using both BPF_MAP_DUMP and BPF_MAP_GET_NEXT_KEY + BPF_MAP_LOOKUP_ELEM. Signed-off-by: Brian Vazquez --- tools/testing/selftests/bpf/test_maps.c | 65 + 1 file chan