__fcoe_get_lesb(9)
π
__fcoe_get_lesb (9) β from the Kernel API Manual, bestie π«Ά
okay so picture this: you're deep in the kernel, you've got an FCoE local port, and you need its Link Error Status Block. that's the whole vibe of this page. welcome to the group chat, pull up a chair β¨
β¨ NAME β¨
__fcoe_get_lesb β grab the Link Error Status Block (LESB) for a given lport. literally that's it, that's the function π
π¦ SYNOPSIS π¦
void __fcoe_get_lesb (struct fc_lport *lport , struct fc_els_lesb
*fc_lesb , struct net_device *netdev );
so it returns void (no return value, she's giving "I do the work, I don't do the receipts" energy π
) and it takes three args, all pointers. iconic.
π ARGUMENTS π
lportβ the local port you're updating speeds for. she's the main character here πfc_lesbβ a pointer to the LESB that's gonna get filled up. yes bestie, filled up. it's an output situation πnetdevβ a pointer to the netdev that's associated with thelport. they're a package deal, iykyk π
πΈ DESCRIPTION πΈ
okay so heads up, this is the important lore: the Link Error Status Block (LESB) for FCoE is defined in FC-BB-6 Clause 7.11 in v1.04. that's the spec, that's the source of truth, no cap. πβ¨
ngl if you're out here guessing at LESB layout instead of checking FC-BB-6 Clause 7.11 in v1.04, that's on you π
π SEE ALSO π
first up, the actual kernel file this lives in:
- Kernel file
./drivers/scsi/fcoe/fcoe_transport.c
and then the whole friend group β the FCoE / libfcoe squad, all present and accounted for, nobody left behind π«Ά:
fcoe_link_speed_update(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)
and that's the page, bestie!! π§β¨ this lil masterpiece lives in ./drivers/scsi/fcoe and it's dated October 2026 β go off, calendar icon π
π mwah, study hard, and may all your LESBs be correctly clause-referenced π
π¦ 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