Commit 827f821d authored by Franck Messaoudi's avatar Franck Messaoudi

Update: adding eBPF Map sizes parameters into the confing file

parent 2edad4d5
...@@ -229,6 +229,61 @@ upf: ...@@ -229,6 +229,61 @@ upf:
support_features: support_features:
enable_bpf_datapath: yes # If "on": BPF is used as datapath else simpleswitch is used, DEFAULT= off enable_bpf_datapath: yes # If "on": BPF is used as datapath else simpleswitch is used, DEFAULT= off
enable_qos: yes enable_qos: yes
# OAI UPF EBPF MAP SIZES Configuration File
# These configuration map entries define key parameters for optimizing memory allocation and tuning the UPF.
# The values set in this file directly impact the size of eBPF maps used for packet processing.
# Configuration Parameters: Each parameter in this file controls a specific aspect of UPF behavior.
# 1. Network Interface Limits
# max_upf_interfaces (Default: 8)
# Specifies the maximum number of network interfaces that UPF can manage.
# Example: Physical/virtual interfaces for GTP-U traffic.
# max_upf_redirect_interfaces (Default: 4)
# Defines the maximum number of interfaces used for traffic redirection.
# Example: Used in PDRs for forwarding packets to specific egress interfaces.
max_upf_interfaces: 8
max_upf_redirect_interfaces: 4
# 2. Session and Rule Limits
# max_pdu_session (Default: 10,000)
# Determines the maximum number of concurrent PDU sessions that UPF can handle.
# Affects the memory allocation for session-related eBPF maps.
# max_pdrs_per_pdu_session (Default: 8)
# Defines the maximum number of Packet Detection Rules (PDRs) that can be applied per PDU session.
# PDRs dictate how packets are processed, forwarded, or dropped.
# max_qos_flows_per_pdu_session (Default: 8)
# Sets the maximum number of QoS flows that a single PDU session can manage.
# Impacts QoS-related eBPF maps (e.g., shaping, policing).
# max_sdf_filters_per_pdu_session (Default: 8)
# Specifies the maximum number of Service Data Flow (SDF) filters per session.
# SDF filters define how traffic is classified within a QoS flow.
max_pdu_session: 10000
max_pdrs_per_pdu_session: 8
max_qos_flows_per_pdu_session: 8
max_sdf_filters_per_pdu_session: 8
# 3. ARP Table Limit
# max_arp_entries (Default: 4)
# Limits the number of ARP table entries stored in eBPF maps.
# Used for resolving MAC addresses in the UPF forwarding path.
max_arp_entries: 1572
remote_n6_gw: oai-ext-dn remote_n6_gw: oai-ext-dn
upf_info: upf_info:
sNssaiUpfInfoList: sNssaiUpfInfoList:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment