commit | 2dc6b100f928aac8d7532bf7112d3f8d3f952bad | [log] [tgz] |
---|---|---|
author | Jiong Wang <jiong.wang@netronome.com> | Wed Dec 05 13:52:34 2018 -0500 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Dec 07 13:30:48 2018 -0800 |
tree | 82df75e8cd36345581032546c69813e07e26e475 | |
parent | 84708c1386770e957347d847522a4aac22ea04dc [diff] |
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 <jakub.kicinski@netronome.com> Signed-off-by: Jiong Wang <jiong.wang@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>