Kmod-nft-offload

πŸ”§ kmod = kernel module πŸ”§ nft = nftables framework πŸ”§ offload = push work to hardware

table inet filter flowtable f hook ingress priority 0 devices = eth0, eth1 chain forward type filter hook forward priority 0; policy accept; ip protocol tcp, udp flow offload @f Use code with caution. When to Use It kmod-nft-offload

: All following packets in that conversation bypassed the King entirely. They zipped through the kingdom at lightning speed, handled by the strategist’s specialized shortcuts. The Result πŸ”§ kmod = kernel module πŸ”§ nft =

This module enables hardware or software flow offloading within the The Result This module enables hardware or software

: Significant reduction in CPU usage and higher throughput speeds. πŸ› οΈ Key Details : Kernel modules. Dependencies : It relies on kmod-nf-flow kmod-nft-nat to function correctly. Firewall Compatibility : It is a core component for , the modern -based firewall in OpenWrt. 🚦 When to Use (and When to Skip) kmod-nft-offload High-Speed Fiber Helps reach 1Gbps+ speeds on entry-level hardware. Old/Weak Hardware Offloading saves the limited CPU cycles for other tasks.

| Metric | Software nftables | With kmod-nft-offload | |--------|------------------|--------------------------| | PPS (64B packets) | ~1-2 Mpps | (hardware-dependent) | | CPU usage | 100% (one core) | ~0% for forwarded packets | | Latency | Microseconds | Nanoseconds (wire speed) |