---
title: "What XDP gives up"
---

> Documentation Index
> Fetch the complete documentation index at: https://example.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What XDP gives up

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).

> **Watch out:** Because XDP only sees ingress, capturing both halves of a conversation on a pod interface requires pairing XDP ingress with TC egress—or using TC on both.

Source: https://example.com/ebpf-field-guide/networking-and-packet-path/networking-hooks/xdp-limits/index.mdx
