STRUCT FCOE_FCF(9)
π struct fcoe_fcf(9) β Fibre-Channel Forwarder π
okay so this is a page from the Kernel API Manual, section 9, and it's all about struct fcoe_fcf β the Fibre-Channel Forwarder. bestie, get comfy, we're going in π«Ά
β¨ NAME β¨
struct fcoe_fcf β Fibre-Channel Forwarder. yes that's the whole name, she's concise, she's iconic π
πΈ SYNOPSIS πΈ
struct fcoe_fcf {
struct list_head list;
struct work_struct event_work;
struct fcoe_ctlr *fip;
struct fcoe_fcf_device *fcf_dev;
unsigned long time;
u64 switch_name;
u64 fabric_name;
u32 fc_map;
u16 vfid;
u8 fcf_mac[ETH_ALEN];
u8 fcoe_mac[ETH_ALEN];
u8 pri;
u8 flogi_sent;
u16 flags;
u32 fka_period;
u8 fd_flags:1;
};
look at her. all those fields. main character energy fr fr π
(and yes, fd_flags really is a 1-bit bitfield, she's tiny but fierce π)
π¦ Members π¦
listβ list linkage. she's linked up, that's her whole job π«event_workβ Work for FC Transport actions queue βοΈfipβ The controller that the FCF was discovered on. iykyk, this is where she was found π΅οΈββοΈfcf_devβ The associatedfcoe_fcf_deviceinstance π«Άtimeβ system time (jiffies) when an advertisement was last received β° ngl this is literally just a timestamp in jiffies, no capswitch_nameβ WWN of switch from advertisement π₯fabric_nameβ WWN of fabric from advertisement πfc_mapβ FC_MAP value from advertisement πΊοΈvfidβ virtual fabric ID πfcf_macβ Ethernet address of the FCF for FIP traffic π¬fcoe_macβ Ethernet address of the FCF for FCoE traffic π¨ (yes bestie, there are TWO macs, don't mix them up π)priβ selection priority, smaller values are better β (so like, be small, be powerful)flogi_sentβ current FLOGI sent to this FCF π€flagsβ flags received from advertisement π©fka_periodβ keep-alive period, in jiffies π (again: jiffies, not seconds, don't come for me)fd_flagsβ no need for FKA from ENode π
πΌ Description πΌ
A Fibre-Channel Forwarder (FCF) is the entity on the Ethernet that passes FCoE frames on to an FC fabric. that's the whole vibe β she's the middlewoman, the connector, the one who gets your frames where they need to go π
This structure represents one FCF from which advertisements have been received. one FCF, one struct, periodt π
When looking up an FCF, switch_name, fabric_name, fc_map, vfid, and fcf_mac together form the lookup key. so like β all five of those, together, no skipping, that's the combo that unlocks her π
π SEE ALSO π
- Kernel file
./include/scsi/libfcoe.h enum fip_state(9)struct fcoe_ctlr(9)fcoe_ctlr_priv(9)struct fcoe_rport(9)is_fip_mode(9)struct fcoe_percpu_s(9)struct fcoe_port(9)fcoe_get_netdev(9)struct fcoe_netdev_mapping(9)
go read those too bestie, the whole friend group is a slay πΈβ¨
ngl, everything here lives in./include/scsiand this page is dated October 2026, from the Kernel API Manual,struct fcoe_fcf(9)β mwah, bye, go read your headers ππ
π¦ 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