diff options
| author | Jiong Wang <[email protected]> | 2018-12-05 18:52:34 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2018-12-07 21:30:48 +0000 |
| commit | 2dc6b100f928aac8d7532bf7112d3f8d3f952bad (patch) | |
| tree | 82df75e8cd36345581032546c69813e07e26e475 /tools/bpf/bpftool/prog.c | |
| parent | nfp: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_* (diff) | |
| download | kernel-2dc6b100f928aac8d7532bf7112d3f8d3f952bad.tar.gz kernel-2dc6b100f928aac8d7532bf7112d3f8d3f952bad.zip | |
bpf: interpreter support BPF_ALU | BPF_ARSH
This patch implements interpreting BPF_ALU | BPF_ARSH. Do arithmetic right
shift on low 32-bit sub-register, and zero the high 32 bits.
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Jiong Wang <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
