ice_vf_vsi_...cy_vlan_mode(9)
π ice_vf_vsi_...cy_vlan_mode(9)
okay bestie, welcome to the Kernel API Manual β¨ this one's a lil kernel function living in the Intel ice driver, and honestly? it's giving "niche but crucial." let's get into it π«Ά
πΈ NAME πΈ
ice_vf_vsi_cfg_svm_legacy_vlan_mode β configures the VLAN mode for the old-school VFs when SVM is the vibe π
β¨ SYNOPSIS β¨
void ice_vf_vsi_cfg_svm_legacy_vlan_mode (struct ice_vsi *vsi );
she takes exactly one argument, she returns nothing (void), she's lowkey minimal and that's iconic π
π ARGUMENTS π
vsiβ the VF's VSI that's being configured. that's her. that's the one getting the makeover β¨
π¦ DESCRIPTION π¦
okay so listen, because this one comes with conditions π
you should only call this when all three of these are true, no cap:
- Single VLAN Mode (SVM) is enabled
- there is not a port VLAN enabled on this VF
- the VF negotiates
VIRTCHNL_VF_OFFLOAD_VLAN
like, it's a very specific situation and she's the very specific girl for it πββοΈ
here's the tea: all of the normal SVM VLAN ops are literally identical for this case. same energy. the one plot twist? by default, Rx VLAN filtering should be turned off by default in this case. not a bug, not a mistake β that's just how it's supposed to be, periodt π₯
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/ice/ice_vf_vsi_vlan_ops.cβ go read the source, iykyk π ice_vf_vsi_enable_port_vlan(9)ice_vf_vsi_disable_port_vlan(9)ice_vf_vsi_init_vlan_ops(9)ice_vf_vsi_cfg_dvm_legacy_vlan_mode(9)
π«Ά friendly reminder bestie: the whole "no port VLAN + SVM enabled + VIRTCHNL_VF_OFFLOAD_VLAN negotiated" thing isn't a suggestion, it's the whole entry condition. don't skip the vibe check π
and that's the page! brought to you by the good people hanging out in ./drivers/net/ethernet/intel/ice π§ dated October 2026 β mwah, go slay your VLAN configs πβ
π¦ 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