diff options
author | Martin KaFai Lau <kafai@fb.com> | 2017-08-18 21:28:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-20 07:35:43 +0300 |
commit | ad17d0e6c708805bf9e6686eb747cc528b702e67 (patch) | |
tree | d6350b4b468bb9ca5ebb40f73758af26ec36082f /samples/bpf/bpf_load.h | |
parent | 96eabe7a40aa17e613cf3db2c742ee8b1fc764d0 (diff) | |
download | linux-ad17d0e6c708805bf9e6686eb747cc528b702e67.tar.xz |
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>
Diffstat (limited to 'samples/bpf/bpf_load.h')
-rw-r--r-- | samples/bpf/bpf_load.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/bpf/bpf_load.h b/samples/bpf/bpf_load.h index ca0563d04744..453e3226b4ce 100644 --- a/samples/bpf/bpf_load.h +++ b/samples/bpf/bpf_load.h @@ -13,6 +13,7 @@ struct bpf_map_def { unsigned int max_entries; unsigned int map_flags; unsigned int inner_map_idx; + unsigned int numa_node; }; struct bpf_map_data { |