summaryrefslogtreecommitdiffstats
path: root/tools/include/uapi/linux/bpf.h
diff options
context:
space:
mode:
authorJohn Fastabend2017-07-27 02:32:07 +0200
committerDavid S. Miller2017-07-29 23:13:20 +0200
commit81f6bf81270ce1052b5cd4d60b9edc40cd5ceefa (patch)
tree17a303f64acc325b3a4d5d4baa029ab11d532383 /tools/include/uapi/linux/bpf.h
parentMerge branch 'moxa-Fix-style-issues' (diff)
downloadkernel-qcow2-linux-81f6bf81270ce1052b5cd4d60b9edc40cd5ceefa.tar.gz
kernel-qcow2-linux-81f6bf81270ce1052b5cd4d60b9edc40cd5ceefa.tar.xz
kernel-qcow2-linux-81f6bf81270ce1052b5cd4d60b9edc40cd5ceefa.zip
bpf: testing: fix devmap tests
Apparently through one of my revisions of the initial patches series I lost the devmap test. We can add more testing later but for now lets fix the simple one we have. Fixes: 546ac1ffb70d "bpf: add devmap, a map for storing net device references" Reported-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/include/uapi/linux/bpf.h')
-rw-r--r--tools/include/uapi/linux/bpf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index ce2988be4f0e..1579cab49717 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -104,6 +104,7 @@ enum bpf_map_type {
BPF_MAP_TYPE_LPM_TRIE,
BPF_MAP_TYPE_ARRAY_OF_MAPS,
BPF_MAP_TYPE_HASH_OF_MAPS,
+ BPF_MAP_TYPE_DEVMAP,
};
enum bpf_prog_type {