GSO/GRO offloads, with TCP+ECN and UDP support

This commit is contained in:
JackDoan
2026-04-17 10:25:05 -05:00
parent f95857b4c3
commit 5d35351437
60 changed files with 6915 additions and 283 deletions

11
cpupin_other.go Normal file
View File

@@ -0,0 +1,11 @@
//go:build !linux || android || e2e_testing
package nebula
// pinThreadToCPU is a no-op outside Linux: only Linux exposes a stable
// per-thread CPU affinity API and only Linux has XPS-driven TX ring
// selection in the first place. On every other platform there's nothing
// to fix here.
func pinThreadToCPU(_ int) error {
return nil
}