id
stringlengths
4
63
text
stringlengths
153
8.81M
lpfc_nvmet_invalidate_host(9)
NAME lpfc_nvmet_invalidate_host - SYNOPSIS void lpfc_nvmet_invalidate_host (struct lpfc_hba *phba , struct lpfc_nodelist *ndlp ); ARGUMENTS phba pointer to the driver instance bound to an adapter port. ndlp pointer to an lpfc_nodelist type DESCRIPTION This routine upcalls the nvmet transport to...
lpfc_nvmet_ls_abort(9)
NAME lpfc_nvmet_ls_abort - Abort a prior NVME LS request SYNOPSIS void lpfc_nvmet_ls_abort (struct nvmet_fc_target_port *targetport , void *hosthandle , struct nvmefc_ls_req *pnvme_lsreq ); ARGUMENTS targetport Transport targetport, that LS was issued from. hosthandle hosthandle set by the driver in a prior...
lpfc_nvmet_ls_req(9)
NAME lpfc_nvmet_ls_req - Issue an Link Service request SYNOPSIS int lpfc_nvmet_ls_req (struct nvmet_fc_target_port *targetport , void *hosthandle , struct nvmefc_ls_req *pnvme_lsreq ); ARGUMENTS targetport pointer to target instance registered with nvmet transport. hosthandle hosthandle set by the driver in...
lpfc_nvmet_ls_req_cmp(9)
NAME lpfc_nvmet_ls_req_cmp - completion handler for a nvme ls request SYNOPSIS void lpfc_nvmet_ls_req_cmp (struct lpfc_hba *phba , struct lpfc_iocbq *cmdwqe , struct lpfc_iocbq *rspwqe ); ARGUMENTS phba Pointer to HBA context object cmdwqe Pointer to driver command WQE object. rspwqe ...
lpfc_nvmet_prep_ls_wqe(9)
NAME lpfc_nvmet_prep_ls_wqe - Allocate and prepare a lpfc wqe data structure SYNOPSIS struct lpfc_iocbq * lpfc_nvmet_prep_ls_wqe (struct lpfc_hba *phba , struct lpfc_async_xchg_ctx *ctxp , dma_addr_t rspbuf , uint16_t rspsize ); ARGUMENTS phba pointer to a host N_Port data structure. ctxp Contex...
lpfc_nvmet_sol_fcp_abort_cmp(9)
NAME lpfc_nvmet_sol_fcp_abort_cmp - Completion handler for ABTS SYNOPSIS void lpfc_nvmet_sol_fcp_abort_cmp (struct lpfc_hba *phba , struct lpfc_iocbq *cmdwqe , struct lpfc_iocbq *rspwqe ); ARGUMENTS phba Pointer to HBA context object. cmdwqe Pointer to driver command WQE object. rspwqe ...
lpfc_nvmet_unsol_fcp_abort_cmp(9)
NAME lpfc_nvmet_unsol_fcp_abort_cmp - Completion handler for ABTS SYNOPSIS void lpfc_nvmet_unsol_fcp_abort_cmp (struct lpfc_hba *phba , struct lpfc_iocbq *cmdwqe , struct lpfc_iocbq *rspwqe ); ARGUMENTS phba Pointer to HBA context object. cmdwqe Pointer to driver command WQE object. rspwqe...
lpfc_nvmet_unsol_fcp_buffer(9)
NAME lpfc_nvmet_unsol_fcp_buffer - Process an unsolicited event data buffer SYNOPSIS void lpfc_nvmet_unsol_fcp_buffer (struct lpfc_hba *phba , uint32_t idx , struct rqb_dmabuf *nvmebuf , uint64_t isr_timestamp , uint8_t cqflag ); ARGUMENTS phba pointer to lpfc hba data structure. idx relative i...
lpfc_nvmet_unsol_fcp_event(9)
NAME lpfc_nvmet_unsol_fcp_event - Process an unsolicited event from an nvme nport SYNOPSIS void lpfc_nvmet_unsol_fcp_event (struct lpfc_hba *phba , uint32_t idx , struct rqb_dmabuf *nvmebuf , uint64_t isr_timestamp , uint8_t cqflag ); ARGUMENTS phba pointer to lpfc hba data structure. idx relat...
lpfc_nvmet_xmt_fcp_op_cmp(9)
NAME lpfc_nvmet_xmt_fcp_op_cmp - Completion handler for FCP Response SYNOPSIS void lpfc_nvmet_xmt_fcp_op_cmp (struct lpfc_hba *phba , struct lpfc_iocbq *cmdwqe , struct lpfc_iocbq *rspwqe ); ARGUMENTS phba Pointer to HBA context object. cmdwqe Pointer to driver command WQE object. rspwqe ...
lpfc_nvmet_xmt_ls_abort_cmp(9)
NAME lpfc_nvmet_xmt_ls_abort_cmp - Completion handler for ABTS SYNOPSIS void lpfc_nvmet_xmt_ls_abort_cmp (struct lpfc_hba *phba , struct lpfc_iocbq *cmdwqe , struct lpfc_iocbq *rspwqe ); ARGUMENTS phba Pointer to HBA context object. cmdwqe Pointer to driver command WQE object. rspwqe ...
lpfc_nvmet_xmt_ls_rsp(9)
NAME lpfc_nvmet_xmt_ls_rsp - Transmit NVME LS response SYNOPSIS int lpfc_nvmet_xmt_ls_rsp (struct nvmet_fc_target_port *tgtport , struct nvmefc_ls_rsp *ls_rsp ); ARGUMENTS tgtport pointer to target port that NVME LS is to be transmit from. ls_rsp pointer to the transport LS RSP that is to be sent DE...
lpfc_nvmet_xmt_ls_rsp_cmp(9)
NAME lpfc_nvmet_xmt_ls_rsp_cmp - Completion handler for LS Response SYNOPSIS void lpfc_nvmet_xmt_ls_rsp_cmp (struct lpfc_hba *phba , struct lpfc_iocbq *cmdwqe , struct lpfc_iocbq *rspwqe ); ARGUMENTS phba Pointer to HBA context object. cmdwqe Pointer to driver command WQE object. rspwqe ...
lpfc_oas_lun_get_next(9)
NAME lpfc_oas_lun_get_next - get the next lun that has been enabled for Optimized Access Storage (OAS) operations. SYNOPSIS uint64_t lpfc_oas_lun_get_next (struct lpfc_hba *phba , uint8_t vpt_wwpn[] , uint8_t tgt_wwpn[] , uint32_t *lun_status , uint32_t *lun_pri ); ARGUMENTS phba lpfc_hba pointer. vpt_...
lpfc_oas_lun_show(9)
NAME lpfc_oas_lun_show - Return oas enabled luns from a chosen target SYNOPSIS ssize_t lpfc_oas_lun_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device that is converted into a Scsi_host. attr device attribute, not used. buf buffer ...
lpfc_oas_lun_state_change(9)
NAME lpfc_oas_lun_state_change - enable/disable a lun for OAS operations SYNOPSIS ssize_t lpfc_oas_lun_state_change (struct lpfc_hba *phba , uint8_t vpt_wwpn[] , uint8_t tgt_wwpn[] , uint64_t lun , uint32_t oas_state , uint8_t pri ); ARGUMENTS phba lpfc_hba pointer. vpt_wwpn vport wwpn by reference....
lpfc_oas_lun_state_set(9)
NAME lpfc_oas_lun_state_set - enable or disable a lun for Optimized Access Storage (OAS) operations. SYNOPSIS size_t lpfc_oas_lun_state_set (struct lpfc_hba *phba , uint8_t vpt_wwpn[] , uint8_t tgt_wwpn[] , uint64_t lun , uint32_t oas_state , uint8_t pri ); ARGUMENTS phba lpfc_hba pointer. vpt_wwpn ...
lpfc_oas_lun_state_show(9)
NAME lpfc_oas_lun_state_show - Return the current state (enabled or disabled) of whether luns will be enabled or disabled for Optimized Access Storage (OAS) operations. SYNOPSIS ssize_t lpfc_oas_lun_state_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device that i...
lpfc_oas_lun_state_store(9)
NAME lpfc_oas_lun_state_store - Store the state (enabled or disabled) of whether luns will be enabled or disabled for Optimized Access Storage (OAS) operations. SYNOPSIS ssize_t lpfc_oas_lun_state_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class...
lpfc_oas_lun_status_show(9)
NAME lpfc_oas_lun_status_show - Return the status of the Optimized Access Storage (OAS) lun returned by the lpfc_oas_lun_show function. SYNOPSIS ssize_t lpfc_oas_lun_status_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device that is converted into a Scsi_host. ...
lpfc_oas_lun_store(9)
NAME lpfc_oas_lun_store - Sets the OAS state for lun SYNOPSIS ssize_t lpfc_oas_lun_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device that is converted into a Scsi_host. attr device attribute, not used. buf bu...
lpfc_oas_priority_show(9)
NAME lpfc_oas_priority_show - Return wwpn of target whose luns maybe enabled for Optimized Access Storage (OAS) operations. SYNOPSIS ssize_t lpfc_oas_priority_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device that is converted into a Scsi_host. attr ...
lpfc_oas_priority_store(9)
NAME lpfc_oas_priority_store - Store wwpn of target whose luns maybe enabled for Optimized Access Storage (OAS) operations. SYNOPSIS ssize_t lpfc_oas_priority_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device that is converted into a Scsi_...
lpfc_oas_supported_show(9)
NAME lpfc_oas_supported_show - Return whether or not Optimized Access Storage (OAS) is supported. SYNOPSIS ssize_t lpfc_oas_supported_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class unused variable. attr device attribute, not used. buf ...
lpfc_oas_tgt_show(9)
NAME lpfc_oas_tgt_show - Return wwpn of target whose luns maybe enabled for Optimized Access Storage (OAS) operations. SYNOPSIS ssize_t lpfc_oas_tgt_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device that is converted into a Scsi_host. attr device...
lpfc_oas_tgt_store(9)
NAME lpfc_oas_tgt_store - Store wwpn of target whose luns maybe enabled for Optimized Access Storage (OAS) operations. SYNOPSIS ssize_t lpfc_oas_tgt_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device that is converted into a Scsi_host. ...
lpfc_oas_vpt_show(9)
NAME lpfc_oas_vpt_show - Return wwpn of vport whose targets maybe enabled for Optimized Access Storage (OAS) operations. SYNOPSIS ssize_t lpfc_oas_vpt_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device that is converted into a Scsi_host. attr devi...
lpfc_oas_vpt_store(9)
NAME lpfc_oas_vpt_store - Store wwpn of vport whose targets maybe enabled for Optimized Access Storage (OAS) operations. SYNOPSIS ssize_t lpfc_oas_vpt_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device that is converted into a Scsi_host. ...
lpfc_offline(9)
NAME lpfc_offline - Bring a HBA offline SYNOPSIS void lpfc_offline (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine actually brings a HBA offline. It stops all the timers associated with the HBA, brings down the SLI layer, and eventually marks the HBA as in...
lpfc_offline_eratt(9)
NAME lpfc_offline_eratt - Bring lpfc offline on hardware error attention SYNOPSIS void lpfc_offline_eratt (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine is called to bring the HBA offline when HBA hardware error other than Port Error 6 has been detected. ...
lpfc_offline_prep(9)
NAME lpfc_offline_prep - Prepare a HBA to be brought offline SYNOPSIS void lpfc_offline_prep (struct lpfc_hba *phba , int mbx_action ); ARGUMENTS phba pointer to lpfc hba data structure. mbx_action flag for mailbox shutdown action. DESCRIPTION This routine is invoked to prepare a HBA to be brought of...
lpfc_online(9)
NAME lpfc_online - Initialize and bring a HBA online SYNOPSIS int lpfc_online (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine initializes the HBA and brings a HBA online. During this process, the management interface is blocked to prevent user space access...
lpfc_option_rom_version_show(9)
NAME lpfc_option_rom_version_show - Return the adapter ROM FCode version SYNOPSIS ssize_t lpfc_option_rom_version_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class converted to a Scsi_host structure. attr device attribute, not used. buf ...
lpfc_parse_fcoe_conf(9)
NAME lpfc_parse_fcoe_conf - Parse FCoE config data read from config region 23. SYNOPSIS void lpfc_parse_fcoe_conf (struct lpfc_hba *phba , uint8_t *buff , uint32_t size ); ARGUMENTS phba Pointer to lpfc_hba data structure. buff Buffer containing config region 23 data. size Size of...
lpfc_parse_vpd(9)
NAME lpfc_parse_vpd - Parse VPD (Vital Product Data) SYNOPSIS int lpfc_parse_vpd (struct lpfc_hba *phba , uint8_t *vpd , int len ); ARGUMENTS phba pointer to lpfc hba data structure. vpd pointer to the vital product data. len length of the vital product data in bytes. DESCRIPTI...
lpfc_pci_function_reset(9)
NAME lpfc_pci_function_reset - Reset pci function. SYNOPSIS int lpfc_pci_function_reset (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine is invoked to request a PCI function reset. It will destroys all resources assigned to the PCI function which origin...
lpfc_pci_probe_one(9)
NAME lpfc_pci_probe_one - lpfc PCI probe func to reg dev to PCI subsystem SYNOPSIS int lpfc_pci_probe_one (struct pci_dev *pdev , const struct pci_device_id *pid ); ARGUMENTS pdev pointer to PCI device pid pointer to PCI device identifier DESCRIPTION This routine is to be registered to the k...
lpfc_pci_probe_one_s3(9)
NAME lpfc_pci_probe_one_s3 - PCI probe func to reg SLI-3 device to PCI subsystem. SYNOPSIS int lpfc_pci_probe_one_s3 (struct pci_dev *pdev , const struct pci_device_id *pid ); ARGUMENTS pdev pointer to PCI device pid pointer to PCI device identifier DESCRIPTION This routine is to be called t...
lpfc_pci_probe_one_s4(9)
NAME lpfc_pci_probe_one_s4 - PCI probe func to reg SLI-4 device to PCI subsys SYNOPSIS int lpfc_pci_probe_one_s4 (struct pci_dev *pdev , const struct pci_device_id *pid ); ARGUMENTS pdev pointer to PCI device pid pointer to PCI device identifier DESCRIPTION This routine is called from the ke...
lpfc_pci_remove_one(9)
NAME lpfc_pci_remove_one - lpfc PCI func to unreg dev from PCI subsystem SYNOPSIS void lpfc_pci_remove_one (struct pci_dev *pdev ); ARGUMENTS pdev pointer to PCI device DESCRIPTION This routine is to be registered to the kernel's PCI subsystem. When an Emulex HBA is removed from PCI bus, the driver core invok...
lpfc_pci_remove_one_s3(9)
NAME lpfc_pci_remove_one_s3 - PCI func to unreg SLI-3 device from PCI subsystem. SYNOPSIS void lpfc_pci_remove_one_s3 (struct pci_dev *pdev ); ARGUMENTS pdev pointer to PCI device DESCRIPTION This routine is to be called to disattach a device with SLI-3 interface spec from PCI subsystem. When an Emulex HBA w...
lpfc_pci_remove_one_s4(9)
NAME lpfc_pci_remove_one_s4 - PCI func to unreg SLI-4 device from PCI subsystem SYNOPSIS void lpfc_pci_remove_one_s4 (struct pci_dev *pdev ); ARGUMENTS pdev pointer to PCI device DESCRIPTION This routine is called from the kernel's PCI subsystem to device with SLI-4 interface spec. When an Emulex HBA with...
lpfc_pci_resume_one(9)
NAME lpfc_pci_resume_one - lpfc PCI func to resume dev for power management SYNOPSIS int __maybe_unused lpfc_pci_resume_one (struct device *dev ); ARGUMENTS dev pointer to device DESCRIPTION This routine is to be registered to the kernel's PCI subsystem to support system Power Management (PM). When PM invok...
lpfc_pci_resume_one_s3(9)
NAME lpfc_pci_resume_one_s3 - PCI func to resume SLI-3 device for power mgmnt SYNOPSIS int __maybe_unused lpfc_pci_resume_one_s3 (struct device *dev_d ); ARGUMENTS dev_d pointer to device DESCRIPTION This routine is to be called from the kernel's PCI subsystem to support system Power Management (PM) to devi...
lpfc_pci_resume_one_s4(9)
NAME lpfc_pci_resume_one_s4 - PCI func to resume SLI-4 device for power mgmnt SYNOPSIS int __maybe_unused lpfc_pci_resume_one_s4 (struct device *dev_d ); ARGUMENTS dev_d pointer to device DESCRIPTION This routine is called from the kernel's PCI subsystem to support system Power Management (PM) to device wit...
lpfc_pci_suspend_one(9)
NAME lpfc_pci_suspend_one - lpfc PCI func to suspend dev for power management SYNOPSIS int __maybe_unused lpfc_pci_suspend_one (struct device *dev ); ARGUMENTS dev pointer to device DESCRIPTION This routine is to be registered to the kernel's PCI subsystem to support system Power Management (PM). When PM inv...
lpfc_pci_suspend_one_s3(9)
NAME lpfc_pci_suspend_one_s3 - PCI func to suspend SLI-3 device for power mgmnt SYNOPSIS int __maybe_unused lpfc_pci_suspend_one_s3 (struct device *dev_d ); ARGUMENTS dev_d pointer to device DESCRIPTION This routine is to be called from the kernel's PCI subsystem to support system Power Management (PM) to devi...
lpfc_pci_suspend_one_s4(9)
NAME lpfc_pci_suspend_one_s4 - PCI func to suspend SLI-4 device for power mgmnt SYNOPSIS int __maybe_unused lpfc_pci_suspend_one_s4 (struct device *dev_d ); ARGUMENTS dev_d pointer to device DESCRIPTION This routine is called from the kernel's PCI subsystem to support system Power Management (PM) to devi...
lpfc_plogi_confirm_nport(9)
NAME lpfc_plogi_confirm_nport - Confirm plogi wwpn matches stored ndlp SYNOPSIS struct lpfc_nodelist * lpfc_plogi_confirm_nport (struct lpfc_hba *phba , uint32_t *prsp , struct lpfc_nodelist *ndlp ); ARGUMENTS phba pointer to lpfc hba data structure. prsp pointer to response IOCB payload. ...
lpfc_poll_eratt(9)
NAME lpfc_poll_eratt - Error attention polling timer timeout handler SYNOPSIS void lpfc_poll_eratt (struct timer_list *t ); ARGUMENTS t Context to fetch pointer to address of HBA context object from. DESCRIPTION This function is invoked by the Error Attention polling timer when the timer times out. It wi...
lpfc_poll_rearm_timer(9)
NAME lpfc_poll_rearm_timer - Routine to modify fcp_poll timer of hba SYNOPSIS void lpfc_poll_rearm_timer (struct lpfc_hba * phba ); ARGUMENTS phba The Hba for which this call is being executed. DESCRIPTION This routine modifies fcp_poll_timer field of phba by cfg_poll_tmo. The default value of cfg_poll_tmo ...
lpfc_poll_show(9)
NAME lpfc_poll_show - Return text about poll support for the adapter SYNOPSIS ssize_t lpfc_poll_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device that is converted into a Scsi_host. attr device attribute, not used. buf on return c...
lpfc_poll_start_timer(9)
NAME lpfc_poll_start_timer - Routine to start fcp_poll_timer of HBA SYNOPSIS void lpfc_poll_start_timer (struct lpfc_hba * phba ); ARGUMENTS phba The Hba for which this call is being executed. DESCRIPTION This routine starts the fcp_poll_timer of phba. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_...
lpfc_poll_store(9)
NAME lpfc_poll_store - Set the value of cfg_poll for the adapter SYNOPSIS ssize_t lpfc_poll_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device that is converted into a Scsi_host. attr device attribute, not used. buf ...
lpfc_poll_timeout(9)
NAME lpfc_poll_timeout - Restart polling timer SYNOPSIS void lpfc_poll_timeout (struct timer_list *t ); ARGUMENTS t Timer construct where lpfc_hba data structure pointer is obtained. DESCRIPTION This routine restarts fcp_poll timer, when FCP ring polling is enable and FCP Ring interrupt is disable. SEE A...
lpfc_post_init_setup(9)
NAME lpfc_post_init_setup - Perform necessary device post initialization setup. SYNOPSIS void lpfc_post_init_setup (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine is invoked to perform all the necessary post initialization setup for the device. SEE ALSO K...
lpfc_post_rcv_buf(9)
NAME lpfc_post_rcv_buf - Post the initial receive IOCB buffers to ELS ring SYNOPSIS int lpfc_post_rcv_buf (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine posts initial receive IOCB buffers to the ELS ring. The current number of initial IOCB buffers specifi...
lpfc_prep_els_iocb(9)
NAME lpfc_prep_els_iocb - Allocate and prepare a lpfc iocb data structure SYNOPSIS struct lpfc_iocbq * lpfc_prep_els_iocb (struct lpfc_vport *vport , u8 expect_rsp , u16 cmd_size , u8 retry , struct lpfc_nodelist *ndlp , u32 did , u32 elscmd ); ARGUMENTS vport pointer to a host virtual N_Port data structure. ...
lpfc_prep_seq(9)
NAME lpfc_prep_seq - Prep sequence for ULP processing SYNOPSIS struct lpfc_iocbq * lpfc_prep_seq (struct lpfc_vport *vport , struct hbq_dmabuf *seq_dmabuf ); ARGUMENTS vport Pointer to the vport on which this sequence was received seq_dmabuf pointer to a dmabuf that describes the FC sequence DESCRIPTI...
lpfc_programtype_show(9)
NAME lpfc_programtype_show - Return the program type of the hba SYNOPSIS ssize_t lpfc_programtype_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class converted to a Scsi_host structure. attr device attribute, not used. buf on return contai...
lpfc_prot_group_type(9)
NAME lpfc_prot_group_type - Get prtotection group type of SCSI command SYNOPSIS int lpfc_prot_group_type (struct lpfc_hba *phba , struct scsi_cmnd *sc ); ARGUMENTS phba The Hba for which this call is being executed. sc pointer to scsi command we're working on DESCRIPTION Given a SCSI command ...
lpfc_put_cmd_rsp_buf_per_hdwq(9)
NAME lpfc_put_cmd_rsp_buf_per_hdwq - Put one CMD/RSP buffer into hdwq pool SYNOPSIS int lpfc_put_cmd_rsp_buf_per_hdwq (struct lpfc_hba *phba , struct lpfc_io_buf *lpfc_buf ); ARGUMENTS phba The HBA for which this call is being executed. lpfc_buf IO buf structure with the CMD/RSP buf DESCRIPTION Thi...
lpfc_put_sgl_per_hdwq(9)
NAME lpfc_put_sgl_per_hdwq - Put one SGL chunk into hdwq pool SYNOPSIS int lpfc_put_sgl_per_hdwq (struct lpfc_hba *phba , struct lpfc_io_buf *lpfc_buf ); ARGUMENTS phba The HBA for which this call is being executed. lpfc_buf IO buf structure with the SGL chunk DESCRIPTION This routine puts one SGL ...
lpfc_queuecommand(9)
NAME lpfc_queuecommand - scsi_host_template queuecommand entry point SYNOPSIS enum scsi_qc_status lpfc_queuecommand (struct Scsi_Host *shost , struct scsi_cmnd *cmnd ); ARGUMENTS shost kernel scsi host pointer. cmnd Pointer to scsi_cmnd data structure. DESCRIPTION Driver registers this routine t...
lpfc_ramp_down_queue_handler(9)
NAME lpfc_ramp_down_queue_handler - WORKER_RAMP_DOWN_QUEUE event handler SYNOPSIS void lpfc_ramp_down_queue_handler (struct lpfc_hba *phba ); ARGUMENTS phba The Hba for which this call is being executed. DESCRIPTION This routine is called to process WORKER_RAMP_DOWN_QUEUE event for worker thread.This routine...
lpfc_rampdown_queue_depth(9)
NAME lpfc_rampdown_queue_depth - Post RAMP_DOWN_QUEUE event to worker thread SYNOPSIS void lpfc_rampdown_queue_depth (struct lpfc_hba *phba ); ARGUMENTS phba The Hba for which this call is being executed. DESCRIPTION This routine is called when there is resource error in driver or firmware. This routine pos...
lpfc_ras_stop_fwlog(9)
NAME lpfc_ras_stop_fwlog - Disable FW logging by the adapter SYNOPSIS void lpfc_ras_stop_fwlog (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. DESCRIPTION Disable FW logging into host memory on the adapter. To be done before reading logs from the host memory. SEE ALSO Kernel file ...
lpfc_rcv_seq_check_edtov(9)
NAME lpfc_rcv_seq_check_edtov - Cleans up timed out receive sequences. SYNOPSIS void lpfc_rcv_seq_check_edtov (struct lpfc_vport *vport ); ARGUMENTS vport The vport that the received sequences were sent to. DESCRIPTION This function determines whether any received sequences have timed out by first checking t...
lpfc_rd_obj_emb0_handle_job(9)
NAME lpfc_rd_obj_emb0_handle_job - Handles completion for non-embedded READ_OBJECT_V0 mailbox commands SYNOPSIS int lpfc_rd_obj_emb0_handle_job (struct lpfc_hba *phba , u8 *pmb_buf , struct lpfc_sli_config_mbox *sli_cfg_mbx , struct bsg_job *job , struct fc_bsg_reply *bsg_reply ); ARGUMENTS phba pointer to lpf...
lpfc_read_config(9)
NAME lpfc_read_config - Prepare a mailbox command for reading HBA configuration SYNOPSIS void lpfc_read_config (struct lpfc_hba * phba , LPFC_MBOXQ_t * pmb ); ARGUMENTS phba pointer to lpfc hba data structure. pmb pointer to the driver internal queue element for mailbox command. DESCRIPTION Th...
lpfc_read_fcf_conn_tbl(9)
NAME lpfc_read_fcf_conn_tbl - Create driver FCF connection table. SYNOPSIS void lpfc_read_fcf_conn_tbl (struct lpfc_hba *phba , uint8_t *buff ); ARGUMENTS phba Pointer to hba context object. buff Buffer containing the FCF connection table as in the config region. This function create driver dat...
lpfc_read_fcoe_param(9)
NAME lpfc_read_fcoe_param - Read FCoe parameters from conf region.. SYNOPSIS void lpfc_read_fcoe_param (struct lpfc_hba *phba , uint8_t *buff ); ARGUMENTS phba Pointer to hba context object. buff Buffer containing the FCoE parameter data structure. DESCRIPTION This function update driver data s...
lpfc_read_lnk_stat(9)
NAME lpfc_read_lnk_stat - Prepare a mailbox command for reading HBA link stats SYNOPSIS void lpfc_read_lnk_stat (struct lpfc_hba * phba , LPFC_MBOXQ_t * pmb ); ARGUMENTS phba pointer to lpfc hba data structure. pmb pointer to the driver internal queue element for mailbox command. DESCRIPTION T...
lpfc_read_nv(9)
NAME lpfc_read_nv - Prepare a mailbox command for reading HBA's NVRAM param SYNOPSIS void lpfc_read_nv (struct lpfc_hba * phba , LPFC_MBOXQ_t * pmb ); ARGUMENTS phba pointer to lpfc hba data structure. pmb pointer to the driver internal queue element for mailbox command. DESCRIPTION The read ...
lpfc_read_object(9)
NAME lpfc_read_object - Retrieve object data from HBA SYNOPSIS int lpfc_read_object (struct lpfc_hba *phba , char *rdobject , uint32_t *datap , uint32_t datasz ); ARGUMENTS phba The HBA for which this call is being executed. rdobject Pathname of object data we want to read. datap Point...
lpfc_read_rev(9)
NAME lpfc_read_rev - Prepare a mailbox command for reading HBA revision SYNOPSIS void lpfc_read_rev (struct lpfc_hba * phba , LPFC_MBOXQ_t * pmb ); ARGUMENTS phba pointer to lpfc hba data structure. pmb pointer to the driver internal queue element for mailbox command. DESCRIPTION The read re...
lpfc_read_sparam(9)
NAME lpfc_read_sparam - Prepare a mailbox command for reading HBA parameters SYNOPSIS int lpfc_read_sparam (struct lpfc_hba *phba , LPFC_MBOXQ_t *pmb , int vpi ); ARGUMENTS phba pointer to lpfc hba data structure. pmb pointer to the driver internal queue element for mailbox command. vpi...
lpfc_read_topology(9)
NAME lpfc_read_topology - Prepare a mailbox command for reading HBA topology SYNOPSIS int lpfc_read_topology (struct lpfc_hba *phba , LPFC_MBOXQ_t *pmb , struct lpfc_dmabuf *mp ); ARGUMENTS phba pointer to lpfc hba data structure. pmb pointer to the driver internal queue element for mailbox com...
lpfc_reg_fab_ctrl_node(9)
NAME lpfc_reg_fab_ctrl_node - RPI register the fabric controller node. SYNOPSIS int lpfc_reg_fab_ctrl_node (struct lpfc_vport *vport , struct lpfc_nodelist *fc_ndlp ); ARGUMENTS vport pointer to lpfc_vport data structure. fc_ndlp pointer to the fabric controller (0xfffffd) node. DESCRIPTION This r...
lpfc_reg_fcfi(9)
NAME lpfc_reg_fcfi - Initialize the REG_FCFI mailbox command SYNOPSIS void lpfc_reg_fcfi (struct lpfc_hba *phba , struct lpfcMboxq *mbox ); ARGUMENTS phba pointer to the hba structure containing the FCF index and RQ ID. mbox pointer to lpfc mbox command to initialize. DESCRIPTION The REG_FCFI ...
lpfc_reg_fcfi_mrq(9)
NAME lpfc_reg_fcfi_mrq - Initialize the REG_FCFI_MRQ mailbox command SYNOPSIS void lpfc_reg_fcfi_mrq (struct lpfc_hba *phba , struct lpfcMboxq *mbox , int mode ); ARGUMENTS phba pointer to the hba structure containing the FCF index and RQ ID. mbox pointer to lpfc mbox command to initialize. ...
lpfc_reg_rpi(9)
NAME lpfc_reg_rpi - Prepare a mailbox command for registering remote login SYNOPSIS int lpfc_reg_rpi (struct lpfc_hba *phba , uint16_t vpi , uint32_t did , uint8_t *param , LPFC_MBOXQ_t *pmb , uint16_t rpi ); ARGUMENTS phba pointer to lpfc hba data structure. vpi virtual N_Port identifier. ...
lpfc_reg_vfi(9)
NAME lpfc_reg_vfi - Initialize the REG_VFI mailbox command SYNOPSIS void lpfc_reg_vfi (struct lpfcMboxq *mbox , struct lpfc_vport *vport , dma_addr_t phys ); ARGUMENTS mbox pointer to lpfc mbox command to initialize. vport vport associated with the VF. phys BDE DMA bus address used...
lpfc_reg_vpi(9)
NAME lpfc_reg_vpi - Prepare a mailbox command for registering vport identifier SYNOPSIS void lpfc_reg_vpi (struct lpfc_vport *vport , LPFC_MBOXQ_t *pmb ); ARGUMENTS vport pointer to a vport object. pmb pointer to the driver internal queue element for mailbox command. DESCRIPTION The registrati...
lpfc_register_fcf(9)
NAME lpfc_register_fcf - Register the FCF with hba. SYNOPSIS void lpfc_register_fcf (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine issues a register fcfi mailbox command to register the fcf with HBA. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_hbadis...
lpfc_register_new_vport(9)
NAME lpfc_register_new_vport - Register a new vport with a HBA SYNOPSIS void lpfc_register_new_vport (struct lpfc_hba *phba , struct lpfc_vport *vport , struct lpfc_nodelist *ndlp ); ARGUMENTS phba pointer to lpfc hba data structure. vport pointer to a host virtual N_Port data structure. ...
lpfc_release_io_buf(9)
NAME lpfc_release_io_buf - Return one IO buf back to free pool SYNOPSIS void lpfc_release_io_buf (struct lpfc_hba *phba , struct lpfc_io_buf *lpfc_ncmd , struct lpfc_sli4_hdw_queue *qp ); ARGUMENTS phba pointer to lpfc hba data structure. lpfc_ncmd IO buf to be returned. qp belong to...
lpfc_release_nvme_buf(9)
NAME lpfc_release_nvme_buf - Return a nvme buffer back to hba nvme buf list. SYNOPSIS void lpfc_release_nvme_buf (struct lpfc_hba *phba , struct lpfc_io_buf *lpfc_ncmd ); ARGUMENTS phba The Hba for which this call is being executed. lpfc_ncmd The nvme buffer which is being released. DESCRIPTION This...
lpfc_release_rpi(9)
NAME lpfc_release_rpi - Release a RPI by issuing unreg_login mailbox cmd. SYNOPSIS void lpfc_release_rpi (struct lpfc_hba *phba , struct lpfc_vport *vport , struct lpfc_nodelist *ndlp , uint16_t rpi ); ARGUMENTS phba Pointer to lpfc_hba structure. vport Pointer to lpfc_vport structure. nd...
lpfc_release_scsi_buf(9)
NAME lpfc_release_scsi_buf - Return a scsi buffer back to hba scsi buf list. SYNOPSIS void lpfc_release_scsi_buf (struct lpfc_hba *phba , struct lpfc_io_buf *psb ); ARGUMENTS phba The Hba for which this call is being executed. psb The scsi buffer which is being released. DESCRIPTION This routi...
lpfc_release_scsi_buf_s3(9)
NAME lpfc_release_scsi_buf_s3 - Return a scsi buffer back to hba scsi buf list SYNOPSIS void lpfc_release_scsi_buf_s3 (struct lpfc_hba *phba , struct lpfc_io_buf *psb ); ARGUMENTS phba The Hba for which this call is being executed. psb The scsi buffer which is being released. DESCRIPTION This ...
lpfc_release_scsi_buf_s4(9)
NAME lpfc_release_scsi_buf_s4 - Return a scsi buffer back to hba scsi buf list. SYNOPSIS void lpfc_release_scsi_buf_s4 (struct lpfc_hba *phba , struct lpfc_io_buf *psb ); ARGUMENTS phba The Hba for which this call is being executed. psb The scsi buffer which is being released. DESCRIPTION This...
lpfc_request_features(9)
NAME lpfc_request_features - Configure SLI4 REQUEST_FEATURES mailbox SYNOPSIS void lpfc_request_features (struct lpfc_hba *phba , struct lpfcMboxq *mboxq ); ARGUMENTS phba pointer to lpfc hba data structure. mboxq pointer to lpfc mbox command. DESCRIPTION This routine sets up the mailbox for an ...
lpfc_request_firmware_upgrade_init(9)
NAME lpfc_request_firmware_upgrade_init - Enable initial linux generic fw upgrade SYNOPSIS int lpfc_request_firmware_upgrade_init (struct lpfc_hba *phba , int val ); ARGUMENTS phba lpfc_hba pointer. val 0 or 1. DESCRIPTION Set the initial Linux generic firmware upgrade enable or disable flag. ...
lpfc_request_firmware_upgrade_store(9)
NAME lpfc_request_firmware_upgrade_store - Request for Linux generic firmware upgrade SYNOPSIS ssize_t lpfc_request_firmware_upgrade_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device that is converted into a Scsi_host. attr ...
lpfc_reset_barrier(9)
NAME lpfc_reset_barrier - Make HBA ready for HBA reset SYNOPSIS void lpfc_reset_barrier (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. DESCRIPTION This function is called before resetting an HBA. This function is called with hbalock held and requests HBA to quiesce DMAs before a reset...
lpfc_reset_flush_io_context(9)
NAME lpfc_reset_flush_io_context - SYNOPSIS int lpfc_reset_flush_io_context (struct lpfc_vport *vport , uint16_t tgt_id , uint64_t lun_id , lpfc_ctx_cmd context ); ARGUMENTS vport The virtual port (scsi_host) for the flush context tgt_id If aborting by Target context - specifies the target id ...
lpfc_reset_hba(9)
NAME lpfc_reset_hba - Reset a hba SYNOPSIS void lpfc_reset_hba (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine is invoked to reset a hba device. It brings the HBA offline, performs a board restart, and then brings the board back online. The lpfc_offline c...
lpfc_reset_pci_bus(9)
NAME lpfc_reset_pci_bus - resets PCI bridge controller's secondary bus of an HBA SYNOPSIS int lpfc_reset_pci_bus (struct lpfc_hba *phba ); ARGUMENTS phba lpfc_hba pointer. DESCRIPTION Issues a PCI secondary bus reset for the phba->pcidev. NOTES First walks the bus_list to ensure only PCI devices with Emul...
lpfc_reset_stats(9)
NAME lpfc_reset_stats - Copy the adapter link stats information SYNOPSIS void lpfc_reset_stats (struct Scsi_Host *shost ); ARGUMENTS shost kernel scsi host pointer. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_attr.c lpfc_jedec_to_ascii(9), lpfc_drvr_version_show(9), lpfc_enable_fip_show(9), lpfc_info_s...