mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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>