Kmod-nft-offload ((full)) -
The Power of Hardware Offloading: A Deep Dive into kmod-nft-offload
Dependencies: Requires kernel, kmod-nf-flow, and kmod-nft-nat. kmod-nft-offload
Hardware Flow Offloading (HFO): On supported SoCs (System-on-Chips)—particularly those from MediaTek (like the MT7621 or Filogic series)—this module allows the firewall to hand off traffic processing to a dedicated Network Processing Unit (NPU). This can result in Gigabit speeds with near 0% CPU utilization. 3. Benefits and Trade-offs kmod-nft-offload - [OpenWrt Wiki] package The Power of Hardware Offloading: A Deep Dive
Verify
nft list ruleset | grep -i offload cat /proc/net/nf_flowtable # View hardware flows kmod-nft-offload
3. Architecture
The module acts as a bridge between the nftables ruleset and network driver’s flow table.
The Problem: The Kernel is the Bottleneck
To understand why kmod-nft-offload is revolutionary, consider standard packet processing:
Dependencies: It usually depends on kmod-nf-flow and specific hardware-supported drivers (like those for MediaTek or Rockchip SOCs). Implementation Methods