rte_pie(3)
π rte_pie β Library Functions Manual π
okay bestie, sit down, we're doing a rte_pie(3) deep dive and honestly? it's giving main character energy. this is a struct page from the DPDK docs β you know, the "Library Functions Manual" kind β and it's literally just the run-time data for PIE. no cap. let's get into it π
β¨ SYNOPSIS β¨
#include <rte_pie.h>
πΈ Data Fields πΈ
uint16_t activeuint16_t in_measurementuint32_t departed_bytes_countuint64_t start_measurementuint64_t last_measurementuint64_t qlenuint64_t qlen_bytesuint64_t avg_dq_timeuint32_t burst_allowanceuint64_t qdelay_olddouble drop_probdouble accu_prob
π Detailed Description π
it's PIE run-time data. that's the whole vibe, bestie β this struct is where PIE keeps all its lil state while it's out there doing its thing π
Defined at line 55 of file rte_pie.h.
π¦ Field Documentation π¦
uint16_t active
flag for activating / deactivating pie. so like, is PIE awake or is PIE napping? this tells you π«Ά
Defined at line 56 of file rte_pie.h.
uint16_t in_measurement
flag for activation of the measurement cycle. the measurement cycle is on when this says so, bestie.
Defined at line 57 of file rte_pie.h.
uint32_t departed_bytes_count
number of bytes that have departed in the current measurement cycle. bye bye bytes π
Defined at line 58 of file rte_pie.h.
uint64_t start_measurement
the time to start the measurement cycle β measured in cpu cycles. yes, cpu cycles, not seconds. iykyk β±οΈ
Defined at line 59 of file rte_pie.h.
uint64_t last_measurement
the time of the last measurement, also in cpu cycles.
Defined at line 60 of file rte_pie.h.
uint64_t qlen
queue length, counted in packets. that's the packet count variety of qlen, not the byte one. keep them straight bestie π
Defined at line 61 of file rte_pie.h.
uint64_t qlen_bytes
queue length, but counted in bytes instead. same queue, different unit. iconique π
Defined at line 62 of file rte_pie.h.
uint64_t avg_dq_time
the time-averaged dequeue rate, in cpu cycles. note it's the rate being averaged, fr fr.
Defined at line 63 of file rte_pie.h.
uint32_t burst_allowance
the current burst allowance, in bytes. let the burst cook π₯
Defined at line 64 of file rte_pie.h.
uint64_t qdelay_old
the old queue delay, in bytes. (yes, delay in bytes, that's just what it says, don't come for me π)
Defined at line 65 of file rte_pie.h.
double drop_prob
the current packet drop probability. a double, so it's got decimals and it's dramatic about it.
Defined at line 66 of file rte_pie.h.
double accu_prob
the accumulated packet drop probability. past drops, all summed up, living in this double π
Defined at line 67 of file rte_pie.h.
π§ Author π§
generated automatically by Doxygen for DPDK from the source code. not me getting auto-generated, bestie π slay.
and that's the whole page, periodt β¨ this was DPDK, Version 25.11.3, page rte_pie(3) β go forth and vibe check your queues ππ¦
π¦ 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