diff options
author | Jiong Wang <jiong.wang@netronome.com> | 2019-01-26 20:25:59 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-01-27 00:33:01 +0300 |
commit | d405c7407a5468d4fc11724d76063e0647d80106 (patch) | |
tree | b3bbcb8825be07aed9a355ca289d08e5611cb307 /tools/include | |
parent | dbbd79ae166fbd37ceaef77a96b5a99cce0022c3 (diff) | |
download | linux-d405c7407a5468d4fc11724d76063e0647d80106.tar.xz |
bpf: allocate 0x06 to new eBPF instruction class JMP32
The new eBPF instruction class JMP32 uses the reserved class number 0x6.
Kernel BPF ISA documentation updated accordingly.
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/include')
-rw-r--r-- | tools/include/uapi/linux/bpf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index 2940a9854f6d..60b99b730a41 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -14,6 +14,7 @@ /* Extended instruction set based on top of classic BPF */ /* instruction classes */ +#define BPF_JMP32 0x06 /* jmp mode in word width */ #define BPF_ALU64 0x07 /* alu mode in double word width */ /* ld/ldx fields */ |