Files
openwrt-mirror/target/linux
Vincent Li ed5cefb037 loongarch64: backport kernel BPF trampoline
Enable xdp-loader to attach multiple XDP programs to a single interface by
backporting the BPF trampoline implementation from Linux kernel 6.17 to
6.12 for LoongArch64.

The xdp-loader utility relies on libxdp, which in turn requires kernel
support for BPF trampoline. While x86_64 and other architectures have
this feature, LoongArch64 only gained it in kernel 6.17. Without this
backport, xdp-loader fails on LoongArch64 systems running kernel 6.12.

Changes backported include:
- BPF trampoline infrastructure for LoongArch64
- Necessary JIT compiler updates
- Related BPF subsystem changes

This allows full compatibility with the xdp-tools ecosystem on LoongArch64
systems running older kernel versions.

Reference: https://github.com/xdp-project/xdp-tools/tree/main/lib/libxdp

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21077
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-12-08 18:52:19 +01:00
..
2025-12-02 23:32:42 +01:00
2025-11-25 00:01:11 +01:00
2025-11-22 10:11:52 +01:00
2025-07-20 23:37:37 +02:00
2025-12-03 23:28:43 +01:00
2025-05-24 16:15:53 +02:00
2025-11-22 10:16:35 +01:00
2025-11-30 20:18:08 +01:00
2025-11-26 17:21:14 +02:00
2025-12-02 23:32:42 +01:00
2025-11-28 09:47:39 +01:00
2025-11-20 21:30:26 +01:00
2025-10-22 14:56:15 +02:00
2025-06-12 12:42:15 +02:00
2025-12-02 22:51:19 +01:00
2025-11-25 17:27:24 +01:00