Skip to content
Success

Changes

Summary

  1. Introduce hashtable to look up session in endpoint by UP SEID (details)
Commit 68c0e96a811a75f176edb35ed5edbe12f9b1c884 by Pau Espin Pedrol
Introduce hashtable to look up session in endpoint by UP SEID

This is used every time a new PFCP session was being allocated.
It allows looking up if a given UP SEID exists in any of the peers.
Before this patch, iterating over tens/hundreds of UP peers on every
session creation took 38% of a full CPU.

Change-Id: I617b405e59a3435a1c4912bf4161bc9e036754b4
The file was modifiedsrc/osmo-upf/up_session.c
The file was modifiedinclude/osmocom/upf/up_session.h
The file was modifiedsrc/osmo-upf/up_endpoint.c
The file was modifiedinclude/osmocom/upf/up_endpoint.h