dpni_set_irq_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_set_irq_mask(9) β€” the dpni_set_irq_mask girlie is here πŸŽ€

okay so bestie, buckle up β€” this is a page from the Kernel API Manual, and it's all about setting an interrupt mask on a DPNI object. yes it's a mouthful, no we're not scared of it. let's go πŸ¦‹


✨ NAME ✨

dpni_set_irq_mask β€” literally just Set interrupt mask. that's the whole assignment. short, sweet, iconic. πŸ’…


🌸 SYNOPSIS 🌸

int dpni_set_irq_mask (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u8 irq_index , u32 mask );

not me reading this signature like it's a text from my bestie at 2am 😭 five whole parameters, she's thorough.


πŸ’– ARGUMENTS πŸ’–

  • mc_io β€” a pointer to the MC portal's I/O object. like, the friend group's group chat handle. everything goes through her. 🫢
  • cmd_flags β€” command flags, bestie! one or more of 'MC_CMD_FLAG_'. that's the string you're matching against, keep it exact ✨
  • token β€” the token of the DPNI object. yes, her little name tag at the party. πŸ‘‘
  • irq_index β€” the interrupt index to configure. which one of the interrupts are we talking to rn? πŸŽ€
  • mask β€” the event mask that triggers the interrupt, and every single bit has a job, no cap:
    • 0 = ignore the event πŸ™ˆ
    • 1 = consider the event for asserting IRQ πŸ”₯
fr fr, read that mask bit by bit β€” bit 0 is giving "i don't know her", bit 1 is giving main character energy.

🌈 DESCRIPTION 🌈

okay so here's the lore: every interrupt can have up to 32 causes, and the interrupt model supports masking/unmasking each cause independently. like, you can mute one person in the group chat and still hear everyone else. independent muting, individually. that's the whole vibe. ⭐


πŸ’€ RETURN πŸ’€

there is genuinely nothing here β€” the page lists the RETURN section and then says not a single word. she's mysterious. she's silent. we respect it. 😭


🧚 SEE ALSO 🧚

the kernel file lives right here, bestie:

./drivers/net/ethernet/freescale/dpaa2/dpni.c

and here's the whole extended friend group, every single one of them, in order, no skipping (i would never):


and that's the page, bestie! πŸ“ she's stamped from ./drivers/net/ethernet/freesca... and dated October 2026, and yeah, the whole thing is filed under dpni_set_irq_mask(9) in the Kernel API Manual. slay, go set those masks πŸ’œ

πŸ“¦ where this page comes from