ice_sriov_configure(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_sriov_configure(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for ice_sriov_configure(9) β€” yes it's a real function name and yes it's a mouthful, we're slaying anyway 🫢


✨ NAME ✨

ice_sriov_configure β€” the girl who turns VFs on, or changes how many of them there are, all via sysfs πŸ’…


🌸 SYNOPSIS 🌸

int ice_sriov_configure (struct pci_dev *pdev , int num_vfs );

πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” a pointer to a pci_dev structure. literally just the PCI device we're doing all this to πŸ¦‹
  • num_vfs β€” how many VFs you wanna allocate, or 0 if you're freeing VFs (bye bye VFs πŸ‘‹)

πŸ’œ DESCRIPTION πŸ’œ

so this function gets called when the user goes and updates the number of VFs in sysfs. main character of the VF-count-update moment, no cap.

on success? it returns whatever num_vfs was set to by the caller. ate and left no crumbs ✨

on failure? it returns a negative value. not slay. 😭


🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/net/ethernet/intel/ice/ice_sriov.c β€” go look, iykyk πŸ‘‘

and here's the whole friend group, every single one of them, i'm not skipping anybody bestie:

ngl that's a LOT of cross-references, but every single one is here so the vibe check passes πŸ’―

and that's the whole page, bestie πŸ’– this icon of a manpage came from ./drivers/net/ethernet/intel/ice and it's dated October 2026 β€” periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from