i40e_pci_sriov_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i40e_pci_sriov_enable(9) β€” bestie edition πŸ’–

okay so picture this: it's the Kernel API Manual, and the main character of this page is i40e_pci_sriov_enable(9). She's a function, she lives in the i40e driver, and she's about to make your SR-IOV era happen. let's get into it πŸ¦‹


✨ SYNOPSIS ✨

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

like, that's the whole signature. short, iconic, no notes πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • pdev β€” a pointer to a pci_dev structure. yes bestie, the actual PCI device struct, she's the one holding the vibes 🌸
  • num_vfs β€” the number of VFs to allocate. that's how many virtual functions you're asking for, fr fr πŸ”₯

πŸ‘‘ DESCRIPTION πŸ‘‘

Enable or change the number of VFs.

that's it. that's the whole description. lowkey legendary of her to be this concise 🫢

like β€” she enables them, or she changes how many there are. either way, VFs are happening. periodt ✨


🌈 SEE ALSO 🌈

okay this is the part where the page goes full group-chat-tag-list. every single one of these is (9), and yes we're keeping all of them because we do NOT leave anyone on read πŸ’–

the kernel file, first and foremost:

  • Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c β€” the actual home address of this whole situation πŸŽ€

the link-state / notify / reset girlies:

the id-checkers (they WILL check your id):

queues, rdma qvlist, and vsi resources:

mappings, vf resources, and the pci quiesce moment:

vlan filters, promisc, and the reset squad:

the alloc/free/configure trio (her siblings honestly):

message-sending & version & frame size:

the msg handlers, part one:

the msg handlers, part two:

mac & vlan & rdma msgs:

rss & vlan stripping (the glamour corner):

cloud filters, all of them:

processing, validation, timeouts:

the ndo gang + trust + stats (saving the best for last, obviously):

iykyk, that's 95 cross-references and every single one made the cut. no cap. πŸ’€

🫢 the sign-off 🫢

this lil beauty comes to you straight from ./drivers/net/ethernet/intel/i40e, dated October 2026, and she answers to i40e_pci_sriov_enable(9). go enable some VFs bestie, you got this πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from