STRUCT DPSW_FDB_MULTICAST_CFG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct dpsw_fdb_multicast_cfg(9) πŸ’–

okay so this is a page from the Kernel API Manual, and it's all about one lil struct, no cap. bestie, meet struct dpsw_fdb_multicast_cfg β€” it's literally the glow-up blueprint for a multicast entry in the FDB. she's small, she's iconic, she holds everything the kernel needs to know about one multicast record πŸŽ€


✨ NAME ✨

struct dpsw_fdb_multicast_cfg β€” "Multi-cast entry configuration", and yes that hyphen is canon, we don't touch it πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct dpsw_fdb_multicast_cfg {
    enum dpsw_fdb_entry_type type;
    u8 mac_addr[6];
    u16 num_ifs;
    u16 if_id[DPSW_MAX_IF];
};

look at her. four fields. zero notes. main character energy fr fr 🌸


πŸ’œ Members πŸ’œ

okay let's go through the squad one by one, iykyk:

  • type β€” the vibe check for the entry: you're picking whether it's a static entry or a dynamic one. choose wisely bestie πŸ‘‘
  • mac_addr β€” the MAC address, plain and simple. six bytes of pure identity. it's giving "who even am I" but in hex πŸ™ˆ
  • num_ifs β€” how many interfaces are in on this, both the external ones and the internal ones. count 'em, don't skip 'em πŸ”₯
  • if_id β€” the egress interface IDs, stored in a DPSW_MAX_IF-sized array. this is the "where do we actually send this" list, and she's got room for the whole crew πŸ’…
ngl there is genuinely nothing else on this page β€” that's the whole struct. short page, huge slay ⭐

🌈 SEE ALSO 🌈

the little kernel file that started it all lives right here, no cap:

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

and here's the full group chat β€” every single one of these is invited 🫢:

  • 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)
  • 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)

that's the whole thing bestie, we ate and left zero crumbs πŸ’– stay hydrated, go read your kernel headers, periodt ✨

signed off with love from ./drivers/net/ethernet/freesca... β€” October 2026 edition πŸ§šβ€β™€οΈ
πŸ“¦ where this page comes from