ppe_queue_ucast_base_set(9)
π ppe_queue_ucast_base_set π
okay so bestie, welcome to the ppe_queue_ucast_base_set(9) page β it's a Kernel API Manual situation, and honestly? iconic. this little function is the one that sets your PPE unicast queue base ID and profile ID, like it's doing the most for your queue destination setup. let's get into it π
β¨ SYNOPSIS β¨
int ppe_queue_ucast_base_set (struct ppe_device *ppe_dev , struct
ppe_queue_ucast_dest queue_dst , int queue_base , int profile_id );
that's the whole vibe. one function, four arguments, and it returns an int because of course it does π
πΈ ARGUMENTS πΈ
ppe_devβ the PPE device π«Ά like, the actual device you're doing all this for.queue_dstβ the PPE queue destination configuration β¨ this is the struct holding your destination deets.queue_baseβ the PPE queue base ID π the base, the foundation, the main character.profile_idβ the Profile ID π short and sweet, no notes.
π¦ DESCRIPTION π¦
so here's what's actually going down: the PPE unicast queue base ID and profile ID get configured based on the destination port information π and that info can be a service code, or a CPU code, or the destination port itself. iykyk β it's giving "we know where it's going so we set the base accordingly" energy. no cap, that's the whole description. π
β RETURN β
0on success β slay, we ate, everything worked π- a negative error code on failure β π not it, something went wrong, but at least you get a negative number to decode.
π₯ SEE ALSO π₯
like, go read these too bestie, they're all part of the lore:
- Kernel file
./drivers/net/ethernet/qualcomm/ppe/ppe_config.c 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_offset_pri_set(9)ppe_queue_ucast_offset_hash_set(9)ppe_port_resource_get(9)ppe_sc_config_set(9)ppe_counter_enable_set(9)ppe_rss_hash_config_set(9)ppe_ring_queue_map_set(9)
fr fr that's the entire page β every argument, every return value, every single SEE ALSO reference, all preserved. no details were harmed in the making of this rewrite π
and that's a wrap, bestie! this gem comes to you from the source/version line ./drivers/net/ethernet/qualcom... and it's dated October 2026 β so like, future icon behavior honestly πΈππ¦ go forth and set those queue base IDs, 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