ENUM DPSW_FLOOD_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum dpsw_flood_type(9) β€” the DPSW flood-type enum, explained πŸ¦‹

okay bestie, so this page lives in the Kernel API Manual, and it's literally just here to define one tiny enum. no cap, it's small, but it's important. let me walk you through it 🫢


✨ NAME ✨

enum dpsw_flood_type β€” this is the thing that defines the flood type of a DPSW object. that's it, that's the whole job. main character energy for a typedef, honestly πŸ‘‘


🌸 SYNOPSIS 🌸

here's the literal shape of it, copy-pasted exactly so nobody comes for me:

enum dpsw_flood_type {
    DPSW_BROADCAST ,
    DPSW_FLOODING

};

like… two constants, vibes immaculate, semicolon placement a little quirky (the space before the comma? we don't talk about it πŸ™ˆ), but it's iconic and it works.


πŸŽ€ Constants πŸŽ€

  • DPSW_BROADCAST β€” this one is the broadcast flooding option. bestie said "send it to everybody" and honestly, slay πŸ’…
  • DPSW_FLOODING β€” and this one is unknown flooding. yes, the name is literally "unknown", and no, that's not me being shady, that's just what the source says 😭
keep the two separate in your head, okay? one is broadcast, one is unknown flooding. the docs don't elaborate, so neither will I β€” no inventing lore fr fr 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

where does this live and what's it hanging out with? buckle up, this list is long and every single one of these made the cut πŸ’–

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)
  • 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)
  • 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 the whole friend group right there. iykyk 🧚


okay that's the page!! short, sweet, two constants deep πŸ’€ ngl it's giving "tiny enum, huge ecosystem". anyway β€” this one's brought to you by the source ./drivers/net/ethernet/freesca... and dated October 2026, so go forth and flood responsibly bestie πŸ“πŸ’œ

πŸ“¦ where this page comes from