ENUM DPSW_STP_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum dpsw_stp_state(9) β€” the STP state enum, explained

okay bestie so this page is from the Kernel API Manual, and it's all about enum dpsw_stp_state β€” like, the Spanning Tree Protocol (STP) states. yes that's the thing that stops your switches from making a loop and having a whole meltdown 😭 it's giving "network self-care" fr fr.


✨ SYNOPSIS ✨

here's the whole enum, exactly as it lives, no notes:

enum dpsw_stp_state {
    DPSW_STP_STATE_DISABLED ,
    DPSW_STP_STATE_LISTENING ,
    DPSW_STP_STATE_LEARNING ,
    DPSW_STP_STATE_FORWARDING ,
    DPSW_STP_STATE_BLOCKING

};

like… five states, one enum, main character energy πŸ‘‘


πŸŽ€ Constants πŸŽ€

these are the members, and ngl the names are lowkey self-explanatory, but let's go through them anyway because that's the assignment πŸ’–

  • DPSW_STP_STATE_DISABLED β€” the Disabled state. it's not doing STP things, it's on do-not-disturb πŸ¦‹
  • DPSW_STP_STATE_LISTENING β€” the Listening state. it's listening, bestie, it's in its "just vibing and taking it all in" era 🌸
  • DPSW_STP_STATE_LEARNING β€” the Learning state. gathering info, being a little student, iconic πŸŽ€
  • DPSW_STP_STATE_FORWARDING β€” the Forwarding state. it's forwarding, it's slaying, traffic is moving πŸ”₯
  • DPSW_STP_STATE_BLOCKING β€” the Blocking state. blocking, but like, in the STP way β€” not the petty way πŸ’€

🌈 SEE ALSO 🌈

first up, the kernel file where all this lives:

./drivers/net/ethernet/freescale/dpaa2/dpsw.h

and then the whole friend group 🫢 β€” every single one of these, no skips:

  • 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)
  • struct dpsw_stp_cfg(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)

lowkey a whole reading list, but that's how you get fluent in dpsw, bestie. one manpage at a time πŸ’œ

🌸 okay that's the page!! it's from ./drivers/net/ethernet/freesca... and the date on it is October 2026 β€” yes, the future, she's ahead of her time ⭐ and the footer says enum dpsw_stp_state(9), which is literally just the page coming back to say hi again on its way out. periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from