STRUCT FCOE_NETDEV_MAPPING(9)
π 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β thenet_device. literally the network device itself, sitting there being anet_device, iconic as always π¦ftβ thefcoe_transportassociated withnetdev. so whatevernetdevyou got up there, this is its assignedfcoe_transportpartner. 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:
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)struct fcoe_port(9)fcoe_get_netdev(9)
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
- 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