ice_vf_vsi_init_vlan_ops(9)
π ice_vf_vsi_init_vlan_ops(9) π
okay so bestie, welcome to the Kernel API Manual entry for ice_vf_vsi_init_vlan_ops β yes that name is a mouthful, yes it's iconic, no you don't have to say it out loud. π«Ά
β¨ NAME β¨
ice_vf_vsi_init_vlan_ops β literally just sets up the default VSI VLAN ops for a VF VSI. that's the whole vibe check. π
πΈ SYNOPSIS πΈ
void ice_vf_vsi_init_vlan_ops(struct ice_vsi *vsi);
π¦ ARGUMENTS π¦
vsiβ the VF's VSI that's being configured, aka the main character of this whole function. π«
π DESCRIPTION π
okay so here's the tea. β
If Double VLAN Mode (DVM) is enabled, this function assumes the VF supports the new VIRTCHNL_VF_VLAN_OFFLOAD_V2 capability and sets up the VLAN ops accordingly. slay. π
If SVM is enabled, it maintains the same level of VLAN support as before VIRTCHNL_VF_VLAN_OFFLOAD_V2 existed. no upgrades, no downgrades, just keeping it exactly how it was. periodt.
π₯ SEE ALSO π₯
So the kernel file lives at ./drivers/net/ethernet/intel/ice/ice_vf_vsi_vlan_ops.c β write that down bestie, iykyk. π
And these are its besties, fr fr:
ice_vf_vsi_enable_port_vlan(9)ice_vf_vsi_disable_port_vlan(9)ice_vf_vsi_cfg_dvm_legacy_vlan_mode(9)ice_vf_vsi_cfg_svm_legacy_vlan_mode(9)
π quick reminder: this is a void function, so like, don't go looking for a return value. there isn't one. she doesn't do that. π
and that's the whole page! π brought to you by the fine folks over at ./drivers/net/ethernet/intel/ice, dated October 2026 β mwah, love u, go read some kernel source ππ§ββοΈβ
π¦ 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