STRUCT PPE_SCHEDULER_QM_CONFIG(9)
π struct ppe_scheduler_qm_config(9) β Kernel API Manual π
okay bestie, welcome to the ppe_scheduler_qm_config page, straight out of the Kernel API Manual β¨ this is the struct that holds the PPE arbitration config for the scheduler, and honestly? it's giving "small struct, big job" energy π
πΈ NAME πΈ
struct ppe_scheduler_qm_config β PPE arbitration for scheduler config, no cap π
β¨ SYNOPSIS β¨
struct ppe_scheduler_qm_config {
unsigned int ensch_port_bmp;
unsigned int ensch_port;
unsigned int desch_port;
bool desch_backup_port_valid;
unsigned int desch_backup_port;
};
like, that's the whole struct. five fields. tiny icon π
π¦ Members π¦
the fields, one by one, iykyk
ensch_port_bmpβ the port bit map for the enqueue scheduler πΊοΈ it's a map. of ports. for enqueueing.ensch_portβ the Port ID that goes to the enqueue scheduler πdesch_portβ the Port ID that goes to the dequeue scheduler π€desch_backup_port_validβ abooltelling you whether the dequeue for the backup port is valid or not β πdesch_backup_portβ the Backup port ID to the dequeue scheduler π
π Description π
so what's the actual vibe? this struct is literally how you configure the scheduler settings for enqueuing and dequeuing packets on the PPE port π that's the whole thing. enqueue side, dequeue side, and a lil backup port for the dequeue side if you're feeling extra π«Ά
π SEE ALSO π
go look at the kernel file ./drivers/net/ethernet/qualcomm/ppe/ppe_config.c first, bestie, that's the main character πβ¨
and then 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_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_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)
like, read them all. or at least the ones you need. either way, slay πΈπ
word of warning bestie: this page is what it is β don't go inventing behaviour for these fields, just configure your scheduler settings and move on π
mwah π that's the page! this cutie came from ./drivers/net/ethernet/qualcom... and it's dated October 2026 ποΈ β big thank-you to whoever shipped it, and remember: struct ppe_scheduler_qm_config(9) forever, 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