4 ms·
What is being asked for already exists? It is called Onload. https://github.com/Xilinx-CNS/onload https://github.com/Xilinx-CNS/onload
by kd913 2y ago
What is being asked for already exists? It is called Onload.
https://github.com/Xilinx-CNS/onload https://github.com/Xilinx-CNS/onload
- a-dub 2y agoit 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...
- gpderetta 2y agoAside 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.
- a-dub 2y agointeresting, 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.