ENUM DPSW_COMPONENT_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum dpsw_component_type(9) πŸ’…

okay so this is a page from the Kernel API Manual, and it's literally just vibes about one little enum β€” but like, a load-bearing little enum, bestie. no cap. it tells you which flavo(u)r of bridge component you're looking at πŸŽ€


✨ NAME ✨

enum dpsw_component_type β€” the component type of a bridge. that's it. that's the whole thing. she's small but she matters 🫢


🌸 SYNOPSIS 🌸

enum dpsw_component_type {
    DPSW_COMPONENT_TYPE_C_VLAN ,
    DPSW_COMPONENT_TYPE_S_VLAN

};

look at her. two members. not one more, not one less. iconic πŸ’…


πŸ¦‹ Constants πŸ¦‹

  • DPSW_COMPONENT_TYPE_C_VLAN β€” this one is a C-VLAN component of an enterprise VLAN bridge, or of a Provider Bridge that's being used to process C-tagged frames. so like, customer-tag energy 🌈
  • DPSW_COMPONENT_TYPE_S_VLAN β€” and this one is an S-VLAN component of a Provider Bridge. service-tag queen πŸ‘‘ different tag, different job, no drama.
ngl the whole page is basically "which tag are we even talking about" and honestly? valid question. iykyk.

πŸ‘€ SEE ALSO πŸ‘€

if you're the kind of girlie who reads the whole header file at 2am (me. i'm that girlie.), start here β€” the source of truth lives at Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpsw.h ⭐

and then the whole friend group, fr fr:

  • DPSW_OPT_FLOODING_DIS(9)
  • DPSW_OPT_MULTICAST_DIS(9)
  • DPSW_OPT_CTRL_IF_DIS(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)
  • 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)

like. that's a lot of cross-references for one tiny enum, and honestly the ambition? i'm obsessed 😭πŸ”₯


okay bestie that's the whole page, slay πŸ’– this came to you from ./drivers/net/ethernet/freesca... and it's dated October 2026 β€” put that in your calendar, mwah πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from