carta
bpftune-netns(8)

bpftune-netns8

Bpftune plugin for network namespace awareness

Overview

bpftune needs to be namespace-aware; when it receives events, they are tied to a specific netns cookie, and if we see an event in that netns we want to be able to auto-tune within it and not in the global network namespace.

On startup, the netns tuner iterates over the various sources of netns info to collate a list of network namespaces, and supplements this by watching for addition of network namespaces via BPF. Using this info, we can then maintain tuner state on a per-namespace basis.

Per-namespace support requires netns cookie support; running "bpftune -S" shows if this is present.

From bpftune 0.0~git20250314.8fd59cc-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.