User Plane Function [1]

Alternative text

The UPF (User Plane Function) is one of the most important NF(Network Function) of the 5G Core network. It is the second network function with which NR RAN interacts(during PDUs flow). UPF is the evolution of the CUPS(Control and User Plane Separation). It inspects, routes, and forwards the packets inside the QoS flows within the subscription policies. It also enforces the UL and DL traffic rules using SDF templates sent by the SMF over the N4 interface. It allocates or terminates the QoS Flows within the PDU Sessions when the corresponding services end.

Protocols

PFCP [2]

Any kind of communication between SMF and UPF is managed by the PFCP(Packet Forwarding Control Protocol). It is one of the main protocols that separates the User Plane and Control Plane.

GTP-U [3]

GTP-U is used to carry user plane data traffic between gNB and UPF.

Call Flow

Alternative text
  • [6] Handle Association Setup Request

  • [9] Handle Session Establishment Request

  • [3] New Flow Description

  • [3] New SDF Filter - filters flow description

  • [3] New PDI(Packet Detection Information)

  • [3] [8] Create PDR, FAR, QER, URR, BAR

  • [3] New Forwarding Parameter

  • [3] Apply Action for forwarding, dropping, buffering

  • [3] Write Packet

  • [4] Add route

  • [2] NewDriver - Configure GTP-U

  • [5] Encode message

  • [6] Handle Association Update Request

  • [7] Handle Heartbeat Request

  • [9] Handle Session Modification Request

  • [10] Update node ID

  • [3] [8] Update PDR, FAR, QER, URR, BAR

  • [8] Create a new session

Alternative text
  • [11] Serve DL Data Report

  • [11] Serve session report

  • [3] Handle Report

  • [1] [10] Notify Session Report

  • [9] Handle Session Report Request Timeout

  • [9] Handle Session Report Response

  • [9] Handle Session Deletion Request

  • [3] [8] [12] Remove PDR, FAR, QER, URR, BAR

  • [8] Delete Session

  • [6] Handle Association Release Request