Hi Eric > On 29 Dec 2022, at 17:57, Eric <evil.function@xxxxxxxxx> wrote: > > ------- Original Message ------- > On Thursday, December 29th, 2022 at 00:02, Martin Zaharinov <micron10@xxxxxxxxx> wrote: >> Kernel is 6.1.1 >> >> How to enablee hw offload is there need other config ? > > I'll make a guess that your kernel build config doesn't include the NFT_FLOW_OFFLOAD setting. The OpenWrt list has a couple of similar issues with dup and connlimit not being built in resulting in errors like yours, so it makes me suspect the same is going on here. > > Just for reference, here is a snippet from the current OpenWrt config (note specifically the last line that I've included) > https://github.com/openwrt/openwrt/blob/master/target/linux/generic/config-5.15#L4249-L4250 > All this Config is set to M in my config: > # CONFIG_NFT_CONNLIMIT is not set > # CONFIG_NFT_DUP_IPV4 is not set > # CONFIG_NFT_DUP_IPV6 is not set > # CONFIG_NFT_FIB_IPV4 is not set > # CONFIG_NFT_FIB_IPV6 is not set > # CONFIG_NFT_FIB_NETDEV is not set > # CONFIG_NFT_FLOW_OFFLOAD is not set > Software offload work and in conntrack -L i see : udp 17 src=10.44.211.121 dst=203.88.5.80 sport=14501 dport=4500 src=203.88.5.80 dst=122.50.224.117 sport=4500 dport=14501 [OFFLOAD] use=2 but when try to switch to HW offload with add flags offload , receive this error And in ethtool is set : ethtool -k eth0 hw-tc-offload: on Best regards, m. > Eric