diff options
author | 2023-07-27 18:12:13 -0700 | |
---|---|---|
committer | 2023-07-27 18:52:33 -0700 | |
commit | 0845c3db7bf5c4ceb7100bcd8fd594d9ccf3c29a (patch) | |
tree | f60e9cb2004b103c0ab01257bdb9952d06df292d /kernel/bpf/helpers.c | |
parent | bpf: Handle sign-extenstin ctx member accesses (diff) | |
download | linux-rng-0845c3db7bf5c4ceb7100bcd8fd594d9ccf3c29a.tar.xz linux-rng-0845c3db7bf5c4ceb7100bcd8fd594d9ccf3c29a.zip |
bpf: Support new unconditional bswap instruction
The existing 'be' and 'le' insns will do conditional bswap
depends on host endianness. This patch implements
unconditional bswap insns.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230728011213.3712808-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions