dpsw_fdb_remove_multicast(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpsw_fdb_remove_multicast(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the glow-up of dpsw_fdb_remove_multicast(9), straight out of the Kernel API Manual. this one is short but she is mighty, and she's about kicking interfaces out of a multicast group that already exists. no cap, that's the whole vibe. πŸ¦‹


πŸŽ€ NAME πŸŽ€

dpsw_fdb_remove_multicast β€” literally removing interfaces from an existing multicast group. that's it, that's the function. periodt. πŸ’…


✨ SYNOPSIS ✨

int dpsw_fdb_remove_multicast (struct fsl_mc_io *mc_io , u32 cmd_flags ,
u16 token , u16 fdb_id , const struct dpsw_fdb_multicast_cfg *cfg );

yes, she returns an int. yes, the const struct is doing its little read-only moment. we love a const-correct icon. πŸ‘‘


🌸 ARGUMENTS 🌸

  • mc_io β€” Pointer to MC portal's I/O object. your lil handle to the I/O world, she's the main character here 🫢
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'. pick your flags, stack 'em up, go off ⭐
  • token β€” Token of DPSW object. that's the DPSW's little ID bracelet, don't lose it πŸ’–
  • fdb_id β€” Forwarding Database Identifier. which FDB are we messing with, bestie? πŸŽ€
  • cfg β€” Multicast entry configuration. all the config details, wrapped up cute πŸ’œ

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” the interfaces you're trying to remove via this API have to already exist in the group. like, they gotta be there for real. if one of them isn't? an error gets returned and the entire command is ignored. yes, ALL of it. ngl, it's giving all-or-nothing energy 😭

and if, after all your removal moment, there's no interface left in the group? the entire group gets deleted. poof. gone. she said "no members, no group, bye" πŸ’€


🌈 RETURN 🌈

Completion status. '0' on success; error code otherwise. so like, 0 = slay ✨, anything else = read the error code and try again, bestie πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpsw.c dpsw_open(9), dpsw_close(9), dpsw_enable(9), dpsw_disable(9), dpsw_reset(9), dpsw_set_irq_enable(9), dpsw_set_irq_mask(9), dpsw_get_irq_status(9), dpsw_clear_irq_status(9), dpsw_get_attributes(9), dpsw_if_set_link_cfg(9), dpsw_if_get_link_state(9), dpsw_if_set_tci(9), dpsw_if_get_tci(9), dpsw_if_set_stp(9), dpsw_if_get_counter(9), dpsw_if_enable(9), dpsw_if_disable(9), dpsw_if_get_attributes(9), dpsw_if_set_max_frame_length(9), dpsw_vlan_add(9), dpsw_vlan_add_if(9), dpsw_vlan_add_if_untagged(9), dpsw_vlan_remove_if(9), dpsw_vlan_remove_if_untagged(9), dpsw_vlan_remove(9), dpsw_fdb_add(9), dpsw_fdb_remove(9), dpsw_fdb_add_unicast(9), dpsw_fdb_dump(9), dpsw_fdb_remove_unicast(9), dpsw_fdb_add_multicast(9), dpsw_ctrl_if_get_attributes(9), dpsw_ctrl_if_set_pools(9), dpsw_ctrl_if_set_queue(9), dpsw_get_api_version(9), dpsw_if_get_port_mac_addr(9), dpsw_ctrl_if_enable(9), dpsw_ctrl_if_disable(9), dpsw_set_egress_flood(9), dpsw_if_set_learning_mode(9), dpsw_acl_add(9), dpsw_acl_remove(9), dpsw_acl_add_if(9), dpsw_acl_remove_if(9), dpsw_acl_prepare_entry_cfg(9), dpsw_acl_add_entry(9), dpsw_acl_remove_entry(9), dpsw_set_reflection_if(9), dpsw_if_add_reflection(9), dpsw_if_remove_reflection(9), dpsw_lag_set(9), dpsw_if_set_lag_state(9)

like, that's a whole friend group right there. go say hi. iykyk 🧚


bestie reminder: if even one interface in your cfg isn't already in the group, the whole command bounces. check your members first, don't get got πŸ’€

and that's the page, babes πŸ“ β€” brought to you by ./drivers/net/ethernet/freesca..., dated October 2026, filed under dpsw_fdb_remove_multicast(9). mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from