News for hackers. Stuff that matters.
Re:Vector Packet Processing by wmf on Tuesday November 21, 2023 @03:45PM (#38369812)
Moving packet processing into userspace means adding latency, including TLB pressure, in order to do the context switch.

This isn't the case because VPP polls the NIC from userspace and never enters the kernel. There are no context switches.

Re:Vector Packet Processing by vacuity on Tuesday November 21, 2023 @05:09PM (#38371075)
Is there something like an IOMMU to provide secure access to the NIC?
Re:Vector Packet Processing by ADSSDA on Tuesday November 21, 2023 @05:51PM (#38371657)
Yes, DPDK (which VPP is built on) heavily utilizes IOMMU to provide host protection.

https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html discusses it a bit.