rte_pdcp_entity(3)
π rte_pdcp_entity β bestie edition π
okay so this is a page from the Library Functions Manual, and it's literally all about rte_pdcp_entity. yes, that's a struct. yes, it's giving main character energy in the PDCP sublayer. let's get into it π«Ά
β¨ NAME β¨
rte_pdcp_entity β the struct itself, the icon, the moment
πΈ SYNOPSIS πΈ
#include <rte_pdcp.h>
π Data Fields
rte_pdcp_pre_p_t pre_processrte_pdcp_post_p_t post_processuint32_t max_pkt_cache
π Detailed Description π
PDCP entity.
no cap, here's the lore straight from the spec, 4.2.2 PDCP entities:
The PDCP entities are located in the PDCP sublayer. Several PDCP entities may be defined for a UE. Each PDCP entity is carrying the data of one radio bearer. A PDCP entity is associated either to the control plane or the user plane depending on which radio bearer it is carrying data for.
basically: PDCP entities live in the PDCP sublayer β, a UE can have several of them, each one carries the data of exactly one radio bearer (one job, one vibe, we respect it), and whether it's control plane or user plane depends entirely on which radio bearer it's holding data for. it's giving "tell me who your bearer is and i'll tell you who you are" π
π Definition at line 48 of file rte_pdcp.h.
π₯ Field Documentation π₯
π rte_pdcp_pre_p_t pre_process
Entity specific pre-process handle.
π Definition at line 50 of file rte_pdcp.h.
π§ rte_pdcp_post_p_t post_process
Entity specific post-process handle.
π Definition at line 52 of file rte_pdcp.h.
π uint32_t max_pkt_cache
okay so listen, this one needs a whole paragraph because it's lowkey the most important field here:
PDCP entities may hold packets for purposes of in-order delivery (in case of receiving PDCP entity) and re-transmission (in case of transmitting PDCP entity).
the field 'max_pkt_cache' would be used to indicate the maximum number of packets that may be cached in an entity at any point of time. when the application provides buffers to receive packets from the PDCP entity, the size of the buffer should be such that it can hold additionally 'max_pkt_cache' number of packets.
β οΈ bestie, read that again β additionally. the buffer has to fit your normal packets plus room for 'max_pkt_cache' more. if you size it too small, that's on you, not the entity π plan your buffers accordingly fr fr.
π Definition at line 64 of file rte_pdcp.h.
πΈ Author πΈ
Generated automatically by Doxygen for DPDK from the source code. (not a human, not a girlboss β just Doxygen doing its thing π)
and that's the whole page, bestie π this was DPDK Version 25.11.3, rte_pdcp_entity(3), signing off with all the love in the PDCP sublayer. mwah πβ¨π¦
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms