ENUM PPE_CNT_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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