lpfc_fcp_io_cmd_wqe_cmpl(9)
π lpfc_fcp_io_cmd_wqe_cmpl(9) β complete a FCP IO, bestie
okay so this is a page from the Kernel API Manual (yes the actual manual name, we're fancy) and it's all about the function lpfc_fcp_io_cmd_wqe_cmpl. it lives in the kernel, it's doing SCSI things, and honestly it's giving "quietly holding the whole storage stack together" energy. let's get into it π
πΈ NAME πΈ
lpfc_fcp_io_cmd_wqe_cmpl β Complete a FCP IO. that's it, that's the whole name. short, sweet, iconic. π
β¨ SYNOPSIS β¨
void lpfc_fcp_io_cmd_wqe_cmpl (struct lpfc_hba *phba , struct lpfc_iocbq
*pwqeIn , struct lpfc_iocbq *pwqeOut );
so it returns void (no return value, it just does the thing and dips, main character behavior honestly), and it takes three pointers. pointer girlies rise π«Ά
π¦ ARGUMENTS π¦
phbaβ the hba for which this call is being executed. like, the host bus adapter that's out here living its life and running this call. that's the one πpwqeInβ the command WQE for the scsi cmnd. the incoming one. the "what are we even doing here" WQE. π₯pwqeOutβ pointer to driver response WQE object. the reply. the "here's what actually went down" WQE. π€
π§ DESCRIPTION π§
bestie, listen. this routine assigns the scsi command result by looking into the response WQE status field β appropriately, might i add, no cap. it's literally reading the status field and setting the result accordingly, that's the whole vibe. π₯
and it doesn't stop there! this routine also handles the QUEUE FULL condition, and the way it does that is by ramping down the device queue depth. so when the queue is like "girl i literally cannot", this function is the one that's like "okay okay, slowing it down". iconic. periodt. π
π SEE ALSO π
okay this is the part where the manpage just absolutely goes off β the see-also list is long and it's all in the kernel file ./drivers/scsi/lpfc/lpfc_scsi.c. grab a snack, we're doing all of them, no skipping:
lpfc_sli4_set_rsp_sgl_last(9)lpfc_rampdown_queue_depth(9)lpfc_ramp_down_queue_handler(9)lpfc_scsi_dev_block(9)lpfc_new_scsi_buf_s3(9)lpfc_sli4_vport_delete_fcp_xri_aborted(9)lpfc_sli4_io_xri_aborted(9)lpfc_get_scsi_buf_s3(9)lpfc_get_scsi_buf_s4(9)lpfc_get_scsi_buf(9)lpfc_release_scsi_buf_s3(9)lpfc_release_scsi_buf_s4(9)lpfc_release_scsi_buf(9)lpfc_fcpcmd_to_iocb(9)lpfc_scsi_prep_dma_buf_s3(9)lpfc_bg_err_inject(9)lpfc_sc_to_bg_opcodes(9)lpfc_bg_err_opcodes(9)lpfc_bg_setup_bpl(9)lpfc_bg_setup_bpl_prot(9)lpfc_bg_setup_sgl(9)lpfc_bg_setup_sgl_prot(9)lpfc_prot_group_type(9)lpfc_bg_scsi_adjust_dl(9)lpfc_bg_scsi_prep_dma_buf_s3(9)lpfc_scsi_prep_dma_buf_s4(9)lpfc_bg_scsi_prep_dma_buf_s4(9)lpfc_scsi_prep_dma_buf(9)lpfc_bg_scsi_prep_dma_buf(9)lpfc_scsi_prep_cmnd_buf(9)lpfc_send_scsi_error_event(9)lpfc_scsi_unprep_dma_buf(9)lpfc_unblock_requests(9)lpfc_block_requests(9)lpfc_update_cmf_cmpl(9)lpfc_update_cmf_cmd(9)lpfc_handle_fcp_err(9)lpfc_scsi_cmd_iocb_cmpl(9)lpfc_scsi_prep_cmnd_buf_s3(9)lpfc_scsi_prep_cmnd_buf_s4(9)lpfc_scsi_prep_cmnd(9)lpfc_scsi_prep_task_mgmt_cmd_s3(9)lpfc_scsi_prep_task_mgmt_cmd_s4(9)lpfc_scsi_api_table_setup(9)lpfc_tskmgmt_def_cmpl(9)lpfc_check_pci_resettable(9)lpfc_info(9)lpfc_poll_rearm_timer(9)lpfc_poll_start_timer(9)lpfc_poll_timeout(9)lpfc_queuecommand(9)lpfc_abort_handler(9)lpfc_check_fcp_rsp(9)lpfc_send_taskmgmt(9)lpfc_chk_tgt_mapped(9)lpfc_reset_flush_io_context(9)lpfc_device_reset_handler(9)lpfc_target_reset_handler(9)lpfc_host_reset_handler(9)lpfc_sdev_init(9)lpfc_sdev_configure(9)lpfc_sdev_destroy(9)lpfc_create_device_data(9)lpfc_delete_device_data(9)__lpfc_get_device_data(9)lpfc_find_next_oas_lun(9)lpfc_enable_oas_lun(9)lpfc_disable_oas_lun(9)
sixty-eight references. SIXTY-EIGHT. she ate and left absolutely no crumbs. πβ¨
lowkey reminder bestie: this is kernel API documentation, so keep the exact signatures and names β the vibes are flexible, the facts are not π
π cute little sign-off π
this page came from ./drivers/scsi/lpfc and it's dated October 2026, all for the manual page lpfc_fcp_io_cmd_wqe_cmpl(9). slay, go read the source, mwah ππ¦
π¦ 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