The Power of Hardware Offloading: A Deep Dive into kmod-nft-offload
Further Reading:
Dependencies: To function correctly, it typically requires other kernel modules, including: kmod-nf-flow: Handles the core flow table logic. kmod-nft-offload
flow_offload infrastructure for nftablesflow_block_cb APIBy offloading nftables rules to hardware, kmod-nft-offload alleviates the CPU burden, allowing it to focus on more critical tasks. This results in improved network performance, characterized by increased throughput and reduced latency. The Power of Hardware Offloading: A Deep Dive
Users have reported significant speed differences depending on whether offloading is active. For example, on some hardware, enabling offload can increase speeds from ~200Mbps to over 600Mbps, though actual results depend heavily on your specific router hardware and firmware configuration. How to Use It Data centers : kmod-nft-offload can help data centers
TC_FLOWER or nft_offload support (e.g., mlx5_core, bnxt_en, dpaa2, netdevsim for testing)nftables ≥ 0.9.3To use nft-offload, you define a flowtable in your nftables configuration and associate it with a specific network interface.