Re: [PATCH v2 net-next 6/6] bpf: Add tests for the LRU bpf_htab

2016-11-14 Thread Alexei Starovoitov
On Fri, Nov 11, 2016 at 10:55:11AM -0800, Martin KaFai Lau wrote: > This patch has some unit tests and a test_lru_dist. > > The test_lru_dist reads in the numeric keys from a file. > The files used here are generated by a modified fio-genzipf tool > originated from the fio test suit. The sample d

[PATCH v2 net-next 6/6] bpf: Add tests for the LRU bpf_htab

2016-11-11 Thread Martin KaFai Lau
This patch has some unit tests and a test_lru_dist. The test_lru_dist reads in the numeric keys from a file. The files used here are generated by a modified fio-genzipf tool originated from the fio test suit. The sample data file can be found here: https://github.com/iamkafai/bpf-lru The zipf.*