lpfc_nvme_handle_lsreq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay bestie, welcome to lpfc_nvme_handle_lsreq(9) from the Kernel API Manual β€” this is the kernel routine that does Process an unsolicited NVME LS request πŸ’…. The name is literally giving exactly what it does, and we respect that main-character energy.


πŸ“ž SYNOPSIS πŸ“ž

int lpfc_nvme_handle_lsreq (struct lpfc_hba *phba , struct
lpfc_async_xchg_ctx *axchg );

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” pointer to lpfc hba data structure. It’s giving β€œhere’s the HBA context, bestie” 🫢.
  • axchg β€” pointer to exchange context for the NVME LS request. This is the request’s little luggage, okay? 🧳

πŸ’– DESCRIPTION πŸ’–

So, this routine is used for processing an asynchronously received NVME LS request. Any remaining validation is done and the LS is then forwarded to the nvme-fc transport via nvme_fc_rcv_ls_req. Lowkey important, highkey iconic ✨.

The calling sequence should be:

nvme_fc_rcv_ls_req -> (processing) -> lpfc_nvme_xmt_ls_rsp/cmp -> req->done

__lpfc_nvme_xmt_ls_rsp_cmp should free the allocated axchg. That part is not optional, bestie β€” it’s the cleanup vibe check 🫧.

Return vibes, no cap:

  • Returns 0 if LS was handled and delivered to the transport. Slay, delivered βœ….
  • Returns 1 if LS failed to be handled and should be dropped. Not the moment, but we move πŸ’€.

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/scsi/lpfc/lpfc_nvme.c, plus the certified bestie list: lpfc_nvme_create_queue(9), lpfc_nvme_delete_queue(9), __lpfc_nvme_ls_req_cmp(9), __lpfc_nvme_ls_req(9), lpfc_nvme_ls_req(9), __lpfc_nvme_ls_abort(9), lpfc_nvme_ls_abort(9), lpfc_nvme_prep_io_cmd(9), lpfc_nvme_prep_io_dma(9), lpfc_nvme_fcp_io_submit(9), lpfc_nvme_abort_fcreq_cmpl(9), lpfc_nvme_fcp_abort(9), lpfc_release_nvme_buf(9), lpfc_nvme_create_localport(9), lpfc_nvme_destroy_localport(9), lpfc_sli4_nvme_pci_offline_aborted(9), lpfc_sli4_nvme_xri_aborted(9), lpfc_nvme_wait_for_io_drain(9), lpfc_nvme_flush_abts_list(9), lpfc_nvmels_flush_cmd(9) 🌈.


Made with πŸ’– from the source/version stamp ./drivers/scsi/lpfc, dated October 2026, and yes bestie, this page is lpfc_nvme_handle_lsreq(9) β€” bye! πŸŽ€

πŸ“¦ where this page comes from