[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170414173030.2853860-1-kafai@fb.com>
Date: Fri, 14 Apr 2017 10:30:24 -0700
From: Martin KaFai Lau <kafai@...com>
To: <netdev@...r.kernel.org>
CC: Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>
Subject: [PATCH net-next 0/6] bpf: LRU performance and test-program improvements
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
Powered by blists - more mailing lists