ppe_ring_queue_map_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 ⭐

  • 0 on 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:

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