dpni_enable(9)
π NAME
Okay so bestie, gather round: dpni_enable β it's the function that enables the DPNI and lets it send and receive frames. That's it. That's the whole vibe. It's giving "flip the switch, we're live" energy π₯
This page lives in the Kernel API Manual section (section 9, for the uninitiated) β so yes, it's a kernel function, not a command you type into your shell, don't @ me.
β¨ SYNOPSIS
int dpni_enable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
Three args, one int coming back at you. Short, sweet, iconic. π
π ARGUMENTS
mc_ioβ Pointer to the MC portal's I/O object. Like, the actual connection handle you're working through, bestie π«Άcmd_flagsβ Command flags; one or more of'MC_CMD_FLAG_'. Yes, that's literally the family name it gives you β pick from that crew πtokenβ Token of the DPNI object. This is how you tell it which DPNI you mean π―
π¦ RETURN
Not me showing up to this section and it's literally empty ππ No documented return values here β nothing to report, no cap. So don't come for me asking what it returns, the manual kept it a mystery π
πΈ SEE ALSO
Okay this is the part where it gets iconic β the whole DPNI friend group is tagged in the group chat π First up, where the source lives:
Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.c
And now, the full squad, in order, no one left out fr fr:
dpni_prepare_key_cfg(9)dpni_open(9)dpni_close(9)dpni_set_pools(9)dpni_disable(9)dpni_is_enabled(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)
Reminder bestie: that SEE ALSO list is long enough to be its own friend group, but every single one is there β no gatekeeping, no cuts π
And that's a wrap, babes π This cutie came from ./drivers/net/ethernet/freesca... and it's dated October 2026 β so yeah, fresh off the press, and it's still called dpni_enable(9). Slay. β¨π
π¦
π¦ 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