ice_vsi_ena_outer_insertion(9)
π ice_vsi_ena_outer_insertion β like, the whole kernel API manual vibe β¨
okay so bestie, we're deep in the ice driver today β this is page ice_vsi_ena_outer_insertion(9) from the Kernel API Manual, and honestly? she's niche but she's iconic. buckle up π
πΈ NAME πΈ
ice_vsi_ena_outer_insertion β enable outer VLAN insertion. that's it, that's the whole job. slay π
β¨ SYNOPSIS β¨
int ice_vsi_ena_outer_insertion (struct ice_vsi *vsi , u16 tpid );
π¦ ARGUMENTS π¦
vsiβ the VSI you're configuring, bestie. that's the thing you're touching.tpidβ the TPID you wanna enable outer VLAN insertion for. like, the specific tag protocol identifier. no cap.
π DESCRIPTION π
so the tea is: this function enables outer VLAN insertion via VSI context. super straightforward, right? well β plot twist β there are rules π«Ά
rule number one: this should only be used if DVM is supported. if DVM isn't in the picture, this is not the function for you, bestie.
rule number two: this should never be called directly. nope. not ever. it should be part of ice_vsi_vlan_ops if it's needed. it's giving "backstage pass only" energy π
and here's the part where you gotta pay attention, because the VSI context only supports a single TPID for insertion and stripping. so setting the TPID for insertion will affect the TPID for stripping too. the way that they're literally entangled π callers need to be aware of this limitation β it's a real one, not a cute little quirk.
okay but what does it actually touch? only the outer VLAN insertion settings and the VLAN TPID. outer VLAN stripping settings are unmodified β left completely alone, untouched, unbothered, thriving. β¨
and the payoff? this allows a VLAN tag with the specified TPID to be inserted in the transmit descriptor. iconic behaviour honestly π₯
π SEE ALSO π
kernel file ./drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c
and her whole friend group, fr fr:
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_dis_outer_insertion(9)__ice_vsi_set_outer_port_vlan(9)ice_vsi_set_outer_port_vlan(9)ice_vsi_clear_outer_port_vlan(9)
and that's the page, bestie π§π this one lives at ./drivers/net/ethernet/intel/ice, dated October 2026, and yes β it's ice_vsi_ena_outer_insertion(9) all the way down. mwah ππΈ
π¦ 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