diff options
| author | Paul Chaignon <paul.chaignon@gmail.com> | 2020-02-15 20:58:44 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-02-16 10:22:29 +0100 |
| commit | cf9142006bfa242d2bbf5916749e42327103f803 (patch) | |
| tree | 210b72a3a4cdd628d50671b1a46e288b04aaeb65 /sys/linux/bpf_arm.const | |
| parent | 88f115c9699ca2f4fe25e29c5f97691be179a8a3 (diff) | |
sys/linux: add map batch operations
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Diffstat (limited to 'sys/linux/bpf_arm.const')
| -rw-r--r-- | sys/linux/bpf_arm.const | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/linux/bpf_arm.const b/sys/linux/bpf_arm.const index 6036764b7..d91b35b66 100644 --- a/sys/linux/bpf_arm.const +++ b/sys/linux/bpf_arm.const @@ -78,12 +78,15 @@ BPF_LINE_INFO_SIZE = 16 BPF_LIRC_MODE2 = 16 BPF_LSH0 = 6 BPF_MAP_CREATE = 0 +BPF_MAP_DELETE_BATCH = 27 BPF_MAP_DELETE_ELEM = 3 BPF_MAP_FREEZE = 22 BPF_MAP_GET_FD_BY_ID = 14 BPF_MAP_GET_NEXT_ID = 12 BPF_MAP_GET_NEXT_KEY = 4 +BPF_MAP_LOOKUP_AND_DELETE_BATCH = 25 BPF_MAP_LOOKUP_AND_DELETE_ELEM = 21 +BPF_MAP_LOOKUP_BATCH = 24 BPF_MAP_LOOKUP_ELEM = 1 BPF_MAP_TYPE_ARRAY = 2 BPF_MAP_TYPE_ARRAY_OF_MAPS = 12 @@ -111,6 +114,7 @@ BPF_MAP_TYPE_STACK = 23 BPF_MAP_TYPE_STACK_TRACE = 7 BPF_MAP_TYPE_STRUCT_OPS = 26 BPF_MAP_TYPE_XSKMAP = 17 +BPF_MAP_UPDATE_BATCH = 26 BPF_MAP_UPDATE_ELEM = 2 BPF_MEM0 = 3 BPF_MOD0 = 9 |
