STRUCT FCOE_NETDEV_MAPPING(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct fcoe_netdev_mapping(9) β€” Kernel API Manual, bestie edition ✨

okay so picture this: we're deep in the kernel API manual, struct fcoe_netdev_mapping(9) era, and this little struct is literally the matchmaker of the FCoE world πŸ’– It's a mapping from &net_device to &fcoe_transport, and yes that ampersand is doing heavy lifting, we respect it 🫢


🌸 NAME 🌸

struct fcoe_netdev_mapping β€” a mapping from &net_device to &fcoe_transport. that's it, that's the whole vibe check, it's giving "netdev, meet transport" ✨


πŸŽ€ SYNOPSIS πŸŽ€

struct fcoe_netdev_mapping {
    struct list_head list;
    struct net_device *netdev;
    struct fcoe_transport *ft;
 };

no cap, that's the entire shape of it. three fields, zero drama πŸ”₯


πŸ‘‘ Members πŸ‘‘

okay so these are the actual members, and honestly? each one ate πŸ’…

  • list β€” the list linkage of the mappings. it's the little chain-link that keeps all the mappings connected to each other, main character energy but in a "holds the group together" way 🌈
  • netdev β€” the net_device. literally the network device itself, sitting there being a net_device, iconic as always πŸ¦‹
  • ft β€” the fcoe_transport associated with netdev. so whatever netdev you got up there, this is its assigned fcoe_transport partner. it's giving soulmate matching, fr fr πŸ’œ
also real quick: these are members, not options, so there's nothing to set or toggle here. it's a struct. you just look at it and go "oh, okay, slay" 😭

πŸ’€ SEE ALSO πŸ’€

the kernel file ./include/scsi/libfcoe.h is where all of this lives, and then the whole squad shows up in the reference list β€” go read these next, iykyk:

that's nine references and every single one of them is invited to the group chat πŸ§šβ€β™€οΈ


and that's the page!! πŸ’– this whole thing ships out of ./include/scsi (the source, periodt) and it's dated October 2026, with struct fcoe_netdev_mapping(9) stamped on the footer like a little signature. stay hydrated, go read your headers, and remember: netdev-to-transport mappings are lowkey the most wholesome thing in the kernel πŸ“βœ¨

πŸ“¦ where this page comes from