fcoe_transport_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fcoe_transport_lookup(9) β€” a Kernel API Manual moment

okay so bestie, welcome to fcoe_transport_lookup(9), straight out of the Kernel API Manual β€” yes it's giving "section 9, kernel internals, do not touch unless you know what you're doing" and honestly? iconic. πŸŽ€


✨ NAME ✨

fcoe_transport_lookup β€” the little function that goes hunting for an fcoe transport that matches a netdev πŸ”πŸ’–

🌸 SYNOPSIS 🌸

struct fcoe_transport * fcoe_transport_lookup (struct net_device *netdev
);

like literally that's the whole signature, no cap. it hands you back a struct fcoe_transport *. 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” the netdev you're looking for, and it's gonna be checked against, like, all the attached transports. it's the main character of this search ngl πŸ‘‘

⭐ RETURN ⭐

a pointer to the fcoe transport that supports this netdev β€” slay, we found her πŸ’… β€” or NULL if it's not found 😭 (yes, NULL is a real possibility, check your return value fr fr).

πŸ”₯ DESCRIPTION πŸ”₯

okay so the vibe here is short but load-bearing: the ft_mutex should be held when this is called.

bestie. hold the ft_mutex. this is not a suggestion-style moment, it's the documented requirement β€” don't be the one who calls this without it πŸ™ˆ

🌈 SEE ALSO 🌈

the whole friend group, in order, no one left out 🫢:


and that's the whole page, bestie β€” go forth and look up your transports responsibly πŸ§šπŸ’œ

shoutout to the source dir ./drivers/scsi/fcoe, dated October 2026, living in the Kernel API Manual β€” mwah, bye πŸ’‹βœ¨

πŸ“¦ where this page comes from