libfcoe_device_notification(9)
π libfcoe_device_notification β bestie's guide to net device events π
okay so real talk, this one is a kernel API manual page (section 9, the kernel API manual vibe), and the function is literally called libfcoe_device_notification. it's giving "small function, big job" energy tbh π
β¨ NAME β¨
libfcoe_device_notification β the handler for net device events, periodt π
πΈ SYNOPSIS πΈ
int libfcoe_device_notification (struct notifier_block *notifier , ulong event , void *ptr );
that's the whole signature bestie, no cap. int going in, int coming back out π«Ά
π¦ ARGUMENTS π¦
notifierβ the context of the notification π like, the little bundle of info that tells you what's upeventβ the type of event π which flavour of thing happenedptrβ the net device that the event was on π¦ yep, that net device, the one that did the thing
π DESCRIPTION π
so here's the tea β β this function gets called by the Ethernet driver in case of a link change event. that's it, that's the whole job. the Ethernet driver rings it up when the link changes and this function picks up the phone πβ¨
no extra lore, no bonus behaviour, no secret side quests. literally just: link changes β driver calls this. iconic behaviour honestly π
β RETURN β
0β for success β that's it, that's the whole return situation.0for success, bestie π
π₯ SEE ALSO π₯
π the kernel file in question π
./drivers/scsi/fcoe/fcoe_transport.cβ yes, that's the file, and yes you should go read it π§
π
the whole friend group (all of these are (9) pages) π
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)fcoe_transport_create(9)fcoe_transport_destroy(9)fcoe_transport_disable(9)fcoe_transport_enable(9)libfcoe_init(9)libfcoe_exit(9)
like, that is a packed see-also section, and honestly? they all ate ππ₯
tiny reminder bestie: this page lives in ./drivers/scsi/fcoe, so if you're lost, that's where home is π π
and that's the page!! it comes to you from the ./drivers/scsi/fcoe corner of the kernel, dated October 2026, and it's the libfcoe_device_notification(9) page β go forth and handle those net device events, you've got this π«Άπβ¨
π¦ 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