lpfc_fdmi_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_fdmi_cmd(9) β€” the Kernel API Manual glow-up

okay so bestie, welcome to the lpfc_fdmi_cmd page from the Kernel API Manual ✨ this is the little function that builds a FDMI cmd and yeets it over to whichever NPort you point at. she's giving lowkey legend energy and honestly? we stan. πŸŽ€


✨ NAME ✨

lpfc_fdmi_cmd β€” build and send a FDMI cmd to the specified NPort πŸ¦‹

✨ SYNOPSIS ✨

int lpfc_fdmi_cmd (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp
, int cmdcode , uint32_t new_mask );

like, that's the whole thing. she's compact. she's iconic. periodt. πŸ’…

✨ ARGUMENTS ✨

  • vport β€” pointer to a host virtual N_Port data structure. yes bestie, that's your vport, she's the main character here πŸ‘‘
  • ndlp β€” the ndlp you wanna send the FDMI cmd to (and if it's NULL, it falls back to FDMI_DID, no cap πŸ™ˆ)
  • cmdcode β€” the FDMI command to send. pick your fighter πŸ”₯
  • new_mask β€” mask of HBA or PORT Attributes to send. it's giving very "choose your own adventure" 🌸

✨ DESCRIPTION ✨

Builds and sends a FDMI command using the CT subsystem πŸ’– that's it, that's the vibe β€” construct it, ship it, CT subsystem handles the rest. slay. ⭐

✨ SEE ALSO ✨

the kernel file ./drivers/scsi/lpfc/lpfc_ct.c and honestly her whole friend group 🫢:


ngl bestie, just know that if you pass NULL as ndlp it's not a mistake β€” that's literally the documented fallback to FDMI_DID. so don't panic 😭

and that's a wrap on the lpfc_fdmi_cmd(9) page!! 🧚 source/version vibes come courtesy of ./drivers/scsi/lpfc, and the date stamp is October 2026 β€” yes, we're time-traveling, don't ask πŸ’œ bye bestie, go build some FDMI cmds ✨🌈

πŸ“¦ where this page comes from