ENUM PPE_CNT_TYPE(9)
π enum ppe_cnt_type(9) π
okay so bestie, welcome to section 9 of the Kernel API Manual β yes, the Kernel API Manual, we're literally in the driver-dev depths now and you're gonna slay it π«Ά
β¨ NAME β¨
enum ppe_cnt_type β the PPE counter type, fr fr. That's the whole vibe. It's an enum that says "hey, which kind of packet counter are we talking about?" π
πΈ SYNOPSIS πΈ
okay so here's the shape of it, no cap, copy it exactly:
enum ppe_cnt_type {
PPE_CNT_BM ,
PPE_CNT_PARSE ,
PPE_CNT_PORT_RX ,
PPE_CNT_VLAN_RX ,
PPE_CNT_L2_FWD ,
PPE_CNT_CPU_CODE ,
PPE_CNT_VLAN_TX ,
PPE_CNT_PORT_TX ,
PPE_CNT_QM
};
nine constants, one enum, zero notes π look at that trailing comma energy on PPE_CNT_QM, iconic.
π¦ CONSTANTS π¦
every single one of them, in order, so you literally cannot get lost:
PPE_CNT_BMβ packet counter processed by BM. that's BM's whole job and it's doing it πPPE_CNT_PARSEβ packet counter parsed on ingress. ingress girlies rise πPPE_CNT_PORT_RXβ packet counter on the ingress port. (yes, rx = coming in, you got this π«Ά)PPE_CNT_VLAN_RXβ VLAN packet counter, received. tagged packets stay winning πPPE_CNT_L2_FWDβ packet counter processed by L2 forwarding. layer two said "i'll take it from here" β¨PPE_CNT_CPU_CODEβ packet counter marked with various CPU codes. mysterious. main character energy πPPE_CNT_VLAN_TXβ VLAN packet counter, transmitted. and now it's leaving π¦PPE_CNT_PORT_TXβ packet counter on the egress port. bye bestie, safe travels πPPE_CNT_QMβ packet counter processed by QM. QM ate and left zero crumbs π₯
π₯ SEE ALSO π₯
the receipts, iykyk:
- kernel file
./drivers/net/ethernet/qualcomm/ppe/ppe_debugfs.cβ where the actual code lives, go look, it's giving source of truth enum ppe_cnt_size_type(9)struct ppe_debugfs_entry(9)
lowkey a reminder: this is kernel enum territory, so keep the exact names. no renaming, no "fixing", no creative spelling. the compiler does not find it cute π
that's the whole page babes, you're officially a PPE counter type expert β
mwah π β this page came from ./drivers/net/ethernet/qualcom... and it's dated October 2026, so future-girlie coded π see you in enum ppe_cnt_type(9) again soon, periodt π
π¦ 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