bpf: Allow numa selection in INNER_LRU_HASH_PREALLOC test of map_perf_test
authorMartin KaFai Lau <kafai@fb.com>
Fri, 18 Aug 2017 18:28:01 +0000 (11:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Aug 2017 04:35:43 +0000 (21:35 -0700)
commitad17d0e6c708805bf9e6686eb747cc528b702e67
treed6350b4b468bb9ca5ebb40f73758af26ec36082f
parent96eabe7a40aa17e613cf3db2c742ee8b1fc764d0
bpf: Allow numa selection in INNER_LRU_HASH_PREALLOC test of map_perf_test

This patch makes the needed changes to allow each process of
the INNER_LRU_HASH_PREALLOC test to provide its numa node id
when creating the lru map.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/bpf_load.c
samples/bpf/bpf_load.h
samples/bpf/map_perf_test_kern.c
samples/bpf/map_perf_test_user.c
tools/include/uapi/linux/bpf.h
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h
tools/testing/selftests/bpf/bpf_helpers.h