Better HN
topnewbestaskshowjobs
Log inSign up

fdvfvf

2 karma · joined Jul 8, 2018 (8y ago) · 1 submissions

Submissions

comment 8y ago · link · parent

XDP can run in the driver in the "normal" mode, so it's on host CPU. But for some NICs like Netronome nfp, the kernel can JIT the BPF program into the instruction set for nfp and then run 'offloaded' on the card directly, so not even affecting host CPU in any way. See also here for a recent blog post: https://www.netronome.com/blog/bpf-ebpf-xdp-and-bpfilter-wha... So both is possible, but even with XDP running on host CPU like in Cloudflare case above you get excellent performance numbers.