STRUCT FCOE_PORT(9)
πΈ NAME πΈ
Okay so, from the Kernel API Manual, this is struct fcoe_port β the FCoE private structure, bestie. Thatβs the whole vibe: itβs the private struct for FCoE, and yes, itβs iconic. π
β¨ SYNOPSIS β¨
struct fcoe_port {
void *priv;
struct fc_lport *lport;
struct sk_buff_head fcoe_pending_queue;
u8 fcoe_pending_queue_active;
u32 max_queue_depth;
u32 min_queue_depth;
struct timer_list timer;
struct work_struct destroy_work;
u8 data_src_addr[ETH_ALEN];
struct net_device * (*get_netdev)(const struct fc_lport *lport);
};
π Members π
privβ the associated fcoe interface. The structure is defined by the low level driver. π«Άlportβ the associated local port.fcoe_pending_queueβ the pending Rx queue of skbs. Literally the skb waiting room. πfcoe_pending_queue_activeβ indicates if the pending queue is active.max_queue_depthβ max queue depth of pending queue.min_queue_depthβ min queue depth of pending queue.timerβ the queue timer. β°destroy_workβ handle for work context (to prevent RTNL deadlocks). Important little anti-deadlock icon.data_src_addrβ source address for data.get_netdevβ function that returns anet_devicefromlport.
π¦ Description π¦
An instance of this structure is to be allocated along with the Scsi_Host and libfc fc_lport structures. Thatβs the tea. β
π SEE ALSO π
Kernel file ./include/scsi/libfcoe.h β go look at enum fip_state(9), struct fcoe_ctlr(9), fcoe_ctlr_priv(9), struct fcoe_fcf(9), struct fcoe_rport(9), is_fip_mode(9), struct fcoe_percpu_s(9), fcoe_get_netdev(9), and struct fcoe_netdev_mapping(9). All the friends are here. π
Signed with source-path energy from ./include/scsi, dated October 2026, and starring struct fcoe_port(9) β mwah, bestie πβ¨
π¦ 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