diff options
| author | 2017-03-22 10:00:35 -0700 | |
|---|---|---|
| committer | 2017-03-22 15:45:45 -0700 | |
| commit | fb30d4b71214aa1811e997f8f753b14b46d5b912 (patch) | |
| tree | a546eefbd355792aa544c0f220b38bab4493b1aa /samples/bpf/bpf_helpers.h | |
| parent | bpf: Add hash of maps support (diff) | |
| download | linux-dev-fb30d4b71214aa1811e997f8f753b14b46d5b912.tar.xz linux-dev-fb30d4b71214aa1811e997f8f753b14b46d5b912.zip | |
bpf: Add tests for map-in-map
Test cases for array of maps and hash of maps.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/bpf_helpers.h')
| -rw-r--r-- | samples/bpf/bpf_helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/bpf/bpf_helpers.h b/samples/bpf/bpf_helpers.h index faaffe2e139a..52de9d88c021 100644 --- a/samples/bpf/bpf_helpers.h +++ b/samples/bpf/bpf_helpers.h @@ -80,6 +80,7 @@ struct bpf_map_def { unsigned int value_size; unsigned int max_entries; unsigned int map_flags; + unsigned int inner_map_idx; }; static int (*bpf_skb_load_bytes)(void *ctx, int off, void *to, int len) = |
