fbnic_phylink_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” yes this is a section 9 page, yes it's a kernel function, yes you're gonna understand it. Let's go 🫢


🌸 NAME 🌸

fbnic_phylink_create β€” Phylink device creation, aka making a phylink happen πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int fbnic_phylink_create (struct net_device *netdev );

πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the Network Device struct you're attaching the phylink device to. it's literally the main character here πŸ‘‘

🌈 DESCRIPTION 🌈

So what this bad boy does: it initializes and attaches a phylink instance to the device ✨.

That phylink device is gonna make use of the netdev struct to track carrier β€” like it's keeping tabs on the vibe check of your link, fr fr πŸ“‘.

And eventually? it'll be used to expose the current state of the MAC and PCS setup πŸ‘€ iykyk.


πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸŽ‰ (slay)
  • negative on failure 😭 (not slay)

πŸ’œ SEE ALSO πŸ’œ


okay that's the whole page, no cap 🧚 this one came from the source ./drivers/net/ethernet/meta/fbnic and it's dated October 2026 β€” so like, future vibes only ⭐ bye bestie, go create some phylinks πŸ’–πŸŽ€

πŸ“¦ where this page comes from