ENUM PPE_CNT_SIZE_TYPE(9)
π enum ppe_cnt_size_type(9) β the Kernel API Manual, bestie edition
okay so you're in the kernel API manual, section 9, and we're talking about enum ppe_cnt_size_type β the PPE counter size type. yes it's a whole enum about counter sizes. no it's not boring, it's giving hardware accounting realness β¨
πΈ NAME
enum ppe_cnt_size_type β the PPE counter size type, fr fr π
β¨ SYNOPSIS
enum ppe_cnt_size_type {
PPE_PKT_CNT_SIZE_1WORD ,
PPE_PKT_CNT_SIZE_3WORD ,
PPE_PKT_CNT_SIZE_5WORD
};
like, that's the whole vibe. three constants, that's it, she's concise π
π¦ Constants
PPE_PKT_CNT_SIZE_1WORDβ counter size with a single register. one word, one register, lowkey minimalist πPPE_PKT_CNT_SIZE_3WORDβ counter size with a table of 3 words. it's giving structured data πΈPPE_PKT_CNT_SIZE_5WORDβ counter size with a table of 5 words. five words of pure main character energy π
π Description
so here's the lore: PPE takes the different register size to record the packet counters π«Ά. it uses a single register, or a register table with 3 words or 5 words β that's the whole spectrum, no in-between.
and bestie, the counter with table size 5 words also records the drop counter π like yes she does double duty, we love a multitasker.
there are also some other counter types occupying sizes less than 32 bits, which is not covered by this enumeration type. so don't come for this enum for those, she's simply not that girl for sub-32-bit sizes, and that's on periodt π
π₯ SEE ALSO
- Kernel file
./drivers/net/ethernet/qualcomm/ppe/ppe_debugfs.c enum ppe_cnt_type(9)struct ppe_debugfs_entry(9)
ngl, if you're poking at PPE debugfs stuff, go read those two too β they're literally right there in the same file, iykyk π
that's the whole page, bestie π sourced from ./drivers/net/ethernet/qualcom... and dated October 2026 β go off, and remember: counter sizes are a lifestyle, not a phase πβ¨
π¦ 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