ice_vf_vsi_...cy_vlan_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ice_vf_vsi_cfg_dvm_legacy_vlan_mode(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’… this one's a deep cut from the ice driver and it's giving "niche but essential," honestly iconic.


🌸 NAME 🌸

ice_vf_vsi_cfg_dvm_legacy_vlan_mode β€” sets up the VLAN mode for the old-school VFs when you're running in DVM 🫢


πŸŽ€ SYNOPSIS πŸŽ€

void ice_vf_vsi_cfg_dvm_legacy_vlan_mode (struct ice_vsi *vsi );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • vsi β€” the VF's VSI that's getting configured, that's the one we're dressing up ✨

πŸ’– DESCRIPTION πŸ’–

so here's the vibe check πŸ‘‘ β€” you should only call this when all three of these are true, no cap:

  • Double VLAN Mode (DVM) is enabled βœ…
  • there is not a port VLAN enabled on this VF βœ…
  • and the VF negotiates VIRTCHNL_VF_OFFLOAD_VLAN βœ…

if any of those is a no, this function is not the main character, okay? πŸ™ˆ

what it actually does: it sets up the VF VSI's inner and outer ice_vsi_vlan_ops, and also initializes software only VLAN mode (i.e. allow all VLANs) πŸŽ€ literally that simple.

and the last bit is kind of the genius part ngl β€” for any functions that might get called during the lifetime of the VF, it uses no-op implementations, so those methods do nothing and just... succeed 🧚 lowkey the dream coping mechanism fr fr πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

go read the whole squad, they ate πŸ’…πŸŒˆ


fr fr: this came from ./drivers/net/ethernet/intel/ice, dated October 2026, and the header was ice_vf_vsi_...cy_vlan_mode(9) β€” mwah, periodt, hope this helped bestie πŸ“πŸ’œ
πŸ“¦ where this page comes from