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 active
  • uint16_t in_measurement
  • uint32_t departed_bytes_count
  • uint64_t start_measurement
  • uint64_t last_measurement
  • uint64_t qlen
  • uint64_t qlen_bytes
  • uint64_t avg_dq_time
  • uint32_t burst_allowance
  • uint64_t qdelay_old
  • double drop_prob
  • double 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