fcoe_transport_destroy(9)
π fcoe_transport_destroy β destroy a FCoE interface π
okay so this is a page straight out of the Kernel API Manual (kernel docs bestie, we're in the big leagues now) and honestly? it's a little function with a big job. let's get into it π«Ά
β¨ NAME β¨
fcoe_transport_destroy β Destroy a FCoE interface
like, literally. it's the one that tears an FCoE interface down. bye bye π
β¨ SYNOPSIS β¨
int fcoe_transport_destroy (const char *buffer , const struct
kernel_param *kp );
she takes two args and hands you back an int. simple queen π
β¨ ARGUMENTS β¨
bufferβ the name of the Ethernet interface to be destroyed. yes, that's the one getting yeeted. πͺ¦kpβ the associated kernel parameter. it'sconst struct kernel_param *so like, hands off.
β¨ DESCRIPTION β¨
so here's the tea π΅ β this gets called from sysfs. and while it's doing its thing, it holds ft_mutex the entire time it calls the registered fcoe transport's destroy function. so bestie is holding the lock while she works. respect it π«‘
lowkey important: the mutex is held across that destroy call. iykyk.
β¨ RETURN β¨
0 for success π₯
(that's the whole return section. short and iconic. periodt.)
β¨ SEE ALSO β¨
the kernel file, in all her glory:
Kernel file ./drivers/scsi/fcoe/fcoe_transport.c
and then the whole friend group ππ:
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_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_disable(9)fcoe_transport_enable(9)libfcoe_init(9)libfcoe_exit(9)
okay that's the whole page, go read the source babes π
sign-off szn π§: this one lives under ./drivers/scsi/fcoe and it's dated October 2026 β yes, future girlie behaviour. mwah π
π¦ 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