dpsw_ctrl_if_get_attributes(9)
π dpsw_ctrl_if_get_attributes β NAME π
okay so bestie, welcome to the Kernel API Manual β¨ β this page is all about dpsw_ctrl_if_get_attributes, and what it does is Obtain control interface attributes. that's the whole vibe. it goes and gets you the attributes of the control interface. icon status, no cap π
πΈ SYNOPSIS πΈ
int dpsw_ctrl_if_get_attributes (struct fsl_mc_io *mc_io , u32 cmd_flags
, u16 token , struct dpsw_ctrl_if_attr *attr );
that's the signature, copy it exactly, do not freestyle it π
π¦ ARGUMENTS π¦
four of them, let's meet the cast π«Ά
mc_ioβ Pointer to MC portal's I/O object. yeah, the portal thing. you know the one π₯cmd_flagsβ Command flags; one or more of'MC_CMD_FLAG_'. one or more, she's flexible like that β¨tokenβ Token of DPSW object. literally the DPSW object's token, that's it πattrβ Returned control interface attributes. this one's the output β the attributes come back through here, main character energy fr fr π
π§ RETURN π§
soβ¦ the original page just puts the heading and then nothing. like, zero. blank. the section is there but there's no documented return info behind it π i'm not gonna make something up, because guessing at return values is not the move. if the page doesn't say, i don't say π
β SEE ALSO β
Kernel file: ./drivers/net/ethernet/freescale/dpaa2/dpsw.c β that's the one, bestie, go read her π
and now the full friend group, every single one, in order, exactly as listed π«Ά
dpsw_open(9)dpsw_close(9)dpsw_enable(9)dpsw_disable(9)dpsw_reset(9)dpsw_set_irq_enable(9)dpsw_set_irq_mask(9)dpsw_get_irq_status(9)dpsw_clear_irq_status(9)dpsw_get_attributes(9)dpsw_if_set_link_cfg(9)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_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)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)dpsw_ctrl_if_set_pools(9)dpsw_ctrl_if_set_queue(9)dpsw_get_api_version(9)dpsw_if_get_port_mac_addr(9)dpsw_ctrl_if_enable(9)dpsw_ctrl_if_disable(9)dpsw_set_egress_flood(9)dpsw_if_set_learning_mode(9)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)dpsw_set_reflection_if(9)dpsw_if_add_reflection(9)dpsw_if_remove_reflection(9)dpsw_lag_set(9)dpsw_if_set_lag_state(9)
that's fifty-three whole functions btw, she's popular π
quick vibe check bestie: everything here is exactly what the page says. no invented flags, no guessed return values, no extra tips presented as fact. i keep it cute, but i keep it honest π
π okay that's the page!! π
as for the sign-off β the footer's source path got cuter than a crop top with ./drivers/net/ethernet/freesca..., the date is October 2026, and the page name is dpsw_ctrl_if_get_attributes(9), all of which is literally right here so you never have to hunt for it πΈπ¦. mwah, go get those attributes, bestie β you're gonna 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