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_process
  • rte_pdcp_post_p_t post_process
  • uint32_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