CPU MAP(9)
π¦ cpu map β section 9, Kernel API Manual π¦
okay bestie, this is the Kernel API Manual page for cpu map in section 9. lowkey a tiny page, highkey important. β¨
The cpumap is primarily used as a backend map for the XDP BPF helper call bpf_redirect_map and the XDP_REDIRECT action, like devmap. no cap. π
vibe check: itβs a redirect map, but for CPUs.
Unlike devmap, which redirects XDP frames out to another NIC device, this map type redirects raw XDP frames to another CPU. the remote CPU will do SKB-allocation and call the normal network stack. itβs giving redirect-but-make-it-CPU, iykyk. π«Ά
πΈ SEE ALSO πΈ
- Kernel file
./kernel/bpf/cpumap.c
mwah π β source/version ./kernel/bpf, dated October 2026. slay, periodt, thatβs the page. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms