ENUM DPSW_COMPONENT_TYPE(9)
π 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
- 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