dpsw_vlan_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpsw_vlan_remove β€” the dpsw_vlan_remove(9) glow-up

ok so bestie, this is a page from the Kernel API Manual β€” section 9, kernel developer stuff, iykyk. It's called dpsw_vlan_remove, and the whole entire vibe is "yeet a whole VLAN into the sun." One call, one VLAN, gone. Periodt.


✨ NAME ✨

dpsw_vlan_remove β€” remove an entire VLAN. that's it. that's the function. no cap. 🧚


🌸 SYNOPSIS 🌸

int dpsw_vlan_remove (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , u16 vlan_id );

like, look at her. four params, returns an int. main character energy honestly πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mc_io β€” pointer to the MC portal's I/O object. this is your little handle to the portal, she's the plug πŸ”Œ
  • cmd_flags β€” command flags; one or more of 'MC_CMD_FLAG_'. yes literally the flags, plural posibilities, go off ⭐
  • token β€” token of DPSW object. your DPSW's little ID bracelet, don't lose it πŸ’–
  • vlan_id β€” VLAN Identifier. which VLAN we're removing bestie, be specific 🌈

πŸ”₯ RETURN πŸ”₯

Completion status. '0' on Success; error code otherwise.

so like β€” 0 = slay, anything else = the universe said no 😭


πŸ‘‘ SEE ALSO πŸ‘‘

first off, the source of all this: kernel file ./drivers/net/ethernet/freescale/dpaa2/dpsw.c

and now the whole squad, literally every single one, no skips, we're not doing that here 🫢


ngl bestie, if you only remember one thing: dpsw_vlan_remove removes an entire VLAN. not a little piece. the whole thing. πŸ’€

ok that's the page!! mwah πŸ’œ this lil beauty lives in ./drivers/net/ethernet/freesca... (the path gets cut off in the footer, iconic behaviour honestly 😭) and it's dated October 2026. version? the manual header just says dpsw_vlan_remove(9) on repeat β€” she's consistent, we love that for her πŸŽ€βœ¨

πŸ“¦ where this page comes from