3 ms·
Hmm. Shouldn't the data packets arrive in kernel space at the beginning (in the HW driver, or if the driver is implemented in userspace, the PCIe-bus driver in
by mschuster91 11y ago
Hmm. Shouldn't the data packets arrive in kernel space at the beginning (in the HW driver, or if the driver is implemented in userspace, the PCIe-bus driver in the kernel) - thus making at least one context switch to userspace (with copying the packet, possibly) neccessary?
A full-kernel TCP/IP stack should not need to leave kernelspace or copy stuff around, except when passing control to the userland application.
- joshAg 11y agoThe idea is to allow user space direct access to the necessary buffers, so there's no user/system copying or context switching.