i40e_compute_pci_to_hw_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_compute_pci_to_hw_id(9) β€” Kernel API Manual ✨

okay bestie, welcome to the i40e extended universe 🌈 quick little function, but listen β€” the SEE ALSO list at the bottom is not little, it's the whole family tree, and we're gonna look at every single cousin. no skipping. periodt πŸ’…


🌸 NAME

i40e_compute_pci_to_hw_id β€” compute index form PCI function. (yes, "form", that's what it says, we don't fix the docs, we respect the docs 🫢)


✨ SYNOPSIS

u32 i40e_compute_pci_to_hw_id (struct i40e_vsi *vsi , struct i40e_hw *hw
);

it takes two pointers and hands you back a u32. iconic signature, no notes πŸ’–


πŸŽ€ ARGUMENTS

  • vsi β€” ptr to the VSI to read from. πŸ¦‹ that's your virtual station interface, the thing you're peeking at.
  • hw β€” ptr to the hardware info. πŸ”₯ that's the hardware struct, all the juicy device deets live in there.
literally both are just pointers bestie, no values to pass, just vibes and addresses πŸ‘‘

πŸ’– SEE ALSO

first up, the mothership β€” the kernel file these all live in:

./drivers/net/ethernet/intel/i40e/i40e_main.c

and now… the roll call 😭 grab a snack, this is long, but every single one is invited to the party:

and THAT'S the whole guest list πŸŽ‰ every one of them cross-referenced, every one of them in the building. no cap πŸ’€


okay that's the page bestie, mwah 🫢 this iconic little drop came straight out of ./drivers/net/ethernet/intel/i40e, dated October 2026 β€” i40e_compute_pci_to_hw_id(9), signing off πŸ’–βœ¨

πŸ“¦ where this page comes from