STRUCT PIE_VARS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pie_vars(9) β€” like, the Kernel API Manual, bestie ✨

okay so this is a page straight out of the Kernel API Manual and it's all about struct pie_vars β€” yes, that's struct pie_vars(9) if you're being formal about it πŸŽ€. Think of it as the lil' dashboard of numbers that PIE keeps its eyes on. No cap, it's giving "control panel energy" πŸ‘‘


🌸 NAME 🌸

struct pie_vars β€” literally just, it contains pie variables πŸ₯§βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct pie_vars {
    psched_time_t qdelay;
    psched_time_t qdelay_old;
    psched_time_t burst_time;
    psched_time_t dq_tstamp;
    u64 prob;
    u64 accu_prob;
    u64 dq_count;
    u32 avg_dq_rate;
    u32 backlog_old;
 };

πŸ’– Members πŸ’–

okay bestie, member-by-member, let's go 🫢

  • qdelay β€” the current queue delay. the now-now number πŸ‘€
  • qdelay_old β€” the queue delay from the previous qdelay calculation. it's the throwback version πŸ’…
  • burst_time β€” burst time allowance. how much burst we're allowed to have, iconic
  • dq_tstamp β€” the timestamp at which the dq rate was last calculated. like a little "last updated" sticker on it ⏰
  • prob β€” drop probability πŸ“
  • accu_prob β€” accumulated drop probability. the prob but with receipts 🧾
  • dq_count β€” number of bytes dequeued in a measurement cycle. bytes, counted, periodt πŸ”₯
  • avg_dq_rate β€” the calculated average dq rate. math girlie behaviour, honestly 🌈
  • backlog_old β€” queue backlog during the previous qdelay calculation. again: the old one, the flashback one πŸ’€

🌟 SEE ALSO 🌟

the kernel file ./include/net/pie.h, plus its besties struct pie_params(9), struct pie_stats(9), and struct pie_skb_cb(9) β€” go say hi, iykyk πŸ’œ


ngl it's a struct, so it's not doing anything dramatic on its own β€” it just holds these variables. read the friend pages above for the whole lore 🧚

and that's the whole page, bestie πŸ’– this one lives over in ./include/net, stamped October 2026 β€” so like, future-dated and fabulous β­πŸ‘‘ signed off with love from the kernel docs βœ¨πŸŽ€

πŸ“¦ where this page comes from