ppe_port_resource_get(9)
π 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 abouttypeβ the resource type (iykyk which flavor you want π)res_startβ the resource start ID, handed back to you as the returned valueres_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:
struct ppe_bm_port_config(9)struct ppe_qm_queue_config(9)enum ppe_scheduler_direction(9)struct ppe_scheduler_bm_config(9)struct ppe_scheduler_qm_config(9)struct ppe_scheduler_port_config(9)struct ppe_port_schedule_resource(9)ppe_queue_scheduler_set(9)ppe_queue_ucast_base_set(9)ppe_queue_ucast_offset_pri_set(9)ppe_queue_ucast_offset_hash_set(9)ppe_sc_config_set(9)ppe_counter_enable_set(9)ppe_rss_hash_config_set(9)ppe_ring_queue_map_set(9)
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
- 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