PR #3314 .
--------------
Next (from 25Jan RM call):
- How applications adopt to AF_XDP? (Now in text below)
- How could it work in virtualized environments? (Now in text below)
- How could it work on the same node with another app using DPDK/SR-IOV?
...
Figure X: AF_XDP architecture
Linux-native applications can open an AF_XDP socket to receive raw packets directly from the NIC, by using libbpf library functions to register a packet buffer area where packets will be located, and to create and bind the socket to a networking interface. DPDK-based applications can use AF_XDP Poll Mode Driver. VPP-based applications can use AF_XDP Device Driver.
In virtualized environments AF_XDP could be used as interface between guest Kernel and user space application, but still need SR-IOV or virtio to get traffic to the VM.
Chapter 5
Exposed Performance Optimisation Capabilities
...