nvfnic_ls_req_send(9)
π
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 π₯
0on 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
- 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