dpni_set_link_cfg(9)
π
dpni_set_link_cfg β a.k.a. the dpni_set_link_cfg(9) glow-up
okay so bestie, we're in the Kernel API Manual today (section 9, kernel-space girlies only β¨) and the main character of this page is literally dpni_set_link_cfg β like, it sets the link configuration. that's it, that's the vibe. π
β¨ NAME β¨
dpni_set_link_cfg β set the link configuration. no cap, that's the whole job. π¦
πΈ SYNOPSIS πΈ
int dpni_set_link_cfg (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , const struct dpni_link_cfg *cfg );
she's giving function signature realness π
β returns an int, takes four args, and yes the line breaks are exactly like that, don't come for me, it's the original formatting π«Ά
π ARGUMENTS π
mc_ioβ Pointer to MC portal's I/O object. this is your portal bestie, the doorway to the MC, keep her safe π₯cmd_flagsβ Command flags; one or more ofMC_CMD_FLAG_. mix and match as needed, it's a whole buffet πtokenβ Token of DPNI object. your DPNI's little ID bracelet, iconic πcfgβ Link configuration. the actual config being set, the main character energy of the whole call ngl β
π RETURN π
so bestieβ¦ the original page literally has nothing under RETURN. like, blank. silence. a whole empty section π i'm not gonna invent a return value for you because that would be lying and lying is not slay. the manpage simply does not say. periodt. π
fr fr, don't @ me about the missing return docs β i'm being faithful to the source, that's the whole assignment π
π¦ SEE ALSO π¦
okay this list is long and honestly it ate. every single one of these is a real sibling page, bookmark them all:
- the kernel file itself:
./drivers/net/ethernet/freescale/dpaa2/dpni.cπ 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_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_get_link_cfg(9),dpni_get_link_state(9)β the getter sister of this very page, cute π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)
iykyk, the DPNI family is huge and we love her for it πΈ
π§ sign-off π§
this page came from ./drivers/net/ethernet/freesca... (yes it's truncated in the footer, don't shoot the messenger π) and it's dated October 2026 β future girlie behavior honestly. that's the source/version + date, folded in cute like you asked. bye bestie, go set those link configs π
β¨π
π¦ 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