PDI

Packet Detection Information

Protocol →
Introduced in Rel-14

PDI is the set of rules and information used by the UPF or PGW to identify packets for a specific service data flow, enabling traffic steering and policy enforcement in the Packet Forwarding Control Protocol.

Category
Protocol
Introduced
Rel-14
Where
Core Network › Evolved Packet Core
Specifications
1 specs
PDI Description Purpose Related Classification Detected Changes Specifications

Description

Packet Detection Information (PDI) is a fundamental data structure within the 3GPP Packet Forwarding Control Protocol (PFCP), specified primarily in TS 29.244. It is used in the interaction between the Control Plane (CP) function, such as the Session Management Function (SMF) in 5G or the Control Plane part of a Packet Gateway (PGW-C), and the User Plane (UP) function, such as the User Plane Function (UPF) or PGW-U. The PDI is part of a Packet Detection Rule (PDR), which is a complete rule instructing the UP function on how to process packets. The PDI component specifically defines the matching criteria for identifying packets that belong to a particular service data flow.

The PDI contains a list of Information Elements (IEs) that serve as filters. These can include a Source Interface (indicating whether the packet comes from the access side or core network side), network identifiers like the Source/Destination IP address and subnet mask, transport layer identifiers such as Source/Destination port numbers, and application-layer identifiers like the Protocol ID (next header type). In more advanced deployments, it can also include fields for deep packet inspection, such as application identifiers, Service Data Flow (SDF) filters, or even custom enterprise-specific rules. When a packet arrives at the UP function, its header and payload are parsed and compared against all active PDIs. If a match is found, the associated PDR dictates the subsequent actions: forwarding, dropping, buffering, duplicating, or applying Quality of Service (QoS) marking.

Architecturally, the PDI enables the separation of control and user plane, a cornerstone of modern 5G and evolved 4G cores. The control plane function, possessing the full policy context, creates PDIs and installs them via PFCP Session Establishment or Modification procedures. The user plane function then applies these rules at line rate, ensuring low-latency packet processing. The granularity offered by PDI is crucial for implementing network slicing, where different slices require distinct traffic handling. It also forms the basis for traffic detection in policy and charging control (PCC), allowing operators to apply specific charging rates, QoS policies, or gating decisions based on the detected application or service.

In operation, a single PDR contains one PDI but can trigger multiple subsequent actions (Forwarding Action Rules, QoS Enforcement Rules, Usage Reporting Rules). The PDI's matching is typically performed in a defined order of precedence across all installed PDRs. Its design allows for high flexibility and scalability, supporting everything from simple best-effort internet traffic to complex enterprise VPN services with specific security and low-latency requirements. The efficiency of PDI matching directly impacts the overall performance and capacity of the user plane node.

Purpose & Motivation

The creation of Packet Detection Information (PDI) was motivated by the need for a highly flexible, programmable, and standardized method to detect and classify user plane traffic in a control-user plane separated (CUPS) architecture. Prior to CUPS, traffic detection and policy enforcement were tightly integrated within monolithic network nodes like the GGSN or PGW, making it difficult to scale the user plane independently or introduce new services rapidly. The PDI, as part of the PFCP protocol, provides a clean, abstracted interface for the control plane to instruct the user plane on what traffic to look for.

It solves the critical problem of service-aware traffic handling in a high-throughput, low-latency environment. Without a structured detection mechanism like PDI, the user plane would be limited to basic routing based on IP addresses. PDI enables deep packet inspection and classification at the network edge, which is essential for implementing sophisticated policy and charging control (PCC), network slicing, edge computing offload, and parental controls. It allows operators to monetize different service qualities and ensure service level agreements (SLAs) are met.

Historically, traffic detection was embedded in proprietary implementations. Standardizing PDI within PFCP ensured multi-vendor interoperability between control and user plane functions. This was a key enabler for Network Function Virtualization (NFV) and cloud-native deployments, as it allowed operators to source CP and UP functions from different vendors and deploy them elastically. The PDI model, introduced in Release 14 alongside CUPS for the EPC, was later carried forward and enhanced in the 5G Core's Service-Based Architecture (SBA), proving its foundational role in modern packet core networks.

Classification

Part ofPDR
Related approachesFARQERURR

Release Timeline

Detected Changes Across Releases

from 3GPP Change Requests

Specific changes extracted from the „Change history“ tables of 3GPP specifications (3 CRs across 1 releases). Complements the general historical overview above with the evidence-based evolution of this function.

Rel-15 3 changes

In Release 15, the PDI (Packet Detection Information) was enhanced to optionally include QFI(s) for detecting traffic pertaining to specific 5G QoS flows. The release also introduced PDI optimisation, allowing the use of a Traffic Endpoint Identifier to efficiently identify the PFCP session, and provided essential clarifications on the provisioning of multiple SDF filters within a single PDI.

  • PDI optimisation TS 29.244CR0071
  • Adding QFIs to the Packet Detection Information TS 29.244CR0079
  • Essential clarification on the provision of several SDF filters in a PDI TS 29.244CR0134

Explore further

Broader topics and technologies where PDI plays a role.

Defining Specifications

3GPP specifications that define or reference PDI, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 29.244 vj40 PFCP Specification for Control/User Plane Separation Rel-19
Patrick Zandl

About the author: Patrick Zandl (b. 1974)

Telecommunications specialist, technology journalist (founder of the Mobil server), and developer who has been running since 2025 — the largest Czech-language resource on AI-assisted programming. Formerly Chief Wizard Architect at Prusa3D and head of development for Turris at CZ.NIC; currently a consultant and instructor on AI implementation in companies.