__fcoe_get_lesb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __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 the lport. 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 🫢:


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