feat(local-tun): disable receive checksum, improving performance

- ref #1923

Checksum running on receiving packets are the most significant cost of
CPU time in local-tun.
This commit is contained in:
zonyitoo
2025-03-26 00:36:35 +08:00
parent d0f83d7366
commit aac36757d4
3 changed files with 11 additions and 4 deletions

View File

@@ -185,6 +185,7 @@ smoltcp = { version = "0.12", optional = true, default-features = false, feature
"log",
"medium-ip",
"proto-ipv4",
"proto-ipv4-fragmentation",
"proto-ipv6",
"socket-icmp",
"socket-udp",