i40e_check_vf_permission(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

i40e_check_vf_permission(9) β€” welcome to the Kernel API Manual page, bestie. The original NAME line is just i40e_check_vf_permission - with nothing after the dash, so that's the whole name vibe. πŸ’… No extra subtitle, no cap.

🌸 SYNOPSIS 🌸

int i40e_check_vf_permission (struct i40e_vf *vf , struct
       virtchnl_ether_addr_list *al );

πŸŽ€ ARGUMENTS πŸŽ€

  • vf β€” pointer to the VF info. 🫢
  • al β€” MAC address list from virtchnl. πŸ’Œ

πŸ’… DESCRIPTION πŸ’…

So the mission, bestie: Check that the given list of MAC addresses is allowed. Will return -EPERM if any address in the list is not valid. It checks the following conditions:

  1. broadcast and zero addresses are never valid β€” literally never, okay? πŸ’€
  2. unicast addresses are not allowed if the VMM has administratively set the VF MAC address, unless the VF is marked as privileged. β€” periodt, that's the rule. πŸ‘‘
  3. There is enough space to add all the addresses. β€” yes, the space check is part of the vibe. ✨
⚠️ bestie, note that to guarantee consistency, it is expected this function be called while holding the mac_filter_hash_lock, as otherwise the current number of addresses might not be accurate. Hold the lock, fr fr. πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, bestie πŸ«ΆπŸ’– β€” source/version vibe: ./drivers/net/ethernet/intel/i40e, date: October 2026. i40e_check_vf_permission(9) signing off. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from