rte_port_r...rag_params(3)
π NAME π
rte_port_ring_reader_frag_params β bestie, this is a struct page, and it's living in the Library Functions Manual section of the man pages (that's the manual name, it's giving section 3 energy β¨).
It's a lil' data structure that holds the params for a ring_reader_ipv4_frag port. Basically the setting sheet you hand over so your ring reader can do IP fragmentation. π¦
π SYNOPSIS π
#include <rte_port_frag.h>
β¨ Data Fields β¨
struct rte_ring * ring
uint32_t mtu
uint32_t metadata_size
struct rte_mempool * pool_direct
struct rte_mempool * pool_indirect
πΈ Detailed Description πΈ
ring_reader_ipv4_frag port parameters π β that's the whole vibe.
Definition at line 35 of file rte_port_frag.h.
π Field Documentation π
struct rte_ring* ring
The underlying single consumer ring that has to be pre-initialized. Like, pre-initialized. Do not come to this struct with an un-initialized ring, bestie, it's not that kind of party π.
Definition at line 37 of file rte_port_frag.h.
uint32_t mtu
Maximum Transfer Unit (MTU). It's the maximum IP packet size, measured in bytes. π
Definition at line 40 of file rte_port_frag.h.
uint32_t metadata_size
Size of the application dependent meta-data that gets stored per each input packet. And here's the part that matters: that meta-data has to be copied to each of the fragments originating from the same input IP datagram. So every fragment gets its own copy, no sharing, no cap π«Ά.
Definition at line 45 of file rte_port_frag.h.
struct rte_mempool* pool_direct
A pre-initialized buffer pool used for allocating the direct buffers for the output fragments. β¨
Definition at line 49 of file rte_port_frag.h.
struct rte_mempool* pool_indirect
A pre-initialized buffer pool used for allocating the indirect buffers for the output fragments. π¦
Definition at line 53 of file rte_port_frag.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. (Not a human author, just the Doxygen machine doing its thing, and honestly? iconic β)
And that's the whole page, bestie π β this one came courtesy of DPDK, Version 25.11.3. Slay, go fragment some packets, ily, bye πβ¨
π¦ 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