vsc73xx_vlan_commit_pvid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vsc73xx_vlan_commit_pvid(9) πŸ’…

ok so this is a page from the Kernel API Manual (section 9, kernel-space era ✨) and bestie, it's literally all about giving a port its vibe-check PVID. let's get into it πŸŽ€


✨ NAME ✨

vsc73xx_vlan_commit_pvid β€” the function that updates a port's port-based default VLAN. that's it, that's the whole glow-up πŸ¦‹


🌸 SYNOPSIS 🌸

int vsc73xx_vlan_commit_pvid (struct vsc73xx *vsc , int port );

🫢 ARGUMENTS 🫢

  • vsc β€” the switch's private data structure πŸ’– like, the whole personality holder for this switch.
  • port β€” the port index you're operating on πŸ‘‘ which port are we doing a makeover on, bestie?

πŸ’« DESCRIPTION πŸ’«

so basically, this function updates the PVID of a port so it follows whichever PVID source is currently the main character 😌✨:

  • the bridge PVID configuration, when the bridge is currently VLAN-aware 🧚
  • the PVID from tag_8021q, when the port is standalone or sitting under a VLAN-unaware bridge 🌈

and here's the dramatic part, no cap: a port with no PVID drops all untagged and VID 0 tagged traffic πŸ’€ like, everything just gets ghosted. gone. not invited to the party πŸ™ˆ

you must call this when changes are made to:

  • the bridge VLAN filtering state of the port 🌸
  • the number or attributes of VLANs from the bridge VLAN table, while the port is currently VLAN-aware πŸ”₯

πŸŽ€ RETURN πŸŽ€

0 on success, or a negative errno on error 😭 (iykyk β€” classic kernel energy).


πŸ¦‹ SEE ALSO πŸ¦‹


ok that's the whole thing, periodt πŸ’… go forth and commit those PVIDs, bestie, you're gonna slay ⭐

mwah πŸ’– this masterpiece came from the source tree at ./drivers/net/dsa, dated October 2026, and it's the vsc73xx_vlan_commit_pvid(9) page living its best life in the Kernel API Manual πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from