ice_vf_has_max_vlans(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, welcome to ice_vf_has_max_vlans(9), straight outta the Kernel API Manual. This function is literally here to check if a VF already has the max allowed VLAN filters. πŸ’…

✨ SYNOPSIS ✨

bool ice_vf_has_max_vlans (struct ice_vf *vf , struct ice_vsi *vsi );

πŸŽ€ ARGUMENTS πŸŽ€

  • vf β€” the VF to check against.
  • vsi β€” the VF's VSI.

πŸ’… DESCRIPTION πŸ’…

Okay so, if the VF is trusted then the VF is allowed to add as many VLANs as it wants to, so return false. Periodt. ✨

When the VF is untrusted, compare the number of non-zero VLANs + 1 to the max allowed VLANs for an untrusted VF. Return the result of this comparison. 🫢

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/net/ethernet/intel/ice/virt/virtchnl.c

Also, these cross-refs are giving linked-list energy, and we are obsessed:

Mwah πŸ’‹ β€” cute little footer sign-off: source/version ./drivers/net/ethernet/intel/i..., date October 2026. Bye bestie, go slay those VLAN checks! 🫢

πŸ“¦ where this page comes from