diff options
author | 2021-08-09 11:18:20 +0200 | |
---|---|---|
committer | 2021-08-10 11:33:05 +0200 | |
commit | 0f2fca1ab18319dcb47f6b15b7c5d3f29da84b6d (patch) | |
tree | f8b9ccac1e0fecf806251913454e6a78885d4c4c /net/sched/cls_api.c | |
parent | bpf, tests: Add more tests of ALU32 and ALU64 bitwise operations (diff) | |
download | linux-rng-0f2fca1ab18319dcb47f6b15b7c5d3f29da84b6d.tar.xz linux-rng-0f2fca1ab18319dcb47f6b15b7c5d3f29da84b6d.zip |
bpf, tests: Add more ALU32 tests for BPF_LSH/RSH/ARSH
This patch adds more tests of ALU32 shift operations BPF_LSH and BPF_RSH,
including the special case of a zero immediate. Also add corresponding
BPF_ARSH tests which were missing for ALU32.
Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210809091829.810076-6-johan.almbladh@anyfinetworks.com
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions