ice_pci_sriov_ena(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_pci_sriov_ena β€” Kernel API Manual ✨

okay so bestie, welcome to ice_pci_sriov_ena(9) πŸŽ€ β€” this is a page from the Kernel API Manual and it's literally all about flipping on SR-IOV and/or changing how many VFs you're rolling with. no cap, it's a short one, but it's iconic for what it does. πŸ¦‹


🌸 SYNOPSIS 🌸

int ice_pci_sriov_ena (struct ice_pf *pf , int num_vfs );

like, that's the whole signature. so clean. πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • pf β€” a pointer to the PF structure, aka the Physical Function. that's your main character, the parent of all the VFs. πŸ‘‘
  • num_vfs β€” the number of VFs you wanna allocate. this is the "how many little besties am I spawning" number. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

so what does it return, you ask? it's giving:

  • 0 on success ✨ β€” slay, it worked.
  • negative on failure πŸ’€ β€” not slay, something went sideways.

and that's genuinely it fr fr. no extra lore in this one, that's the whole description. πŸ™ˆ


🌈 SEE ALSO 🌈

okay so this list is LONG and honestly kind of iconic β€” every single one of these is a sibling function in the ice family, and you should absolutely go read them if you're doing SR-IOV stuff. iykyk. 🧚

  • the source file itself lives at ./drivers/net/ethernet/intel/ice/ice_sriov.c ⭐

and now the whole friend group, in order, no skips, no cuts:

(a yes, __ice_set_vf_mac(9) with the double underscore β€” that's not a typo, that's the lowkey internal one. 🫢)


and that's the page bestie!! πŸŽ€ source is ./drivers/net/ethernet/intel/ice, dated October 2026, and it's all filed under ice_pci_sriov_ena(9). eat it up, periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from