aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorJiong Wang <[email protected]>2018-12-05 18:52:34 +0000
committerAlexei Starovoitov <[email protected]>2018-12-07 21:30:48 +0000
commit2dc6b100f928aac8d7532bf7112d3f8d3f952bad (patch)
tree82df75e8cd36345581032546c69813e07e26e475 /tools/bpf/bpftool/prog.c
parentnfp: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_* (diff)
downloadkernel-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