dpsw_set_irq_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dpsw_set_irq_mask ✨

okay so bestie, welcome to the dpsw_set_irq_mask page from the Kernel API Manual β€” yes it's a section 9 situation, we love that for us πŸ’… this one is all about setting an interrupt mask, and honestly? kind of iconic.


🌸 NAME 🌸

dpsw_set_irq_mask β€” Set interrupt mask. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

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

she takes five args and returns an int, no cap ✨


πŸ’– ARGUMENTS πŸ’–

  • mc_io β€” pointer to the MC portal's I/O object. your little doorway into the MC world πŸšͺ
  • cmd_flags β€” command flags; one or more of MC_CMD_FLAG_ (yes, keep it literal bestie)
  • token β€” the token of the DPCI object 🎟️
  • irq_index β€” the interrupt index you're configuring. pick your fave ✨
  • mask β€” the event mask that triggers the interrupt; each bit is literally a whole personality:
    • 0 = ignore event πŸ™ˆ
    • 1 = consider event for asserting IRQ πŸ”₯

🧚 DESCRIPTION 🧚

so here's the lore: every interrupt can have up to 32 causes, and the interrupt model supports masking/unmasking each cause independently. like, individually. one by one. main character energy for every single cause πŸ‘‘πŸ’…

bestie this is the entire description, do not come for me, the manpage said what it said 🫢

⭐ RETURN ⭐

this section is literally empty in the original β€” the void, the silence, the drama 😭 (no return values documented here, fr fr)


🌈 SEE ALSO 🌈

the kernel file ./drivers/net/ethernet/freescale/dpaa2/dpsw.c β€” and then, okay, buckle up, because the friend group is huge:

dpsw_open(9), dpsw_close(9), dpsw_enable(9), dpsw_disable(9), dpsw_reset(9), dpsw_set_irq_enable(9), dpsw_get_irq_status(9), dpsw_clear_irq_status(9), dpsw_get_attributes(9), dpsw_if_set_link_cfg(9), dpsw_if_get_link_state(9), dpsw_if_set_tci(9), dpsw_if_get_tci(9), dpsw_if_set_stp(9), dpsw_if_get_counter(9), dpsw_if_enable(9), dpsw_if_disable(9), dpsw_if_get_attributes(9), dpsw_if_set_max_frame_length(9), dpsw_vlan_add(9), dpsw_vlan_add_if(9), dpsw_vlan_add_if_untagged(9), dpsw_vlan_remove_if(9), dpsw_vlan_remove_if_untagged(9), dpsw_vlan_remove(9), dpsw_fdb_add(9), dpsw_fdb_remove(9), dpsw_fdb_add_unicast(9), dpsw_fdb_dump(9), dpsw_fdb_remove_unicast(9), dpsw_fdb_add_multicast(9), dpsw_fdb_remove_multicast(9), dpsw_ctrl_if_get_attributes(9), dpsw_ctrl_if_set_pools(9), dpsw_ctrl_if_set_queue(9), dpsw_get_api_version(9), dpsw_if_get_port_mac_addr(9), dpsw_ctrl_if_enable(9), dpsw_ctrl_if_disable(9), dpsw_set_egress_flood(9), dpsw_if_set_learning_mode(9), dpsw_acl_add(9), dpsw_acl_remove(9), dpsw_acl_add_if(9), dpsw_acl_remove_if(9), dpsw_acl_prepare_entry_cfg(9), dpsw_acl_add_entry(9), dpsw_acl_remove_entry(9), dpsw_set_reflection_if(9), dpsw_if_add_reflection(9), dpsw_if_remove_reflection(9), dpsw_lag_set(9), dpsw_if_set_lag_state(9)

like I said. the whole squad πŸ«ΆπŸ’œ


sign-off szn πŸŽ€ this page came from ./drivers/net/ethernet/freesca... (yes it's truncated in the original, we respect the ellipsis πŸ™ˆ) and it's dated October 2026 β€” until then, stay masked, stay slay βœ¨πŸ’…

πŸ“¦ where this page comes from