ixgbe_get_f...ondary_devfn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ixgbe_get_first_secondary_devfn πŸ’–

okay bestie, welcome to the Kernel API Manual (section 9, obviously) β€” this is the page for ixgbe_get_first_secondary_devfn, and yes the title up top is truncated because apparently manpage headers have a character limit and no aesthetic sense. Anyway. Let's get into it πŸŽ€


✨ NAME ✨

ixgbe_get_first_secondary_devfn β€” get first device downstream of root port πŸ‘‘

Like, it goes and finds the first thing living under a root port. The head of the downstream friend group, if you will 🫢


🌸 SYNOPSIS 🌸

struct pci_dev * ixgbe_get_first_secondary_devfn (unsigned int devfn );

She takes one unsigned int, she hands you back a struct pci_dev *. Simple. Elegant. Iconic πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • devfn β€” the PCI_DEVFN of the root port on domain 0, bus 0. That's it, that's the whole input. Domain zero, bus zero energy ✨

πŸ’œ DESCRIPTION πŸ’œ

Returns a pci_dev pointer to PCI_DEVFN(0, 0) on the subordinate side of the root β€” on domain 0, bus 0, with devfn = devfn.

So like. You give her the root port's devfn, and she points you at the very first device sitting downstream of that root port. No cap, that's the whole job πŸ”₯


⭐ SEE ALSO ⭐

The source lives in the kernel file ./drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c β€” go say hi to her siblings, there's genuinely so many, she has a huge family πŸ‘‘


lowkey a whole directory of them, but every single one ate πŸ’€ go read them all, iykyk

mwah πŸ’‹ that's the page! Sourced from ./drivers/net/ethernet/intel/i..., dated October 2026, and filed under ixgbe_get_f...ondary_devfn(9) because the header is a serial killer for long names 😭 slay, bye bestie! πŸŒˆπŸ’–

πŸ“¦ where this page comes from