dpni_is_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, we're looking at dpni_is_enabled(9) today β€” straight out of the Kernel API Manual β€” and it is literally the vibe check of the DPNI world πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

dpni_is_enabled β€” check if the DPNI is enabled πŸ’–

🌸 SYNOPSIS 🌸

int dpni_is_enabled (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , int *en );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mc_io β€” pointer to MC portal's I/O object 🫢 that's your way in, no cap
  • cmd_flags β€” command flags; one or more of MC_CMD_FLAG_ (yes, one or more, go off)
  • token β€” token of DPNI object πŸŽ€ your little VIP pass for the object itself
  • en β€” returns 1 if object is enabled; 0 otherwise πŸ‘‘

πŸ’€ RETURN πŸ’€

not the manpage leaving this one completely blank 😭 bestie there is literally nothing written under RETURN here, so that's all we've got β€” I'm not gonna invent a return value and lie to you, fr fr


πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.c β€” that's where the magic lives 🌈

and the entire extended dpni family, all iconically showing up to the group chat:

dpni_prepare_key_cfg(9), dpni_open(9), dpni_close(9), dpni_set_pools(9), dpni_enable(9), dpni_disable(9), dpni_reset(9), dpni_set_irq_enable(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)

like… that's the whole friend group 🫢 go read them, iykyk


and that's the whole page, bestie 🧚 sign-off time: this one's tagged with source/version ./drivers/net/ethernet/freesca... and dated October 2026 β€” yes the year is doing main character energy, don't ask, slay πŸ’œπŸŽ€

πŸ“¦ where this page comes from