CPU MAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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