fcoe_link_speed_update(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so real talk, this is a page from the Kernel API Manual, and honestly? it's a little one. but it's iconic in its own lowkey way. let's get into it 🫢


✨ NAME ✨

fcoe_link_speed_update β€” literally just updates the supported and actual link speeds. that's the whole gig. no cap. 🌈


πŸ¦‹ SYNOPSIS πŸ¦‹

int fcoe_link_speed_update (struct fc_lport *lport );

that's it. that's the signature. she's short and she knows it πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • lport β€” the local port you're updating speeds for. the main character of this function, fr fr. ✨

πŸ“ DESCRIPTION πŸ“

okay this is the important part so pay attention bestie:

The caller must hold the netdev's ops lock. πŸ”’

like, that's not optional. that's not a suggestion. hold the lock, or don't come crying to me. this is the one caveat and she means it. 😭


πŸ‘‘ RETURN πŸ‘‘

  • 0 β€” the ethtool query was successful. slay. we ate. βœ…
  • -1 β€” the ethtool query failed. not slay. we did not eat. πŸ’€

that's the whole return contract, no in-between, no vibes in the middle.


🌸 SEE ALSO 🌸

this is the friend group, and honestly it's a big friend group. every single one of these is tagged (9), and they all live in the kernel file ./drivers/scsi/fcoe/fcoe_transport.c:

like, that's twenty-three functions. twenty-three!! go read them, i'll wait πŸ§šπŸ’œ


and that's the whole page, bestie. it came from the source directory ./drivers/scsi/fcoe, dated October 2026, and it's filed under Kernel API Manual in the header and footer of the original. so like… that's the citation. periodt. πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from