Kmod-nft-offload

While the kernel already supports NETDEV_OFFLOAD for nftables , not all distributions build it into the kernel. This module provides a – no need to recompile your kernel. Just modprobe kmod-nft-offload and offload is ready.

kmod-nft-offload is a Linux kernel module that enables for nftables rulesets. It works by offloading flow rules to network devices that support flow block offloading (e.g., certain SmartNICs, switchdev drivers, or SoC ethernet controllers). kmod-nft-offload

Testing environment: AMD EPYC 7302, Mellanox ConnectX-6 Dx, kernel 6.1. Mellanox ConnectX-6 Dx

ethtool -k eth0 | grep hw-tc-offload # Must show "on" kmod-nft-offload