fcoe_transport_lookup(9)
π 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 π«Ά:
- Kernel file
./drivers/scsi/fcoe/fcoe_transport.c fcoe_link_speed_update(9)__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_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 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
- 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