dpsw_vlan_re..._if_untagged(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpsw_vlan_re..._if_untagged(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” yes the page name is literally truncated with ... in it, dpsw_vlan_remove_if_untagged would not fit in the header, and honestly? iconic of it. no cap, this is the manual for dpsw_vlan_remove_if_untagged, so let's get into it 🫢


🌸 NAME 🌸

dpsw_vlan_remove_if_untagged β€” defines the set of interfaces that should be converted from being transmitted as untagged to transmitting as tagged. yup, that's the whole vibe of this function πŸ’–


⭐ SYNOPSIS ⭐

int dpsw_vlan_remove_if_untagged (struct fsl_mc_io *mc_io , u32
cmd_flags , u16 token , u16 vlan_id , const struct dpsw_vlan_if_cfg *cfg
);

πŸŽ€ ARGUMENTS πŸŽ€

okay so every single one of these matters, don't skip a single one:

  • mc_io β€” pointer to the MC portal's I/O object. it's giving "the door you have to walk through" πŸšͺ
  • cmd_flags β€” command flags, and it's one or more of 'MC_CMD_FLAG_' β€” plural, bestie, you can stack em πŸ’…
  • token β€” the token of the DPSW object. that's your little ID badge for this object πŸͺͺ
  • vlan_id β€” the VLAN Identifier, obviously 🏷️
  • cfg β€” the set of interfaces that should be removed. like, the guest list, but for interfaces getting kicked out of untagged mode πŸ™ˆ

πŸ’€ DESCRIPTION πŸ’€

here's the part where you gotta pay attention, fr fr: the interfaces that this API provides have to belong to this VLAN and have to be configured as untagged. if they're not? an error is returned, the command is ignored, and honestly that's so valid of it. no exceptions, no vibes-based workarounds 😭

lowkey a vibe check for your interfaces: wrong VLAN or wrong tagging config β†’ error, command ignored, periodt. πŸ”₯

🌈 RETURN 🌈

completion status, bestie. '0' on success β€” slay! β€” and an error code otherwise. that's it, that's the whole return contract πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

starting with the kernel file itself:

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

and then the entire friend group, in order, no one left out (i would never):

like i said β€” the whole group chat πŸ’œ


and that's the page, bestie! πŸŽ€ sign-off time: this lil masterpiece comes from <pink>./drivers/net/ethernet/freesca...</pink> (the source path is also truncated in the footer, she's shy ✨) and it's dated October 2026 β€” go off, calendar icon πŸ‘‘πŸ’…

πŸ“¦ where this page comes from