ice_vsi_set_outer_port_vlan(9)
π 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β theice_vlanstructure 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:
validate_vlan(9)ice_vsi_add_vlan(9)ice_vsi_del_vlan(9)ice_vsi_manage_vlan_insertion(9)ice_vsi_manage_vlan_stripping(9)__ice_vsi_set_inner_port_vlan(9)ice_cfg_vlan_pruning(9)tpid_to_vsi_outer_vlan_type(9)ice_vsi_ena_outer_stripping(9)ice_vsi_dis_outer_stripping(9)ice_vsi_ena_outer_insertion(9)ice_vsi_dis_outer_insertion(9)__ice_vsi_set_outer_port_vlan(9)β the double-underscore OG herselfice_vsi_clear_outer_port_vlan(9)
β 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
- 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