dpni_remove_vlan_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, we're in the Kernel API Manual today and the star of the show is dpni_remove_vlan_id(9). Yes the title is a mouthful, yes it's iconic, and yes it does exactly one thing: it takes a VLAN ID filter and yeets it into the void. πŸ¦‹


✨ NAME ✨

dpni_remove_vlan_id β€” Remove VLAN ID filter πŸ’€

like, that's it. that's the whole job. it removes the VLAN ID filter. slay.


πŸŽ€ SYNOPSIS πŸŽ€

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

it returns an int, bestie. keep that in your notes. 🫢


🌸 ARGUMENTS 🌸

four args, four vibes, let's go:

  • mc_io β€” Pointer to MC portal's I/O object. this is your portal, your main character entrance, your way in. ✨
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'. so it's giving "pick your flags, one or more, from the MC_CMD_FLAG_ family". ngl just use the ones that exist.
  • token β€” Token of DPNI object. it's the token, it's the DPNI's little name tag, don't lose it. πŸŽ€
  • vlan_id β€” VLAN ID to remove. this is the one. the whole reason we're here. the filter getting uninvited from the party. πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

the original page has this section and then... nothing. empty. not a single word. so the honest answer is: there's literally nothing listed here, and I'm not about to make something up fr fr. the source says what the source says πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

first up, the file this lives in, for the girlies who like to read the source:

  • Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.c

and now the full friend group β€” every single one of them, no skips, no skimming:

hot tip from your girl: dpni_add_vlan_id(9) is literally the sibling of this one. one adds, one removes. balance. harmony. the circle of life. 🌈

and that's the page, bestie. this one came from ./drivers/net/ethernet/freesca... (yes it's truncated in the footer, yes I'm keeping it real with you 🫢), October 2026 edition, and it's filed under dpni_remove_vlan_id(9). mwah, go remove some VLAN IDs, you're doing amazing πŸ’…β­

πŸ“¦ where this page comes from