ppe_port_resource_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ppe_port_resource_get β€” the Kernel API Manual glow-up πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for ppe_port_resource_get(9) β€” yes that's the section 9 one, kernel-space famous ✨


🌸 NAME 🌸

ppe_port_resource_get β€” get the PPE resource per port πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int ppe_port_resource_get (struct ppe_device *ppe_dev , int port , enum
ppe_resource_type type , int *res_start , int *res_end );

like, that's the whole vibe right there β€” one function, five args, returns an int πŸ’…


✨ ARGUMENTS ✨

  • ppe_dev β€” the PPE device, your main character 🫢
  • port β€” the PPE port we're talking about
  • type β€” the resource type (iykyk which flavor you want πŸ“)
  • res_start β€” the resource start ID, handed back to you as the returned value
  • res_end β€” the resource end ID, also returned to you

πŸ’œ DESCRIPTION πŸ’œ

so basically: the PPE resource is assigned per PPE port, and it's acquired for the QoS scheduler. that's the whole lore, no cap πŸ”₯


🌈 RETURN 🌈

0 on success, and a negative error code on failure β€” so if it's negative, that's your sign to look away πŸ˜­πŸ’€


🧚 SEE ALSO 🧚

Kernel file ./drivers/net/ethernet/qualcomm/ppe/ppe_config.c, plus the whole friend group:


ngl bestie, read the SEE ALSO list β€” that's where the plot thickens πŸ‘‘

mwah πŸ’‹ that's a wrap! this little gem lives at ./drivers/net/ethernet/qualcom... and the source/version vibes are dated October 2026 β€” screenshot it, frame it, put it on your fridge πŸŽ€βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from