STRUCT PIE_STATS(9)
π struct pie_stats(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this little cutie is struct pie_stats and she is literally the receipts for your PIE queue β every packet that came in, every one that got dropped, all of it π
no cap, she's just a stats container and she's serving main character energy.
β¨ NAME β¨
struct pie_stats β contains pie stats π₯§ like, that's it, that's the whole vibe. she holds the numbers, she doesn't do the math herself π«Ά
πΈ SYNOPSIS πΈ
struct pie_stats {
u32 packets_in;
u32 dropped;
u32 overlimit;
u32 ecn_mark;
u32 maxq;
};
so it's giving five u32 fields, one struct, zero drama β every single member is a u32, periodt π
π¦ Members π¦
bestie, let's do a vibe check on every single field one by one, no skipping, iykyk π
packets_inβ the total number of packets enqueued π₯ like, the whole headcount of who got let into the queue. icon behaviour, honestly.droppedβ packets dropped due to pie action π yeah, PIE said "not you" and yeeted them. this is her own doing, not a space issue β important distinction, ngl πoverlimitβ packets dropped due to lack of space in queue π the queue was simply too full, no room at the inn, sorry bestie. different reason fromdropped, don't mix them up fr fr.ecn_markβ packets marked with ECN β¨ these ones got the little mark instead of the boot β the polite warning, the "i'm watching you" of the network world πmaxqβ the maximum queue size β the absolute ceiling, the final boss, the biggest she's ever been π
π SEE ALSO π
- Kernel file
./include/net/pie.hπ (that's where she lives, go say hi) struct pie_params(9)β the settings bestie π§struct pie_vars(9)β the moving parts bestie πstruct pie_skb_cb(9)β the skb control block bestie π¦
that's the whole page, you ate that π
shoutout to the source location ./include/net and the date October 2026 β and yes, this manpage is still legally struct pie_stats(9) at the bottom, so mwah, bye bestie ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms