travelping / vpp

5G User Plane Function (UPF) based on VPP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PFCP lookup and highest PDR searching

Vivek-anand-jain opened this issue · comments

Hi :)

How PFCP session lookup is happening on DL/UL packet arrival? Also, aren't you using list data structure to perform highest precedence PDR searching? If that's the case, isn't that compute intensive on data path?

Please correct me if I'm wrong.

PFCP session lookup is happening on TEID, that is using a hash table.

But the ACL scanning of a PDRs is indeed running over the of all PDRs of that session. With many PDRs that would indeed be compute intensive. This is partly mitigated by using the flow match to store the PDR and reuse that on subsequent packets.