ice_vsi_ena_outer_insertion(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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