diff options
author | Johan Almbladh <johan.almbladh@anyfinetworks.com> | 2021-09-14 12:18:40 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-09-28 10:26:29 +0300 |
commit | f536a7c80675e4875e50df9182881d7678e27651 (patch) | |
tree | 514fbff805632ee326ad383ad0202a07b0aa2b90 /lib/stmp_device.c | |
parent | f1517eb790f97c1326016eb164a33a64d4d4fb7a (diff) | |
download | linux-f536a7c80675e4875e50df9182881d7678e27651.tar.xz |
bpf/tests: Add more BPF_END byte order conversion tests
This patch adds tests of the high 32 bits of 64-bit BPF_END conversions.
It also adds a mirrored set of tests where the source bytes are reversed.
The MSB of each byte is now set on the high word instead, possibly
affecting sign-extension during conversion in a different way. Mainly
for JIT testing.
Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210914091842.4186267-13-johan.almbladh@anyfinetworks.com
Diffstat (limited to 'lib/stmp_device.c')
0 files changed, 0 insertions, 0 deletions