Description
The QoS Flow Identifier (QFI) is a 6-bit field (values 0-63) that serves as the primary handle for QoS management in the 5G user plane. Defined extensively in 3GPP TS 23.501 (system architecture) and TS 38.415 (NG user plane protocol), a QoS Flow is the finest granularity of QoS differentiation in a 5G PDU Session. Each QoS Flow is characterized by a set of QoS parameters, such as 5G QoS Identifier (5QI), Allocation and Retention Priority (ARP), Guaranteed Flow Bit Rate (GFBR), and Maximum Flow Bit Rate (MFBR). The QFI uniquely tags all packets belonging to a specific QoS Flow between the User Plane Function (UPF) and the gNodeB (gNB).
Architecturally, the QFI is assigned by the Session Management Function (SMF) during QoS Flow establishment or modification. The SMF determines the need for a new QoS Flow based on policy requests from the Policy Control Function (PCF) or application function, or from the UE via QoS Rules. Once assigned, the QFI is communicated to the gNB and UPF. In the data plane, the QFI is encapsulated within the General Packet Radio Service Tunneling Protocol for the user plane (GTP-U) header on the N3 (gNB-UPF) and N9 (inter-UPF) interfaces, specifically in the PDU Session Container extension header. This allows every intermediate node to identify the flow without deep packet inspection.
How it works involves consistent mapping throughout the data path. When the UPF receives uplink data, it classifies packets to a QoS Flow based on Packet Detection Rules (PDRs), marks them with the corresponding QFI in the GTP-U header, and forwards them to the gNB. The gNB uses the QFI to map the packets to the appropriate Data Radio Bearer (DRB) for over-the-air transmission, applying the corresponding QoS profile (scheduling, link-layer configuration). In the downlink, the gNB may also mark the QFI based on UE QoS Rules. This end-to-end tagging ensures that the QoS treatment is consistent across the radio and core network segments, enabling features like reflective QoS and efficient support for network slicing.
Purpose & Motivation
The QoS Flow Identifier (QFI) was introduced in 3GPP Release 15 as a cornerstone of the new 5G QoS model, designed to overcome limitations of the 4G Evolved Packet System (EPS) bearer model. In LTE, QoS was tied to EPS bearers, which were relatively static constructs linking a QoS Class Identifier (QCI) to a specific tunnel (GTP TEID). This model was inefficient for sessions requiring multiple concurrent services with dynamic QoS needs, as each new QoS requirement often necessitated a new bearer, increasing signaling overhead and radio resource complexity.
QFI solves this by decoupling the QoS logic from the transport tunnel. A single PDU Session (analogous to an EPS bearer) can support multiple QoS Flows, each identified by a QFI and with independent QoS characteristics. This allows for dynamic addition, modification, or removal of QoS Flows within an existing session with minimal signaling. The primary motivation was to support 5G's diverse service landscape—from massive IoT to critical communications—where a single device (e.g., an autonomous vehicle) might simultaneously run navigation, sensor data, and infotainment applications, each with vastly different latency, reliability, and bandwidth needs.
Furthermore, QFI enables more flexible network slicing. Different slices can employ different mappings between QFIs and radio resources. It also facilitates edge computing and local breakout scenarios by providing a clear QoS identifier that is understood by both the core and access network. By being a small, in-band header field, QFI allows for efficient, scalable packet processing in high-speed user plane functions, which is critical for meeting 5G's performance targets. It represents a shift towards a more fluid, service-driven QoS architecture.
Key Features
- A 6-bit identifier uniquely marking a QoS Flow within a PDU Session
- Carried in the GTP-U extension header on N3/N9 interfaces for in-band identification
- Enables multiple QoS Flows with distinct profiles within a single PDU Session
- Used by gNB to map QoS Flows to appropriate Data Radio Bearers (DRBs)
- Assigned by SMF and can be dynamically changed during a session
- Fundamental for reflective QoS, where the UE can derive uplink QoS rules from downlink QFI
Evolution Across Releases
Introduced QoS Flow Identifier (QFI) as a core component of the new 5G QoS architecture. Defined the 6-bit field used to uniquely identify a QoS Flow within a PDU Session. Established its encapsulation in the GTP-U header and its role in mapping to radio bearers, enabling granular, dynamic QoS management distinct from the tunnel-based EPS bearer model.
Defining Specifications
| Specification | Title |
|---|---|
| TS 23.501 | 3GPP TS 23.501 |
| TS 24.193 | 3GPP TS 24.193 |
| TS 24.501 | 3GPP TS 24.501 |
| TS 24.502 | 3GPP TS 24.502 |
| TS 24.890 | 3GPP TS 24.890 |
| TS 26.510 | 3GPP TS 26.510 |
| TS 26.804 | 3GPP TS 26.804 |
| TS 26.806 | 3GPP TS 26.806 |
| TS 26.891 | 3GPP TS 26.891 |
| TS 26.926 | 3GPP TS 26.926 |
| TS 26.928 | 3GPP TS 26.928 |
| TS 29.503 | 3GPP TS 29.503 |
| TS 29.508 | 3GPP TS 29.508 |
| TS 29.513 | 3GPP TS 29.513 |
| TS 29.890 | 3GPP TS 29.890 |
| TS 32.255 | 3GPP TR 32.255 |
| TS 32.291 | 3GPP TR 32.291 |
| TS 37.324 | 3GPP TR 37.324 |
| TS 38.300 | 3GPP TR 38.300 |
| TS 38.415 | 3GPP TR 38.415 |
| TS 38.835 | 3GPP TR 38.835 |