Skip to content

What XDP gives up

Step 3 of 9Trade-off
EGRESS
none
METADATA
minimal
MODES
native/generic
OFFLOAD
SmartNIC
  • ingress frame
  • egress / socket
  • XDP drop / redirect
XDP, TC & Socket Hooks, step 3 of 9

Speed comes with blinders: XDP runs on ingress only and has no socket, cgroup, or conntrack context. You only see the raw Ethernet frame.

XDP also has three driver modes: native (in driver, fastest), offloaded (on SmartNIC hardware), and generic (fallback after sk_buff allocation—convenient for virtual interfaces, slower than native).

Type to search…

↑↓ navigate↵ selectEsc close