nvfnic_ls_req_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nvfnic_ls_req_send(9) β€” the nvfnic_ls_req_send page, bestie edition πŸŽ€

Okay so real talk, this is a page from the Kernel API Manual and its whole main-character name is nvfnic_ls_req_send ✨ β€” like, that's the function, that's the page, that's the vibe. Let's get into it 🫢


✨ NAME ✨

nvfnic_ls_req_send β€” literally just Send NVMe FC link service (LS) request. That's the whole gig, no cap πŸ’…


🌸 SYNOPSIS 🌸

int nvfnic_ls_req_send (struct nvme_fc_local_port *lport , struct
       nvme_fc_remote_port *rport , struct nvmefc_ls_req *ls_req );

Three pointers walk into a function and the function returns an int. Iconic behavior tbh πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • lport β€” Pointer to local NVMe FC port structure. It's giving "where we're sending from" πŸ’–
  • rport β€” Pointer to remote NVMe FC port structure. And this one's giving "where it's going" 🎯
  • ls_req β€” Pointer to the link service request structure. The actual request itself, the main event, the star of the show ⭐

πŸ’œ DESCRIPTION πŸ’œ

So, what does this cutie actually do? 🌈

This function is used to send link service (LS) commands to an NVMe Discovery Controller for discovery operations, and it also goes out to regular NVMe subsystems during association. Basically it's the social butterfly of the group chat πŸ’ŒπŸ¦‹

It encapsulates the logic for transmitting LS requests over the NVMe over Fabrics (NVMe-oF) FC transport β€” like, all the messy delivery details are handled in here so you don't have to think about them. Obsessed 😭🌸


πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸŽ‰ β€” slay, we ate
  • a negative error code on failure πŸ’€ β€” not slay, but at least you know

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/scsi/fnic/fnic_nvme.c πŸ“ β€” go read the source, iykyk
  • nvfnic_ls_rsp_recv(9) β€” the response-side counterpart, the other half of the convo πŸ«ΆπŸ’¬

Heads up bestie: this page lists exactly these references and this error contract β€” don't go assuming anything fancier, fr fr πŸ™ˆ

And that's the whole thing! This page lives in ./drivers/scsi/fnic and it's dated October 2026 β€” so like, future vibes only 🧚✨ mwah, go ship some LS requests πŸ’…πŸ’–

πŸ“¦ where this page comes from