dpni_get_irq_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dpni_get_irq_enable(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes we're in the kernel manual today, and this little icon is dpni_get_irq_enable, and honestly? she's giving "just tell me if the interrupts are on or off" energy and I respect it πŸ’…


🌸 NAME 🌸

dpni_get_irq_enable β€” get the overall interrupt state πŸ‘‘

like literally, that's her whole job. she finds out the big-picture interrupt vibe. no cap, that's it.


✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

okay so here's everyone in the group chat, let me introduce them 🫢

  • mc_io β€” pointer to the MC portal's I/O object. this is the portal bestie, she's the connection ✨
  • cmd_flags β€” the command flags, and they're one or more of 'MC_CMD_FLAG_' 🚩
  • token β€” the token of the DPNI object. it's her ID, iykyk πŸͺͺ
  • irq_index β€” the interrupt index you wanna configure 🌈
  • en β€” the returned interrupt state, and it's returned so you pass a pointer, bestie β€” enable = 1, disable = 0 ⚑ like binary but make it fashion

πŸ’€ RETURN πŸ’€

so… the RETURN section in the original is literally empty. like, nothing. blank. no documented return values here πŸ™ˆ i'm not gonna invent any, that's not the vibe β€” just know that the function itself is declared int in the synopsis and the manpage does not spell out what it returns. respect the mystery πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

okay this list is long and she ate, honestly πŸ‘‘

the kernel file: ./drivers/net/ethernet/freescale/dpaa2/dpni.c πŸ“

and then the whole DPNI friend group, fr fr:

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_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) πŸ¦‹

ngl bestie, if you're reading this whole list out loud, hydrate first πŸ’§

mwah πŸ’‹ before you go β€” this page came from ./drivers/net/ethernet/freesca... (that's the source path as printed, don't @ me, it's truncated in the original too πŸ™ˆ), dated October 2026, and it's the manpage for dpni_get_irq_enable(9) herself. slay, periodt, go check your interrupt state πŸ’…βœ¨

πŸ“¦ where this page comes from