dpsw_if_set_link_cfg(9)
π
dpsw_if_set_link_cfg β a dpsw_if_set_link_cfg(9) moment β¨
okay so bestie, welcome to the dpsw_if_set_link_cfg(9) page β that's section 9 of the Kernel API Manual, iykyk π this one's all about setting the link configuration for a DPSW interface, and honestly it's giving "short and iconic." no cap.
πΈ NAME
dpsw_if_set_link_cfg β Set the link configuration. β¨ that's it, that's the whole vibe.
π¦ SYNOPSIS
int dpsw_if_set_link_cfg (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u16 if_id , struct dpsw_link_cfg *cfg );
she takes five arguments and returns an int, periodt π
π ARGUMENTS
here's the group chat roll call β every single one matters, don't skip π«Ά
mc_ioβ Pointer to MC portal's I/O object π literally your portal's I/O handle, the whole entry point to the MC.cmd_flagsβ Command flags; one or more of'MC_CMD_FLAG_'π yes bestie, it's that prefix family.tokenβ Token of DPSW object π₯ the token that identifies your DPSW object.if_idβ Interface id π which interface we're talking about, no ambiguity.cfgβ Link configuration π¦ the actual config you're setting, main character energy fr fr.
π RETURN
not me noticing this section is lowkey empty π there's genuinely nothing documented under RETURN here β no return values listed, no explanation, nada. so I'm not gonna invent one for you, bestie. the manpage simply doesn't say, and that's the tea π
π SEE ALSO
buckle up, because this list ate and left no crumbs β the whole fam is here πΈ first up, the kernel file itself:
- Kernel file
./drivers/net/ethernet/freescale/dpaa2/dpsw.c
then the icons themselves, all section (9) π§:
the OGs of open/close/enable/disable:
irq besties (the interrupt squad):
attributes & api lore:
the interface gang (this page's direct siblings π):
dpsw_if_get_link_state(9),dpsw_if_set_tci(9),dpsw_if_get_tci(9),dpsw_if_set_stp(9),dpsw_if_get_counter(9),dpsw_if_enable(9),dpsw_if_disable(9),dpsw_if_get_attributes(9),dpsw_if_set_max_frame_length(9),dpsw_if_get_port_mac_addr(9)
vlan era π:
dpsw_vlan_add(9),dpsw_vlan_add_if(9),dpsw_vlan_add_if_untagged(9),dpsw_vlan_remove_if(9),dpsw_vlan_remove_if_untagged(9),dpsw_vlan_remove(9)
fdb (forwarding database, she's thorough):
dpsw_fdb_add(9),dpsw_fdb_remove(9),dpsw_fdb_add_unicast(9),dpsw_fdb_dump(9),dpsw_fdb_remove_unicast(9),dpsw_fdb_add_multicast(9),dpsw_fdb_remove_multicast(9)
control interface crew:
dpsw_ctrl_if_get_attributes(9),dpsw_ctrl_if_set_pools(9),dpsw_ctrl_if_set_queue(9),dpsw_ctrl_if_enable(9),dpsw_ctrl_if_disable(9)
misc icons doing their thing β¨:
acl (access control list, the bouncer at the door π ):
dpsw_acl_add(9),dpsw_acl_remove(9),dpsw_acl_add_if(9),dpsw_acl_remove_if(9),dpsw_acl_prepare_entry_cfg(9),dpsw_acl_add_entry(9),dpsw_acl_remove_entry(9)
reflection & lag (the mirror-and-linkage girlies π¦):
all of them are (9) β every single one β because they're all kernel API pages, slay π
and that's the page!! mwah π huge shoutout to the source/version line, which lives at ./drivers/net/ethernet/freesca... (yes it's truncated in the original, don't come for me π) and to the date October 2026 β catch you in the future, bestie β¨ππ«Ά
π¦ 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