dpni_set_irq_mask(9)
π
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 β bit0is giving "i don't know her", bit1is 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):
dpni_prepare_key_cfg(9),dpni_open(9),dpni_close(9),dpni_set_pools(9)dpni_enable(9),dpni_disable(9),dpni_is_enabled(9),dpni_reset(9)dpni_set_irq_enable(9),dpni_get_irq_enable(9),dpni_get_irq_mask(9)dpni_get_irq_status(9),dpni_clear_irq_status(9)dpni_get_attributes(9),dpni_set_errors_behavior(9)dpni_get_buffer_layout(9),dpni_set_buffer_layout(9)dpni_set_offload(9),dpni_get_qdid(9),dpni_get_tx_data_offset(9)dpni_set_link_cfg(9),dpni_get_link_cfg(9),dpni_get_link_state(9)dpni_set_max_frame_length(9),dpni_get_max_frame_length(9)dpni_set_multicast_promisc(9),dpni_get_multicast_promisc(9)dpni_set_unicast_promisc(9),dpni_get_unicast_promisc(9)dpni_set_primary_mac_addr(9),dpni_get_primary_mac_addr(9)dpni_get_port_mac_addr(9),dpni_enable_vlan_filter(9)dpni_add_vlan_id(9),dpni_remove_vlan_id(9),dpni_add_mac_addr(9)dpni_remove_mac_addr(9),dpni_clear_mac_filters(9)dpni_set_rx_tc_dist(9),dpni_set_congestion_notification(9)dpni_set_queue(9),dpni_get_queue(9),dpni_get_statistics(9)dpni_set_taildrop(9),dpni_get_taildrop(9),dpni_get_api_version(9)dpni_set_rx_fs_dist(9),dpni_set_rx_hash_dist(9),dpni_add_fs_entry(9)dpni_remove_fs_entry(9),dpni_set_qos_table(9),dpni_add_qos_entry(9)dpni_remove_qos_entry(9),dpni_clear_qos_table(9)dpni_set_tx_shaping(9),dpni_get_single_step_cfg(9)dpni_set_single_step_cfg(9)
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
- 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