aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/helpers.c
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2023-07-27 18:12:13 -0700
committerAlexei Starovoitov <ast@kernel.org>2023-07-27 18:52:33 -0700
commit0845c3db7bf5c4ceb7100bcd8fd594d9ccf3c29a (patch)
treef60e9cb2004b103c0ab01257bdb9952d06df292d /kernel/bpf/helpers.c
parentbpf: Handle sign-extenstin ctx member accesses (diff)
downloadlinux-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