high-performance network packet processing TC: traffic control by redirecting, filtering, or shaping network traffic socket_filter: filter packets at the socket layer, enabling custom packet filtering and processing for specific applications and much more!
processing framework in the Linux kernel Only ingress Runs on the packet data before any other processing can happen Filtering programs: drop malicious, unexpected traffic, DDOS protection mechanisms
a KVM guest (native XDP) - host over a tap: 1M UDP packets, plus a max-rate pktgen test The BPF programs cost the same. The saving is the kernel work XDP skips.