3 ms·
There is XDP.
by sanxiyn 4y ago
There is XDP.
- tptacek 4y agoXDP is kind of the opposite of this, right? It's moving userland code into the kernel.
- touisteur 4y agoXDP is a lot of stuff, but I think I have someone around using af_xdp to bypass the kernel network stack and for some (and the filtering and decision of which streams, is done through some ebpf iirc) packets deliver them directly into userland buffer-queues? DPDK also has an AF_XDP backend to bridge your classical DPDK app and AF_XDP sockets.
- tptacek 4y agoAh, that's true. AF_XDP is definitely similar to userland block device offload.
- stargrazer 4y agoyes, i think there is example code where io_ring is used to get blocks into and out of XDP/kernel.