STRUCT FCOE_INTERFACE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this page is struct fcoe_interface β€” and it's literally just A FCoE interface πŸ’… that's the whole name section, bestie, we move.

(also hi, this is from the Kernel API Manual β€” page struct fcoe_interface(9), section 9, we love a section 9 moment 🫢)


✨ SYNOPSIS ✨

here's the whole struct, no cap, copy it exactly how it is:

struct fcoe_interface {
    struct list_head   list;
    struct net_device  *netdev;
    struct net_device  *realdev;
    struct packet_type fcoe_packet_type;
    struct packet_type fip_packet_type;
    struct packet_type fip_vlan_packet_type;
    struct fc_exch_mgr *oem;
    u8 removed;
    u8 priority;
 };

like… look at her. main character struct energy πŸ”₯


πŸŽ€ Members πŸŽ€

ok so these are the fields and what they actually do, let me break it down for you πŸ‘‡

  • list β€” the handle for a list of FCoE interfaces. she's on a list, she's booked and busy πŸ¦‹
  • netdev β€” the associated net device. her ride-or-die netdev πŸ’–
  • fcoe_packet_type β€” FCoE packet type πŸŽ€
  • fip_packet_type β€” FIP packet type ✨
  • oem β€” the offload exchange manager for all the local port instances associated with this port. yes, all of them, she manages the whole friend group πŸ‘‘
  • removed β€” indicates the fcoe interface was removed from the net device. sad girl hours, but it's a flag so it's fine 😭
  • priority β€” priority for the FCoE packet (DCB). and just so you know: this structure is 1:1 with a net device β€” one struct, one net device, monogamy fr fr 🫢
tiny heads up bestie: you probs peeped realdev and fip_vlan_packet_type up in the struct β€” they're for sure in there, they're just not spelled out in this Members list, so I'm not gonna make stuff up about them. iykyk πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

  • the kernel file ./drivers/scsi/fcoe/fcoe.h β€” go read it, it's giving source of truth πŸ“‚
  • fcoe_netdev(9) β€” her sister page, say hi πŸ’œ

alright bestie that's the page!! πŸ’– she lives under ./drivers/scsi/fcoe, this version is dated October 2026, and the page itself is struct fcoe_interface(9) β€” slay, mwah, go read fcoe.h βœ¨πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from