Hacker News new | ask | show | jobs
by kd913 570 days ago
What is being asked for already exists? It is called Onload.

https://github.com/Xilinx-CNS/onload

1 comments

it is my understanding that io_uring is the generalized open source implementation of this, although i do not think it bypasses the kernel fib trie like openonload does...
Aside for onload being open source, not really. AF_XDP is the generalized, hardware agnostic, version of kernel bypass.

In addition to bypass onload also provides a full IP/TCP user space stack and non-intrusive support for existing binaries using the standard BSD socket interface (incidentally onload also supports XDP now).

io_uring is really for asynchronous communication with the kernel.

interesting, didn't know that the networking stack had ring buffer infrastructure as well. (i don't think this af_xdp stuff existed when i was in this world)

the fib trie is the core of the ip stack - i was using it as proxy for total ip stack bypass.