DPDK
Poll Mode Driver
PMD 機制簡介
- igb_uio - It is an out-of-tree kernel module.
- vfio - It requires an IOMMU be present (though this should change in future kernels).
- uio_pci_generic - It requires the device have legacy interrupts, so won't work with virtual function devices.
Kernel NIC Interface
The KNI kernel loadable module rte_kni provides the kernel interface /dev/kni for DPDK applications to communicate with the kernel network protocal stack by DPDK KNI APIs.
/dev/kni is faster than existing Linux TUN/TAP interfaces (by eliminating system calls and copy_to_user()/copy_from_user() operations).
- Allows an interface /dev/kni with the kernel network protocal stack.
- Allows DPDK ports using standard Linux net tools such as ethtool, ifconfig and tcpdump.