dpni_set_irq_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_set_irq_enable(9) β€” it's giving "Set overall interrupt state"

okay so welcome to the Kernel API Manual bestie, and buckle up because we're talking about dpni_set_irq_enable β€” the function that decides whether your interrupt is even allowed to show up to the party πŸŽ€


✨ SYNOPSIS ✨

int dpni_set_irq_enable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u8 irq_index , u8 en );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mc_io β€” pointer to the MC portal's I/O object. like, the portal. the vibe conduit. 🫢
  • cmd_flags β€” command flags; one or more of MC_CMD_FLAG_
  • token β€” the token of the DPNI object, iykyk πŸ‘‘
  • irq_index β€” the interrupt index you're configuring
  • en β€” interrupt state: - enable = 1, disable = 0 ⭐

🌸 DESCRIPTION 🌸

So here's the tea: this lets GPP software control when interrupts are generated. Each interrupt can have up to 32 causes. The enable/disable control's the overall interrupt state. if the interrupt is disabled no causes will cause an interrupt. periodt πŸ’€

Like β€” literally, if you flip this off, none of those 32 causes can get a word in. main character energy only when it's enabled, fr fr.


πŸ’€ RETURN πŸ’€

not me reading this section and finding it completely blank 😭 the original literally documents no return value here β€” no exit status, no error codes, nothing. so we're not gonna invent one, bestie, that would be lying and lying is not iconic.

πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./drivers/net/ethernet/freescale/dpaa2/dpni.c β€” go read the source if you want the real real ✨

and the whole entire squad, no cap, every last one:

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_get_irq_enable(9), dpni_set_irq_mask(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 whole page, bestie πŸŒˆπŸ’– this little number lives at ./drivers/net/ethernet/freesca... and it's dated October 2026, filed under dpni_set_irq_enable(9) β€” mwah, slay, go enable some interrupts responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from