fcoe_interface_create(9)
π fcoe_interface_create(9) π
okay so this is a page from the Kernel API Manual, and bestie, it's a whole moment. it's short, it's sweet, and it's literally the birth of an FCoE interface on a net device. let's get into it π
β¨ NAME β¨
fcoe_interface_create β create a FCoE interface on a net device π¦
like, that's the whole gig. it makes the thing. main character energy fr.
πΈ SYNOPSIS πΈ
struct fcoe_interface * fcoe_interface_create (struct net_device *netdev
, enum fip_mode fip_mode );
ok so it hands you back a pointer to a struct fcoe_interface, and you feed it a net device plus a FIP mode. slay.
π ARGUMENTS π
netdevβ the net device you're building this FCoE interface on top of. that's the canvas, the stage, the whole venue πfip_modeβ the mode to use for FIP. it's giving "you pick the vibe, i'll handle the rest" β¨
β RETURN β
you get a pointer to a struct fcoe_interface β or NULL on error π so like, always check, no cap. a NULL is not the moment to be delulu.
side note bestie: NULL means error here, not "oops try again later", so handle it and don't just vibes-only through it π
π SEE ALSO π
ok this section is long, like a whole group chat, but every single one of these is part of the family, so here we go. the source lives in the kernel file ./drivers/scsi/fcoe/fcoe.c β that's the mothership π
fcoe_interface_setup(9)fcoe_interface_remove(9)fcoe_interface_cleanup(9)fcoe_fip_recv(9)fcoe_fip_vlan_recv(9)fcoe_port_send(9)fcoe_fip_send(9)fcoe_update_src_mac(9)fcoe_get_src_mac(9)fcoe_lport_config(9)fcoe_netdev_config(9)fcoe_shost_config(9)fcoe_fdmi_info(9)fcoe_oem_match(9)fcoe_em_config(9)fcoe_if_destroy(9)fcoe_ddp_setup(9)fcoe_ddp_target(9)fcoe_ddp_done(9)fcoe_if_create(9)fcoe_if_init(9)fcoe_if_exit(9)fcoe_rcv(9)fcoe_alloc_paged_crc_eof(9)fcoe_xmit(9)fcoe_filter_frames(9)fcoe_recv_frame(9)fcoe_receive_work(9)fcoe_dev_setup(9)fcoe_dev_cleanup(9)fcoe_device_notification(9)fcoe_disable(9)fcoe_enable(9)fcoe_ctlr_enabled(9)fcoe_ctlr_mode(9)fcoe_destroy(9)fcoe_destroy_work(9)fcoe_match(9)fcoe_dcb_create(9)_fcoe_create(9)fcoe_create(9)fcoe_ctlr_alloc(9)fcoe_link_ok(9)fcoe_percpu_clean(9)fcoe_reset(9)fcoe_hostlist_lookup_port(9)fcoe_hostlist_lookup(9)fcoe_hostlist_add(9)fcoe_hostlist_del(9)fcoe_init(9)fcoe_exit(9)fcoe_flogi_resp(9)fcoe_logo_resp(9)fcoe_vport_create(9)fcoe_vport_destroy(9)fcoe_vport_remove(9)fcoe_vport_disable(9)fcoe_set_vport_symbolic_name(9)fcoe_set_port_id(9)
likeβ¦ that's the whole roster, iykyk π₯ read them, love them, they're all doing their little jobs.
that's the page bestie, short and iconic, no notes π this one came out of ./drivers/scsi/fcoe, dated October 2026 β mwah, mwah, and goodnight ππ«Ά
π¦ 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