Re: [PATCH net-next 0/6] bpf: LRU performance and test-program improvements

2017-04-17 Thread David Miller
From: Martin KaFai Lau 
Date: Fri, 14 Apr 2017 10:30:24 -0700

> The first 4 patches make a few improvements to the LRU tests.
> 
> Patch 5/6 is to improve the performance of BPF_F_NO_COMMON_LRU map.
> 
> Patch 6/6 adds an example in using LRU map with map-in-map.

Series applied, thank you.


[PATCH net-next 0/6] bpf: LRU performance and test-program improvements

2017-04-14 Thread Martin KaFai Lau
The first 4 patches make a few improvements to the LRU tests.

Patch 5/6 is to improve the performance of BPF_F_NO_COMMON_LRU map.

Patch 6/6 adds an example in using LRU map with map-in-map.

Martin KaFai Lau (6):
  bpf: lru: Add test_lru_sanity6 for BPF_F_NO_COMMON_LRU
  bpf: lru: Cleanup test_lru_map.c
  bpf: lru: Refactor LRU map tests in map_perf_test
  bpf: Allow bpf sample programs (*_user.c) to change bpf_map_def
  bpf: lru: Lower the PERCPU_NR_SCANS from 16 to 4
  bpf: lru: Add map-in-map LRU example

 kernel/bpf/bpf_lru_list.c  |   2 +-
 samples/bpf/bpf_load.c | 114 ++---
 samples/bpf/bpf_load.h |  13 ++
 samples/bpf/map_perf_test_kern.c   |  75 +++--
 samples/bpf/map_perf_test_user.c   | 247 +
 tools/testing/selftests/bpf/test_lru_map.c | 104 
 6 files changed, 428 insertions(+), 127 deletions(-)

-- 
2.9.3