diff options
author | 2018-05-18 12:12:10 -0700 | |
---|---|---|
committer | 2018-05-18 21:35:55 +0200 | |
commit | f43d0f17fe9a4bb770ab38b36e2b5150d8c3d6cf (patch) | |
tree | 8181906f9bec541e5f0bfe8a35edf4e215f272f4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | nfp: bpf: support logic indirect shifts (BPF_[L|R]SH | BPF_X) (diff) | |
download | linux-dev-f43d0f17fe9a4bb770ab38b36e2b5150d8c3d6cf.tar.xz linux-dev-f43d0f17fe9a4bb770ab38b36e2b5150d8c3d6cf.zip |
nfp: bpf: support arithmetic right shift by constant (BPF_ARSH | BPF_K)
Code logic is similar with logic right shift except we also need to set
PREV_ALU result properly, the MSB of which is the bit that will be
replicated to fill in all the vacant positions.
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions