ice_vsi_set_outer_port_vlan(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_vsi_set_outer_port_vlan(9)

okay so bestie, welcome to the Kernel API Manual, section 9 β€” this is the page for ice_vsi_set_outer_port_vlan, and honestly? it's giving "small function, big rules." let's get into it πŸŽ€


✨ NAME ✨

ice_vsi_set_outer_port_vlan β€” the public version of __ice_vsi_set_outer_port_vlan. that's it, that's the name. the underscore-to-double-underscore pipeline is real, iykyk πŸ’…


🌸 SYNOPSIS 🌸

int ice_vsi_set_outer_port_vlan (struct ice_vsi *vsi , struct ice_vlan *vlan );

like, she takes two pointers and hands you back an int. classic. no cap.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • vsi β€” the VSI you're configuring, bestie. this is the thing getting the glow-up.
  • vlan β€” the ice_vlan structure used to set the port VLAN. she's the payload. she's the moment. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

so what she actually does: she sets the outer port VLAN via the VSI context. that's the whole vibe check.

now the important part, and i need you to hear me on this 🚨 β€” this function should only be used if DVM is supported. no DVM? no dice. periodt.

also, and this is the big one: this function should never be called directly. like, never. it should be part of ice_vsi_vlan_ops if it's needed. so if you're out here calling it straight-up in your own code, that's not main character energy, that's a bug. 😭

what she does do: she takes the ice_vlan structure you passed in and uses it to set this VSI into a port VLAN. use the struct, set the VLAN, slay.

lowkey crucial recap: DVM required, don't call it directly, goes through ice_vsi_vlan_ops when it's actually needed.

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file that lives at ./drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c β€” go read it, it ate πŸ’–

and the whole friend group:


⭐ and that's the page!! sourced fresh from ./drivers/net/ethernet/intel/ice, dated October 2026, still living under the name ice_vsi_set_outer_port_vlan(9). go forth and please don't call her directly πŸ’œβœ¨

πŸ“¦ where this page comes from