dpni_close(9)
π dpni_close(9) β like, the Kernel API Manual page you've been waiting for π
okay bestie, sit down, hydrate, and let me introduce you to dpni_close from the Kernel API Manual. yes it's a kernel function, yes it's from the (9) section, no it's not scary, i promise. this is the girlypop that hangs up the phone on your DPNI object π
β¨ NAME β¨
dpni_close β closes the control session of the object. that's it. that's the whole vibe. she's the "ok bye" of the DPNI world π«Ά
πΈ SYNOPSIS πΈ
int dpni_close (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );
look at her. three arguments, returns an int, absolute main character energy π
π¦ ARGUMENTS π¦
mc_ioβ a pointer to the MC portal's I/O object. like, the doorway she walks out of πͺcmd_flagsβ the command flags, bestie! this is one or more of'MC_CMD_FLAG_'(yes, with the quotes and the trailing underscore, that's literally how it's written, no cap)tokenβ the token of the DPNI object. her little ID bracelet so the kernel knows exactly which object is getting the goodbye π
π DESCRIPTION π
okay so here's the tea π after this function gets called, no further operations are allowed on the object unless you open a brand-new control session. like, she's gone. doors closed. lights off. you cannot just text her again without a whole new conversation, iykyk π
so like, be sure you're done with your DPNI object before you call this, because this is a real "session over" moment, not a "brb" moment. no further operations, fr fr π
β RETURN β
the original page leaves this section, like, completely empty π nothing, nada, blank. so i'm not gonna invent a return value for you β that's not my job, that would be lying, and we don't do that here. just know the section exists and it's giving mysterious silence π
π SEE ALSO π
the kernel file, right here, go look at the source bestie: ./drivers/net/ethernet/freescale/dpaa2/dpni.c
and then the whole squad, in exactly this order, no skipping, we love a complete list π«Ά
dpni_prepare_key_cfg(9)dpni_open(9)dpni_set_pools(9)dpni_enable(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)
π§ quick vibe check:dpni_closeis a closer, so it pairs iconically withdpni_open(9). open the session, do your little tasks, then close it. the circle of life, kernel edition π
and that's the page, bestie!! before you go β the little footer at the bottom of the original says the source file is ./drivers/net/ethernet/freesca... and the date is October 2026. so yeah, October 2026, cut off path and all, we keep it exactly as it is π slay, go close some sessions responsibly πβ¨
π¦ 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