ice_vsi_add_vlan_zero(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ ice_vsi_add_vlan_zero(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual page for ice_vsi_add_vlan_zero(9) β€” manual name folded in right at the top like a lil bookmark πŸŽ€. This is the function that adds VLAN 0 filter(s) for a VSI, and we're gonna get into it.


🌸 NAME 🌸

ice_vsi_add_vlan_zero β€” add VLAN 0 filter(s) for this VSI πŸ’–

✨ SYNOPSIS ✨

int ice_vsi_add_vlan_zero (struct ice_vsi *vsi );

πŸŽ€ ARGUMENTS πŸŽ€

  • vsi β€” VSI used to add VLAN filters 🫢

πŸ’… DESCRIPTION πŸ’…

So in Single VLAN Mode (SVM), single VLAN filters via ICE_SW_LKUP_VLAN are based on the inner VLAN ID, which means the VLAN TPID (i.e. 0x8100 or 0x888a8) doesn't matter. Iconic, honestly. In Double VLAN Mode (DVM), outer/single VLAN filters via ICE_SW_LKUP_VLAN are based on the outer/single VLAN ID + VLAN TPID. Different vibe, different rules ✨.

For both modes, add a VLAN 0 + no VLAN TPID filter to handle untagged traffic when VLAN pruning is enabled. Also, this handles VLAN 0 priority tagged traffic in SVM, since the VLAN TPID isn't part of filtering. Lowkey elegant 😌.

If DVM is enabled, then an explicit VLAN 0 + VLAN TPID filter needs to be added to allow VLAN 0 priority tagged traffic in DVM, since the VLAN TPID is part of filtering. No skipping that part, bestie β€” it's giving required extra step πŸ’….

🌈 SEE ALSO 🌈


mwah πŸ’‹ this page comes from ./drivers/net/ethernet/intel/ice and is dated October 2026 β€” slay, bye bestie! 🫢

πŸ“¦ where this page comes from