cxgb4_port_viid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cxgb4_port_viid β€” get the VI id of a port

okay so bestie, welcome to the Kernel API Manual ✨ this one is short and sweet and honestly kind of a little icon. it's cxgb4_port_viid, and it does exactly one (1) thing, and it does it flawlessly. no cap.


✨ SYNOPSIS ✨

unsigned int cxgb4_port_viid (const struct net_device *dev );

that's it. that's the whole vibe. one function, one arg, returns an unsigned int. slay πŸŽ€


🫢 ARGUMENTS 🫢

  • dev β€” the net device for the port. literally just hand it the struct net_device * for whichever port you're curious about and it's like "say less" πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the whole entire job here: it returns the VI id of the given port. that's the description. that's the mission. it's giving "small function, big main character energy" πŸ‘‘ and honestly we love a single-responsibility queen.

no side quests, no surprises, no hidden behaviour β€” you give it a port, you get the VI id back. periodt. πŸ’…

ngl the manpage is literally four lines long and I respect the confidence so much 😭

🌈 SEE ALSO 🌈

the kernel file lives right here, bestie:

./drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c

and here's the whole friend group β€” go say hi 🫢:


anyway that's the whole page, you ate that πŸ’– it's from ./drivers/net/ethernet/chelsio... and it's dated October 2026 β€” so like, future energy, iykyk ⭐ πŸ¦‹ see you in the next manpage bestie, mwah πŸŽ€πŸ’œ

πŸ“¦ where this page comes from