vsc73xx_vlan_commit_pvid(9)
π 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 π¦
- Kernel file
./drivers/net/dsa/vitesse-vsc73xx-core.cπ vsc73xx_vlan_commit_conf(9)vsc73xx_vlan_commit_untagged(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms