STRUCT DPSW_STP_CFG(9)
π struct dpsw_stp_cfg(9) β the kernel API manual, bestie edition π
okay so bestie, welcome to the struct dpsw_stp_cfg page from the Kernel API Manual β¨ this one is short and sweet and honestly? it's giving minimal queen energy π it's the Spanning Tree Protocol (STP) Configuration struct, and yes, that's literally what the NAME section says, no cap π«Ά
β¨ SYNOPSIS β¨
here's the whole vibe, copy-paste it exactly bestie, don't be weird about the braces:
struct dpsw_stp_cfg {
u16 vlan_id;
enum dpsw_stp_state state;
};
that's it. two members. small but mighty π
πΈ Members πΈ
vlan_idβ the VLAN ID STP state π¦ like, this is the VLAN ID whose STP state you're talking about, iykykstateβ the STP state β that's it, that's the member, the STP state itself, lowkey iconic in its simplicity
π¦ SEE ALSO π¦
bestie the see-also list here is long, like it ate and left no crumbs π₯ every single one, in order, no skipping, periodt:
- Kernel file
./drivers/net/ethernet/freescale/dpaa2/dpsw.h DPSW_OPT_FLOODING_DIS(9)DPSW_OPT_MULTICAST_DIS(9)DPSW_OPT_CTRL_IF_DIS(9)enum dpsw_component_type(9)enum dpsw_flooding_cfg(9)enum dpsw_broadcast_cfg(9)DPSW_IRQ_EVENT_LINK_CHANGED(9)DPSW_IRQ_EVENT_ENDPOINT_CHANGED(9)struct dpsw_irq_cfg(9)struct dpsw_attr(9)struct dpsw_ctrl_if_attr(9)struct dpsw_ctrl_if_pools_cfg(9)enum dpsw_action(9)struct dpsw_link_cfg(9)struct dpsw_link_state(9)struct dpsw_tci_cfg(9)enum dpsw_stp_state(9)enum dpsw_accepted_frames(9)enum dpsw_counter(9)struct dpsw_if_attr(9)struct dpsw_vlan_cfg(9)struct dpsw_vlan_if_cfg(9)enum dpsw_fdb_entry_type(9)struct dpsw_fdb_unicast_cfg(9)struct fdb_dump_entry(9)struct dpsw_fdb_multicast_cfg(9)enum dpsw_learning_mode(9)struct dpsw_fdb_attr(9)struct dpsw_fdb_cfg(9)enum dpsw_flood_type(9)struct dpsw_acl_cfg(9)struct dpsw_acl_if_cfg(9)struct dpsw_acl_fields(9)struct dpsw_acl_key(9)enum dpsw_acl_action(9)struct dpsw_acl_result(9)struct dpsw_acl_entry_cfg(9)enum dpsw_reflection_filter(9)struct dpsw_reflection_cfg(9)struct dpsw_lag_cfg(9)
go read those if you're nosy, i know you are π
π§ random aside: the footer on this page points at ./drivers/net/ethernet/freesca... (truncated by the manpage formatter, not by me, don't come for me π) β so if you're hunting the source, that's your breadcrumb trail π
and that's the whole page babes π straight from the source, dated October 2026, footer reading ./drivers/net/ethernet/freesca... October 2026 struct dpsw_stp_cfg(9) β slay, go touch some VLANs, mwah π
β¨
π¦ 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