dpni_reset(9)
π dpni_reset(9) β a Kernel API Manual moment
okay so first things first: this is a page from the Kernel API Manual, bestie. The star of the show is dpni_reset, and what it does is exactly what it says on the tin β it resets the DPNI and returns the object to initial state. clean slate, factory settings, the whole vibe reset. β¨
πΈ NAME
dpni_reset β Reset the DPNI, returns the object to initial state.
π¦ SYNOPSIS
int dpni_reset (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
three arguments, one int coming back at you. that's the whole shape of it. π«Ά
π ARGUMENTS
mc_ioβ Pointer to MC portal's I/O object. yes, it's a pointer, yes, you gotta hand it over.cmd_flagsβ Command flags; one or more of'MC_CMD_FLAG_'. stack 'em if you got 'em, babes.tokenβ Token of DPNI object. it's au16, it's the DPNI's little name tag, don't lose it. π·οΈ
π RETURN
okay soβ¦ there is literally nothing written here. not a single line. the RETURN section is giving empty void, main character staring out a window energy. π so ngl, I'm not gonna sit here and invent return values for you β the page doesn't say, and we don't make stuff up in this group chat. if you need to know what it hands back, go read the source (it's right down there π).
π SEE ALSO
a whole friend group of DPNI functions, all listed, all accounted for, no cap:
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_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)
and the kernel file itself, if you wanna go straight to the source like the icon you are:
./drivers/net/ethernet/freescale/dpaa2/dpni.c
π§ friendly lil heads-up: this page is short on purpose β the RETURN section has zero content in the original, so don't come for me asking what it returns. I would never lie to you. π
and that's the page!! β¨ shoutout to the source stamp <pink>./drivers/net/ethernet/freesca...</pink> and the version date <purple>October 2026</purple>, both living their best life down there in the footer β slay, honestly. ππ
π¦ 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