fcoe_oem_match(9)
π fcoe_oem_match(9) β the Kernel API Manual glow-up π
okay so bestie, welcome to the fcoe_oem_match page from the Kernel API Manual β¨ this one is short and sweet and honestly kind of iconic β it's the little matchmaker function that decides whether an offloaded exchange manager gets the packet or not. let's get into it π
β¨ NAME β¨
fcoe_oem_match β the match routine for the offloaded exchange manager π
π¦ SYNOPSIS π¦
bool fcoe_oem_match (struct fc_frame *fp );
πΈ ARGUMENTS πΈ
fpβ the I/O frame π like, the actual frame we're deciding about
π DESCRIPTION π
so this routine gets associated with an exchange manager (aka an EM, iykyk). when the libfc exchange handling code is out here looking for an EM to use, it calls this routine and hands it the frame it wants to send π«Ά
this routine returns True if the associated EM is the one to be used, and False if the echange code should keep looking for an EM. (yes, "echange" β that's how it's spelled in the source, not me being chaotic, okay π)
the offload EM that this routine is associated with will handle any packets that are for SCSI read requests πβ¨
and plot twist β this has been enhanced to work when the FCoE stack is operating in target mode π₯ she's versatile!
β RETURN β
True for read types I/O, otherwise returns false. no cap π―
π SEE ALSO π
the kernel file ./drivers/scsi/fcoe/fcoe.c and honestly the whole friend group:
fcoe_interface_setup(9)fcoe_interface_create(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_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)
π reminder bestie: this page lives in the kernel tree at ./drivers/scsi/fcoe, so go touch grass in that directory if you need more context π±
and that's the whole page, bestie β slay π
β¨ dropping from ./drivers/scsi/fcoe, dated October 2026, in the Kernel API Manual, fcoe_oem_match(9) herself. 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