fcoe_link_speed_update(9)
π fcoe_link_speed_update β a kernel API manual page, bestie edition
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:
__fcoe_get_lesb(9)fcoe_get_lesb(9)fcoe_ctlr_get_lesb(9)fcoe_validate_vport_create(9)fcoe_get_wwn(9)fcoe_fc_crc(9)fcoe_start_io(9)fcoe_clean_pending_queue(9)fcoe_check_wait_queue(9)fcoe_queue_timer(9)fcoe_get_paged_crc_eof(9)fcoe_transport_lookup(9)fcoe_transport_attach(9)fcoe_transport_detach(9)fcoe_netdev_map_lookup(9)fcoe_if_to_netdev(9)libfcoe_device_notification(9)fcoe_transport_create(9)fcoe_transport_destroy(9)fcoe_transport_disable(9)fcoe_transport_enable(9)libfcoe_init(9)libfcoe_exit(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms