News for hackers. Stuff that matters.
Re:Why we use the Linux kernel's TCP stack by jsnell on Monday July 11, 2016 @11:39AM (#12071764)
SR-IOV is good for actual virtualization, but it's pretty clumsy for trying to create isolation within a single VM. For example:

- Every VF you create using SR-IOV will need to have a distinct MAC (and thus in practice different IP). But what you'd usually want for this use case is use the same IP for all apps, and do the split by destination port.

- Another consequence of the previos point is that all apps would need to include their own support for ARP, DHCP, etc. Doing it centralized doesn't really work.

- No promiscuous mode (at least on Intel NICs)m you only get traffic directed to one specific MAC address

Now, if you didn't try to use the virtualization support but just use the separate RX/TX queues, with something like the flow director for deciding what traffic gets sent to which queue, you'd get rid of the above problems. But then you end up with the issue that DPDK makes it very hard to have separate applications access the same NIC, even on different queues.

Re:Why we use the Linux kernel's TCP stack by peterwwillis on Monday July 11, 2016 @03:07PM (#12073468)
Use VPP for namespace-specific userland applications? https://wiki.fd.io/view/VPP/What_is_VPP%3F