Files
bpfire/config/kernel
Vincent Li 61f117be83 linux: set CONFIG_ARCH_STRICT_ALIGN=n
set CONFIG_ARCH_STRICT_ALIGN=n to enable
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS. this
allows loading BPF program with unaligned memory
access generated by clang, see [0].

this change might cause BPF program fail to load
in loongarch CPU models that require strict aligned
memory access.

[0]: https://github.com/vincentmli/BPFire/issues/69

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
2025-01-02 10:04:17 -08:00
..