ppe_ring_queue_map_set(9)
π ppe_ring_queue_map_set(9) π
okay bestie, welcome to the Kernel API Manual β this one's called ppe_ring_queue_map_set and it's literally the matchmaker between PPE queues and Ethernet DMA rings. let's get into it π
β¨ NAME β¨
ppe_ring_queue_map_set β Set the PPE queue to Ethernet DMA ring mapping π¦
πΈ SYNOPSIS πΈ
int ppe_ring_queue_map_set (struct ppe_device *ppe_dev , int ring_id ,
const u32 *queue_map );
no cap, that's the whole signature. three args, one int coming back at you π
π ARGUMENTS π
ppe_devβ the PPE device, your main character struct π«Άring_idβ the Ethernet DMA ring ID. yes, that ring β¨queue_mapβ a bit map of queue IDs that belong to the given Ethernet DMA ring πΈ
π DESCRIPTION π
so what does it actually do? it configures the mapping from a set of PPE queues to a given Ethernet DMA ring. that's it, that's the vibe β you point at a ring, you hand over your bitmap of queues, and the mapping gets set up. iconic behavior honestly π₯
β RETURN β
0on success π- a negative error code on failure π (so like, always check, bestie, fr fr)
π SEE ALSO π
go look at the kernel file ./drivers/net/ethernet/qualcomm/ppe/ppe_config.c and also these absolute legends:
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_port_resource_get(9)ppe_sc_config_set(9)ppe_counter_enable_set(9)ppe_rss_hash_config_set(9)
like a whole friend group of manpages, iykyk π§
ok that's the page!! mwah π this one came out of ./drivers/net/ethernet/qualcom... and it's dated October 2026 β so yeah, future girl summer πΈβ¨ bye bestie, go map some queues π
π
π¦ 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