fcoe_validate_vport_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fcoe_validate_vport_create β€” the Kernel API Manual, bestie edition ✨

okay so real talk, this page lives in the Kernel API Manual and it's literally called fcoe_validate_vport_create(9). say it with me. it's a vibe.


🌸 NAME 🌸

fcoe_validate_vport_create β€” bestie, this is the vibe check you run on a vport before you let it exist πŸ’–


✨ SYNOPSIS ✨

int fcoe_validate_vport_create (struct fc_vport *vport );

like, that's the whole signature. she's short. she's iconic. she returns an int. periodt.


πŸŽ€ ARGUMENTS πŸŽ€

  • vport β€” the NPIV port that's about to be created πŸ¦‹ (yes, this one, the one you're validating, keep up)

πŸ’« DESCRIPTION πŸ’«

okay so here's the tea β˜• β€” this routine is meant to add validation for a vport before you go and create it via fcoe_vport_create. it's the bouncer at the club door fr fr. she checks your fit before you get in.

the validations she's doing right now (yes, currently, as in today, as in this is the list):

  • the WWPN you supplied is unique for the given lport πŸ‘‘ β€” that's it, that's the whole guest list. one rule. not me hyping up a single validation πŸ’€ but honestly? a queen does one thing and does it well.
ngl, "current validations are" is doing a lot of heavy lifting here β€” the list is short but the intent is that this is where validation lives. don't come for her.

πŸ”₯ SEE ALSO πŸ”₯

first up, the kernel file herself: ./drivers/scsi/fcoe/fcoe_transport.c πŸ“ (go read it, iykyk)

and now the whole friend group, in order, no one gets left out 🫢:

fcoe_link_speed_update(9), __fcoe_get_lesb(9), fcoe_get_lesb(9), fcoe_ctlr_get_lesb(9), fcoe_get_wwn(9), fcoe_fc_crc(9), fcoe_start_io(9), fcoe_clean_pending_queue(9), fcoe_check_wait_queue(9), fcoe_queue_timer(9), fcoe_get_paged_crc_eof(9), fcoe_transport_lookup(9), fcoe_transport_attach(9), fcoe_transport_detach(9), fcoe_netdev_map_lookup(9), fcoe_if_to_netdev(9), libfcoe_device_notification(9), fcoe_transport_create(9), fcoe_transport_destroy(9), fcoe_transport_disable(9), fcoe_transport_enable(9), libfcoe_init(9), libfcoe_exit(9)

like… the whole squad showed up. every single one of them. no cap. 🌈


and that's the page!! πŸŽ€ cute sign-off time: this lil beauty comes from ./drivers/scsi/fcoe and she's dated October 2026 β€” remember her name, fcoe_validate_vport_create(9), mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from