id
stringlengths
4
63
text
stringlengths
153
8.81M
lpfc_issue_els_npiv_logo(9)
NAME lpfc_issue_els_npiv_logo - Issue a logo off a vport SYNOPSIS int lpfc_issue_els_npiv_logo (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp ); ARGUMENTS vport pointer to a virtual N_Port data structure. ndlp pointer to a node-list data structure. DESCRIPTION This routine issues a LOGO ...
lpfc_issue_els_plogi(9)
NAME lpfc_issue_els_plogi - Issue an plogi iocb command for a vport SYNOPSIS int lpfc_issue_els_plogi (struct lpfc_vport *vport , uint32_t did , uint8_t retry ); ARGUMENTS vport pointer to a host virtual N_Port data structure. did destination port identifier. retry number of retrie...
lpfc_issue_els_prli(9)
NAME lpfc_issue_els_prli - Issue a prli iocb command for a vport SYNOPSIS int lpfc_issue_els_prli (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp , uint8_t retry ); ARGUMENTS vport pointer to a host virtual N_Port data structure. ndlp pointer to a node-list data structure. retry ...
lpfc_issue_els_rdf(9)
NAME lpfc_issue_els_rdf - Register for diagnostic functions from the fabric. SYNOPSIS int lpfc_issue_els_rdf (struct lpfc_vport *vport , uint8_t retry ); ARGUMENTS vport pointer to a host virtual N_Port data structure. retry retry counter for the command IOCB. DESCRIPTION This routine issues an E...
lpfc_issue_els_rscn(9)
NAME lpfc_issue_els_rscn - Issue an RSCN to the Fabric Controller (Fabric) or the other nport (pt2pt). SYNOPSIS int lpfc_issue_els_rscn (struct lpfc_vport *vport , uint8_t retry ); ARGUMENTS vport pointer to a host virtual N_Port data structure. retry number of retries to the command IOCB. DESCRI...
lpfc_issue_els_scr(9)
NAME lpfc_issue_els_scr - Issue a scr to an node on a vport SYNOPSIS int lpfc_issue_els_scr (struct lpfc_vport *vport , uint8_t retry ); ARGUMENTS vport pointer to a host virtual N_Port data structure. retry retry counter for the command IOCB. DESCRIPTION This routine issues a State Change Reques...
lpfc_issue_fabric_iocb(9)
NAME lpfc_issue_fabric_iocb - Issue a fabric iocb command SYNOPSIS int lpfc_issue_fabric_iocb (struct lpfc_hba *phba , struct lpfc_iocbq *iocb ); ARGUMENTS phba pointer to lpfc hba data structure. iocb pointer to lpfc command iocb data structure. DESCRIPTION This routine is used as the top-lev...
lpfc_issue_fabric_reglogin(9)
NAME lpfc_issue_fabric_reglogin - Issue fabric registration login for a vport SYNOPSIS int lpfc_issue_fabric_reglogin (struct lpfc_vport *vport ); ARGUMENTS vport pointer to a host virtual N_Port data structure. DESCRIPTION This routine issues a fabric registration login for a vport. An active ndlp nod...
lpfc_issue_gidpt(9)
NAME lpfc_issue_gidpt - issue a GID_PT for all N_Ports SYNOPSIS int lpfc_issue_gidpt (struct lpfc_vport *vport ); ARGUMENTS vport The virtual port for which this call is being executed. DESCRIPTION This routine will issue a GID_PT to get a list of all N_Ports Return value : 0 - Failure to issue a GID_PT 1 - GI...
lpfc_issue_hb_mbox(9)
NAME lpfc_issue_hb_mbox - Issues heart-beat mailbox command SYNOPSIS int lpfc_issue_hb_mbox (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION If a HB mbox is not already in progrees, this routine will allocate a LPFC_MBOXQ_t, populate it with a MBX_HEARTBEAT (0x31) comma...
lpfc_issue_hb_tmo(9)
NAME lpfc_issue_hb_tmo - Signals heartbeat timer to issue mbox command SYNOPSIS void lpfc_issue_hb_tmo (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION The heartbeat timer (every 5 sec) will fire. If the HBA_HBEAT_TMO flag is set, it will force a MBX_HEARTBEAT mbox c...
lpfc_issue_init_vfi(9)
NAME lpfc_issue_init_vfi - Issue init_vfi mailbox command. SYNOPSIS void lpfc_issue_init_vfi (struct lpfc_vport *vport ); ARGUMENTS vport pointer to lpfc_vport data structure. DESCRIPTION This function issue a init_vfi mailbox command to initialize the VFI and VPI for the physical port. SEE ALSO Kernel file ...
lpfc_issue_init_vpi(9)
NAME lpfc_issue_init_vpi - Issue init_vpi mailbox command. SYNOPSIS void lpfc_issue_init_vpi (struct lpfc_vport *vport ); ARGUMENTS vport pointer to lpfc_vport data structure. DESCRIPTION This function issue a init_vpi mailbox command to initialize VPI for the vport. SEE ALSO Kernel file ./drivers/scsi/lpfc...
lpfc_issue_lip(9)
NAME lpfc_issue_lip - Misnomer, name carried over from long ago SYNOPSIS int lpfc_issue_lip (struct Scsi_Host *shost ); ARGUMENTS shost Scsi_Host pointer. DESCRIPTION Bring the link down gracefully then re-init the link. The firmware will re-init the fiber channel interface as required. Does not issue a LIP. ...
lpfc_issue_reg_vfi(9)
NAME lpfc_issue_reg_vfi - Register VFI for this vport's fabric login SYNOPSIS int lpfc_issue_reg_vfi (struct lpfc_vport *vport ); ARGUMENTS vport pointer to a host virtual N_Port data structure. DESCRIPTION This routine issues a REG_VFI mailbox for the vfi, vpi, fcfi triplet for the vport. This mailbox command...
lpfc_issue_reset(9)
NAME lpfc_issue_reset - Selectively resets an adapter SYNOPSIS ssize_t lpfc_issue_reset (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 con...
lpfc_issue_unreg_vfi(9)
NAME lpfc_issue_unreg_vfi - Unregister VFI for this vport's fabric login SYNOPSIS int lpfc_issue_unreg_vfi (struct lpfc_vport *vport ); ARGUMENTS vport pointer to a host virtual N_Port data structure. DESCRIPTION This routine issues a UNREG_VFI mailbox with the vfi, vpi, fcfi triplet for the vport. This mailbo...
lpfc_jedec_to_ascii(9)
NAME lpfc_jedec_to_ascii - Hex to ascii convertor according to JEDEC rules SYNOPSIS void lpfc_jedec_to_ascii (int incr , char hdw[] ); ARGUMENTS incr integer to convert. hdw ascii string holding converted integer plus a string terminator. DESCRIPTION JEDEC Joint Electron Device Engineering ...
lpfc_keep_pvt_pool_above_lowwm(9)
NAME lpfc_keep_pvt_pool_above_lowwm - Keep pvt_pool above low watermark SYNOPSIS void lpfc_keep_pvt_pool_above_lowwm (struct lpfc_hba *phba , u32 hwqid ); ARGUMENTS phba pointer to lpfc hba data structure. hwqid belong to which HWQ. DESCRIPTION This routine get a batch of XRIs from pbl_pool if p...
lpfc_kill_board(9)
NAME lpfc_kill_board - Prepare a mailbox command for killing board SYNOPSIS void lpfc_kill_board (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 kill board...
lpfc_least_capable_settings(9)
NAME lpfc_least_capable_settings - helper function for EDC rsp processing SYNOPSIS void lpfc_least_capable_settings (struct lpfc_hba *phba , struct fc_diag_cg_sig_desc *pcgd ); ARGUMENTS phba pointer to lpfc hba data structure. pcgd pointer to congestion detection descriptor in EDC rsp. DESCRIP...
lpfc_link_reset(9)
NAME lpfc_link_reset - Issue link reset SYNOPSIS int lpfc_link_reset (struct lpfc_vport *vport ); ARGUMENTS vport pointer to a virtual N_Port data structure. DESCRIPTION This routine performs link reset by sending INIT_LINK mailbox command. For SLI-3 adapter, link attention interrupt is enabled before issuing...
lpfc_link_speed_init(9)
NAME lpfc_link_speed_init - Set the adapters link speed SYNOPSIS int lpfc_link_speed_init (struct lpfc_hba *phba , int val ); ARGUMENTS phba lpfc_hba pointer. val link speed value. DESCRIPTION If val is in a valid range then set the adapter's link speed field. NOTES If the value is not in ran...
lpfc_link_speed_store(9)
NAME lpfc_link_speed_store - Set the adapters link speed SYNOPSIS ssize_t lpfc_link_speed_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev Pointer to class device. attr Unused. buf Data buffer. count Size o...
lpfc_link_state_show(9)
NAME lpfc_link_state_show - Return the link state of the port SYNOPSIS ssize_t lpfc_link_state_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 contains ...
lpfc_link_state_store(9)
NAME lpfc_link_state_store - Transition the link_state on an HBA port SYNOPSIS ssize_t lpfc_link_state_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. ...
lpfc_log_fw_write_cmpl(9)
NAME lpfc_log_fw_write_cmpl - logs firmware write completion status SYNOPSIS void lpfc_log_fw_write_cmpl (struct lpfc_hba *phba , u32 shdr_status , u32 shdr_add_status , u32 shdr_add_status_2 , u32 shdr_change_status , u32 shdr_csf ); ARGUMENTS phba pointer to lpfc hba data structure shdr_status wr_obj...
lpfc_log_intr_mode(9)
NAME lpfc_log_intr_mode - Log the active interrupt mode SYNOPSIS void lpfc_log_intr_mode (struct lpfc_hba *phba , uint32_t intr_mode ); ARGUMENTS phba pointer to lpfc hba data structure. intr_mode active interrupt mode adopted. DESCRIPTION This routine it invoked to log the currently used active int...
lpfc_mac_addr_match(9)
NAME lpfc_mac_addr_match - Check if the fcf mac address match. SYNOPSIS uint32_t lpfc_mac_addr_match (uint8_t *mac_addr , struct fcf_record *new_fcf_record ); ARGUMENTS mac_addr pointer to mac address. new_fcf_record pointer to fcf record. DESCRIPTION This routine compare the fcf record...
lpfc_map_topology(9)
NAME lpfc_map_topology - Map the topology read from READ_CONFIG SYNOPSIS void lpfc_map_topology (struct lpfc_hba *phba , struct lpfc_mbx_read_config *rd_config ); ARGUMENTS phba pointer to lpfc hba data structure. rd_config pointer to read config data DESCRIPTION This routine is invoked to map ...
lpfc_match_fcf_conn_list(9)
NAME lpfc_match_fcf_conn_list - Check if the FCF record can be used for discovery. SYNOPSIS int lpfc_match_fcf_conn_list (struct lpfc_hba *phba , struct fcf_record *new_fcf_record , uint32_t *boot_flag , uint32_t *addr_mode , uint16_t *vlan_id ); ARGUMENTS phba pointer to lpfc hba data structure. new_f...
lpfc_max_rpi_show(9)
NAME lpfc_max_rpi_show - Return maximum rpi SYNOPSIS ssize_t lpfc_max_rpi_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 contains the maximum rp...
lpfc_max_vpi_show(9)
NAME lpfc_max_vpi_show - Return maximum vpi SYNOPSIS ssize_t lpfc_max_vpi_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 contains the maximum vp...
lpfc_max_xri_show(9)
NAME lpfc_max_xri_show - Return maximum xri SYNOPSIS ssize_t lpfc_max_xri_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 contains the maximum xr...
lpfc_mbox_api_table_setup(9)
NAME lpfc_mbox_api_table_setup - Set up mbox api function jump table SYNOPSIS int lpfc_mbox_api_table_setup (struct lpfc_hba *phba , uint8_t dev_grp ); ARGUMENTS phba The hba struct for which this call is being executed. dev_grp The HBA PCI-Device group number. DESCRIPTION This routine sets up the...
lpfc_mbox_cmd_check(9)
NAME lpfc_mbox_cmd_check - Check the validality of a mailbox command SYNOPSIS int lpfc_mbox_cmd_check (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq ); ARGUMENTS phba pointer to lpfc hba data structure. mboxq pointer to the driver internal queue element for mailbox command. DESCRIPTION This routi...
lpfc_mbox_cmpl_put(9)
NAME lpfc_mbox_cmpl_put - Put mailbox command into mailbox command complete list SYNOPSIS void lpfc_mbox_cmpl_put (struct lpfc_hba *phba , LPFC_MBOXQ_t *mbq ); ARGUMENTS phba pointer to lpfc hba data structure. mbq pointer to the driver internal queue element for mailbox command. DESCRIPTION T...
lpfc_mbox_dev_check(9)
NAME lpfc_mbox_dev_check - Check the device state for issuing a mailbox command SYNOPSIS int lpfc_mbox_dev_check (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine is to check whether the HBA device is ready for posting a mailbox command. It is used by the m...
lpfc_mbox_get(9)
NAME lpfc_mbox_get - Remove a mailbox cmd from the head of driver's mailbox queue SYNOPSIS LPFC_MBOXQ_t * lpfc_mbox_get (struct lpfc_hba * phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION Driver maintains a internal mailbox command queue implemented as a linked list. When a mailbox comma...
lpfc_mbox_put(9)
NAME lpfc_mbox_put - Put a mailbox cmd into the tail of driver's mailbox queue SYNOPSIS void lpfc_mbox_put (struct lpfc_hba * phba , LPFC_MBOXQ_t * mbq ); ARGUMENTS phba pointer to lpfc hba data structure. mbq pointer to the driver internal queue element for mailbox command. DESCRIPTION Driver...
lpfc_mbox_rsrc_cleanup(9)
NAME lpfc_mbox_rsrc_cleanup - Free the mailbox DMA buffer and virtual memory. SYNOPSIS void lpfc_mbox_rsrc_cleanup (struct lpfc_hba *phba , LPFC_MBOXQ_t *mbox , enum lpfc_mbox_ctx locked ); ARGUMENTS phba pointer to lpfc hba data structure. mbox pointer to the driver internal queue element for m...
lpfc_mbox_rsrc_prep(9)
NAME lpfc_mbox_rsrc_prep - Prepare a mailbox with DMA buffer memory. SYNOPSIS int lpfc_mbox_rsrc_prep (struct lpfc_hba *phba , LPFC_MBOXQ_t *mbox ); ARGUMENTS phba pointer to lpfc hba data structure. mbox pointer to the driver internal queue element for mailbox command. DESCRIPTION A mailbox c...
lpfc_mbox_timeout(9)
NAME lpfc_mbox_timeout - Timeout call back function for mbox timer SYNOPSIS void lpfc_mbox_timeout (struct timer_list *t ); ARGUMENTS t Context to fetch pointer to hba structure from. DESCRIPTION This is the callback function for mailbox timer. The mailbox timer is armed when a new mailbox command is iss...
lpfc_mbox_timeout_handler(9)
NAME lpfc_mbox_timeout_handler - Worker thread function to handle mailbox timeout SYNOPSIS void lpfc_mbox_timeout_handler (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. DESCRIPTION This function is called from worker thread when a mailbox command times out. The caller is not required...
lpfc_mbox_tmo_val(9)
NAME lpfc_mbox_tmo_val - Retrieve mailbox command timeout value SYNOPSIS int lpfc_mbox_tmo_val (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq ); ARGUMENTS phba pointer to lpfc hba data structure. mboxq pointer to the driver internal queue element for mailbox command. DESCRIPTION This routine retri...
lpfc_mbuf_alloc(9)
NAME lpfc_mbuf_alloc - Allocate an mbuf from the lpfc_mbuf_pool PCI pool SYNOPSIS void * lpfc_mbuf_alloc (struct lpfc_hba *phba , int mem_flags , dma_addr_t *handle ); ARGUMENTS phba HBA which owns the pool to allocate from mem_flags indicates if this is a priority (MEM_PRI) allocation handle...
lpfc_mbuf_free(9)
NAME lpfc_mbuf_free - Free an mbuf from the lpfc_mbuf_pool PCI pool (unlocked) SYNOPSIS void lpfc_mbuf_free (struct lpfc_hba * phba , void *virt , dma_addr_t dma ); ARGUMENTS phba HBA which owns the pool to return to virt mbuf to free dma the DMA-mapped address of the lpfc_mbuf_p...
lpfc_mbx_cmpl_add_fcf_record(9)
NAME lpfc_mbx_cmpl_add_fcf_record - add fcf mbox completion handler. SYNOPSIS void lpfc_mbx_cmpl_add_fcf_record (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq ); ARGUMENTS phba pointer to lpfc hba data structure. mboxq Pointer to mailbox object. DESCRIPTION This routine is invoked to manually add ...
lpfc_mbx_cmpl_dflt_rpi(9)
NAME lpfc_mbx_cmpl_dflt_rpi - Completion callbk func for unreg dflt rpi mbox cmd SYNOPSIS void lpfc_mbx_cmpl_dflt_rpi (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. DESCRIPTI...
lpfc_mbx_cmpl_fcf_rr_read_fcf_rec(9)
NAME lpfc_mbx_cmpl_fcf_rr_read_fcf_rec - fcf roundrobin read_fcf mbox cmpl hdler SYNOPSIS void lpfc_mbx_cmpl_fcf_rr_read_fcf_rec (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq ); ARGUMENTS phba pointer to lpfc hba data structure. mboxq pointer to mailbox object. DESCRIPTION This is the callback fu...
lpfc_mbx_cmpl_fcf_scan_read_fcf_rec(9)
NAME lpfc_mbx_cmpl_fcf_scan_read_fcf_rec - fcf scan read_fcf mbox cmpl handler. SYNOPSIS void lpfc_mbx_cmpl_fcf_scan_read_fcf_rec (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq ); ARGUMENTS phba pointer to lpfc hba data structure. mboxq pointer to mailbox object. DESCRIPTION This function iterat...
lpfc_mbx_cmpl_read_fcf_rec(9)
NAME lpfc_mbx_cmpl_read_fcf_rec - read fcf completion handler. SYNOPSIS void lpfc_mbx_cmpl_read_fcf_rec (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq ); ARGUMENTS phba pointer to lpfc hba data structure. mboxq pointer to mailbox object. DESCRIPTION This is the callback function of read FCF recor...
lpfc_mbx_cmpl_redisc_fcf_table(9)
NAME lpfc_mbx_cmpl_redisc_fcf_table - completion routine for rediscover FCF table SYNOPSIS void lpfc_mbx_cmpl_redisc_fcf_table (struct lpfc_hba *phba , LPFC_MBOXQ_t *mbox ); ARGUMENTS phba pointer to lpfc hba data structure. mbox An allocated pointer to type LPFC_MBOXQ_t DESCRIPTION This routin...
lpfc_mbx_cmpl_resume_rpi(9)
NAME lpfc_mbx_cmpl_resume_rpi - Resume RPI completion routine SYNOPSIS void lpfc_mbx_cmpl_resume_rpi (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq ); ARGUMENTS phba pointer to lpfc hba data structure. mboxq pointer to mailbox object DESCRIPTION This routine is invoked to issue a completion to a r...
lpfc_mem_alloc(9)
NAME lpfc_mem_alloc - create and allocate all PCI and memory pools SYNOPSIS int lpfc_mem_alloc (struct lpfc_hba *phba , int align ); ARGUMENTS phba HBA to allocate pools for align alignment requirement for blocks; must be a power of two DESCRIPTION Creates and allocates PCI pools lpfc_mbuf_pool,...
lpfc_mem_free(9)
NAME lpfc_mem_free - Frees memory allocated by lpfc_mem_alloc SYNOPSIS void lpfc_mem_free (struct lpfc_hba *phba ); ARGUMENTS phba HBA to free memory for DESCRIPTION Free the memory allocated by lpfc_mem_alloc routine. This routine is a the counterpart of lpfc_mem_alloc. RETURN None SEE ALSO Kernel file ....
lpfc_mem_free_all(9)
NAME lpfc_mem_free_all - Frees all PCI and driver memory SYNOPSIS void lpfc_mem_free_all (struct lpfc_hba *phba ); ARGUMENTS phba HBA to free memory for DESCRIPTION Free memory from PCI and driver memory pools and also those used : lpfc_sg_dma_buf_pool, lpfc_mbuf_pool, lpfc_hrb_pool. Frees kmalloc-backed memp...
lpfc_modeldesc_show(9)
NAME lpfc_modeldesc_show - Return the model description of the hba SYNOPSIS ssize_t lpfc_modeldesc_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 conta...
lpfc_modelname_show(9)
NAME lpfc_modelname_show - Return the model name of the hba SYNOPSIS ssize_t lpfc_modelname_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 contains the...
lpfc_modify_hba_eq_delay(9)
NAME lpfc_modify_hba_eq_delay - Modify Delay Multiplier on EQs SYNOPSIS void lpfc_modify_hba_eq_delay (struct lpfc_hba *phba , uint32_t startq , uint32_t numq , uint32_t usdelay ); ARGUMENTS phba HBA structure that EQs are on. startq The starting EQ index to modify numq The number o...
lpfc_more_adisc(9)
NAME lpfc_more_adisc - Issue more adisc as needed SYNOPSIS void lpfc_more_adisc (struct lpfc_vport *vport ); ARGUMENTS vport pointer to a host virtual N_Port data structure. DESCRIPTION This routine determines whether there are more ndlps on a vport node list need to have Address Discover (ADISC) issued. If ...
lpfc_more_plogi(9)
NAME lpfc_more_plogi - Check and issue remaining plogis for a vport SYNOPSIS void lpfc_more_plogi (struct lpfc_vport *vport ); ARGUMENTS vport pointer to a host virtual N_Port data structure. DESCRIPTION This routine checks whether there are more remaining Port Logins (PLOGI) to be issued for the vport. If so,...
lpfc_move_xri_pbl_to_pvt(9)
NAME lpfc_move_xri_pbl_to_pvt - Move some XRIs from public to private pool SYNOPSIS void lpfc_move_xri_pbl_to_pvt (struct lpfc_hba *phba , u32 hwqid , u32 count ); ARGUMENTS phba pointer to lpfc hba data structure. hwqid belong to which HWQ. count number of XRIs to move DESCRIPTION...
lpfc_move_xri_pvt_to_pbl(9)
NAME lpfc_move_xri_pvt_to_pbl - Move some XRIs from private to public pool SYNOPSIS void lpfc_move_xri_pvt_to_pbl (struct lpfc_hba *phba , u32 hwqid ); ARGUMENTS phba pointer to lpfc hba data structure. hwqid belong to which HWQ. DESCRIPTION This routine is called from hearbeat timer when pvt_po...
lpfc_mq_create(9)
NAME lpfc_mq_create - Create a mailbox Queue on the HBA SYNOPSIS int32_t lpfc_mq_create (struct lpfc_hba *phba , struct lpfc_queue *mq , struct lpfc_queue *cq , uint32_t subtype ); ARGUMENTS phba HBA structure that indicates port to create a queue on. mq The queue structure to use to create th...
lpfc_mq_create_fb_init(9)
NAME lpfc_mq_create_fb_init - Send MCC_CREATE without async events registration SYNOPSIS void lpfc_mq_create_fb_init (struct lpfc_hba *phba , struct lpfc_queue *mq , LPFC_MBOXQ_t *mbox , struct lpfc_queue *cq ); ARGUMENTS phba HBA structure that indicates port to create a queue on. mq The queu...
lpfc_mq_destroy(9)
NAME lpfc_mq_destroy - Destroy a Mailbox Queue on the HBA SYNOPSIS int lpfc_mq_destroy (struct lpfc_hba *phba , struct lpfc_queue *mq ); ARGUMENTS phba HBA structure that indicates port to destroy a queue on. mq The queue structure associated with the queue to destroy. DESCRIPTION This funct...
lpfc_mrq_create(9)
NAME lpfc_mrq_create - Create MRQ Receive Queues on the HBA SYNOPSIS int lpfc_mrq_create (struct lpfc_hba *phba , struct lpfc_queue **hrqp , struct lpfc_queue **drqp , struct lpfc_queue **cqp , uint32_t subtype ); ARGUMENTS phba HBA structure that indicates port to create a queue on. hrqp The qu...
lpfc_new_io_buf(9)
NAME lpfc_new_io_buf - IO buffer allocator for HBA with SLI4 IF spec SYNOPSIS int lpfc_new_io_buf (struct lpfc_hba *phba , int num_to_alloc ); ARGUMENTS phba Pointer to lpfc hba data structure. num_to_alloc The requested number of buffers to allocate. DESCRIPTION This routine alloca...
lpfc_new_scsi_buf_s3(9)
NAME lpfc_new_scsi_buf_s3 - Scsi buffer allocator for HBA with SLI3 IF spec SYNOPSIS int lpfc_new_scsi_buf_s3 (struct lpfc_vport *vport , int num_to_alloc ); ARGUMENTS vport The virtual port for which this call being executed. num_to_alloc The requested number of buffers to allocate. ...
lpfc_next_online_cpu(9)
NAME lpfc_next_online_cpu - Finds next online CPU on cpumask SYNOPSIS unsigned int lpfc_next_online_cpu (const struct cpumask *mask , unsigned int start ); ARGUMENTS mask Pointer to phba's cpumask member. start starting cpu index NOTE If no valid cpu found, then nr_cpu_ids is returned. SEE ALSO...
lpfc_next_present_cpu(9)
NAME lpfc_next_present_cpu - Finds next present CPU after n SYNOPSIS unsigned int lpfc_next_present_cpu (int n ); ARGUMENTS n the cpu prior to search NOTE If no next present cpu, then fallback to first present cpu. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc.h lpfc_next_online_cpu(9), lpfc_sli4_mod_hba_...
lpfc_nlp_logo_unreg(9)
NAME lpfc_nlp_logo_unreg - Unreg mailbox completion handler before LOGO SYNOPSIS void lpfc_nlp_logo_unreg (struct lpfc_hba *phba , LPFC_MBOXQ_t *pmb ); ARGUMENTS phba Pointer to HBA context object. pmb Pointer to mailbox object. DESCRIPTION This function will issue an ELS LOGO command after co...
lpfc_nodev_tmo_init(9)
NAME lpfc_nodev_tmo_init - Set the hba nodev timeout value SYNOPSIS int lpfc_nodev_tmo_init (struct lpfc_vport *vport , int val ); ARGUMENTS vport lpfc vport structure pointer. val contains the nodev timeout value. DESCRIPTION If the devloss tmo is already set then nodev tmo is set to devloss ...
lpfc_nodev_tmo_set(9)
NAME lpfc_nodev_tmo_set - Set the vport nodev tmo and devloss tmo values SYNOPSIS int lpfc_nodev_tmo_set (struct lpfc_vport *vport , int val ); ARGUMENTS vport lpfc vport structure pointer. val contains the tmo value. DESCRIPTION If the devloss tmo is already set or the vport dev loss tmo has c...
lpfc_nodev_tmo_show(9)
NAME lpfc_nodev_tmo_show - Return the hba dev loss timeout value SYNOPSIS ssize_t lpfc_nodev_tmo_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 contain...
lpfc_npiv_info_show(9)
NAME lpfc_npiv_info_show - Return text about NPIV support for the adapter SYNOPSIS ssize_t lpfc_npiv_info_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 t...
lpfc_nport_evt_cnt_show(9)
NAME lpfc_nport_evt_cnt_show - Return the number of nport events SYNOPSIS ssize_t lpfc_nport_evt_cnt_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 ret...
lpfc_num_discovered_ports_show(9)
NAME lpfc_num_discovered_ports_show - Return sum of mapped and unmapped vports SYNOPSIS ssize_t lpfc_num_discovered_ports_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. ...
lpfc_nvme_abort_fcreq_cmpl(9)
NAME lpfc_nvme_abort_fcreq_cmpl - Complete an NVME FCP abort request. SYNOPSIS void lpfc_nvme_abort_fcreq_cmpl (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba Pointer to HBA context object cmdiocb Pointer to command iocb object. rspiocb ...
lpfc_nvme_create_localport(9)
NAME lpfc_nvme_create_localport - Create/Bind an nvme localport instance. SYNOPSIS int lpfc_nvme_create_localport (struct lpfc_vport *vport ); ARGUMENTS vport the lpfc_vport instance requesting a localport. DESCRIPTION This routine is invoked to create an nvme localport instance to bind to the nvme_fc_transp...
lpfc_nvme_create_queue(9)
NAME lpfc_nvme_create_queue - SYNOPSIS int lpfc_nvme_create_queue (struct nvme_fc_local_port *pnvme_lport , unsigned int qidx , u16 qsize , void **handle ); ARGUMENTS pnvme_lport Transport localport that LS is to be issued from qidx An cpu index used to affinitize IO queues and MSIX vectors. qs...
lpfc_nvme_delete_queue(9)
NAME lpfc_nvme_delete_queue - SYNOPSIS void lpfc_nvme_delete_queue (struct nvme_fc_local_port *pnvme_lport , unsigned int qidx , void *handle ); ARGUMENTS pnvme_lport Transport localport that LS is to be issued from qidx An cpu index used to affinitize IO queues and MSIX vectors. handle An...
lpfc_nvme_destroy_localport(9)
NAME lpfc_nvme_destroy_localport - Destroy lpfc_nvme bound to nvme transport. SYNOPSIS void lpfc_nvme_destroy_localport (struct lpfc_vport *vport ); ARGUMENTS vport pointer to a host virtual N_Port data structure DESCRIPTION This routine is invoked to destroy all lports bound to the phba. The lport memory was...
lpfc_nvme_fcp_abort(9)
NAME lpfc_nvme_fcp_abort - Issue an NVME-over-FCP ABTS SYNOPSIS void lpfc_nvme_fcp_abort (struct nvme_fc_local_port *pnvme_lport , struct nvme_fc_remote_port *pnvme_rport , void *hw_queue_handle , struct nvmefc_fcp_req *pnvme_fcreq ); ARGUMENTS pnvme_lport Pointer to the driver's local port data pnvme_rport P...
lpfc_nvme_fcp_io_submit(9)
NAME lpfc_nvme_fcp_io_submit - Issue an NVME-over-FCP IO SYNOPSIS int lpfc_nvme_fcp_io_submit (struct nvme_fc_local_port *pnvme_lport , struct nvme_fc_remote_port *pnvme_rport , void *hw_queue_handle , struct nvmefc_fcp_req *pnvme_fcreq ); ARGUMENTS pnvme_lport Pointer to the driver's local port data pnvme_rp...
lpfc_nvme_handle_lsreq(9)
NAME lpfc_nvme_handle_lsreq - Process an unsolicited NVME LS request SYNOPSIS int lpfc_nvme_handle_lsreq (struct lpfc_hba *phba , struct lpfc_async_xchg_ctx *axchg ); ARGUMENTS phba pointer to lpfc hba data structure. axchg pointer to exchange context for the NVME LS request DESCRIPTION This ro...
lpfc_nvme_ls_abort(9)
NAME lpfc_nvme_ls_abort - Abort a prior NVME LS request SYNOPSIS void lpfc_nvme_ls_abort (struct nvme_fc_local_port *pnvme_lport , struct nvme_fc_remote_port *pnvme_rport , struct nvmefc_ls_req *pnvme_lsreq ); ARGUMENTS pnvme_lport Transport localport that LS is to be issued from. pnvme_rport Transport remote...
lpfc_nvme_ls_req(9)
NAME lpfc_nvme_ls_req - Issue an NVME Link Service request SYNOPSIS int lpfc_nvme_ls_req (struct nvme_fc_local_port *pnvme_lport , struct nvme_fc_remote_port *pnvme_rport , struct nvmefc_ls_req *pnvme_lsreq ); ARGUMENTS pnvme_lport Transport localport that LS is to be issued from. pnvme_rport Transport remote...
lpfc_nvme_mod_param_dep(9)
NAME lpfc_nvme_mod_param_dep - Adjust module parameter value based on dependencies between protocols and roles. SYNOPSIS void lpfc_nvme_mod_param_dep (struct lpfc_hba *phba ); ARGUMENTS phba lpfc_hba pointer. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_attr.c lpfc_jedec_to_ascii(9), lpfc_drvr_version_sh...
lpfc_nvme_prep_io_cmd(9)
NAME lpfc_nvme_prep_io_cmd - Issue an NVME-over-FCP IO SYNOPSIS int lpfc_nvme_prep_io_cmd (struct lpfc_vport *vport , struct lpfc_io_buf *lpfc_ncmd , struct lpfc_nodelist *pnode , struct lpfc_fc4_ctrl_stat *cstat ); ARGUMENTS vport pointer to a host virtual N_Port data structure lpfc_ncmd Pointer to l...
lpfc_nvme_prep_io_dma(9)
NAME lpfc_nvme_prep_io_dma - Issue an NVME-over-FCP IO SYNOPSIS int lpfc_nvme_prep_io_dma (struct lpfc_vport *vport , struct lpfc_io_buf *lpfc_ncmd ); ARGUMENTS vport pointer to a host virtual N_Port data structure lpfc_ncmd Pointer to lpfc scsi command DESCRIPTION Driver registers this routine as i...
lpfc_nvme_unsol_ls_handler(9)
NAME lpfc_nvme_unsol_ls_handler - Process an unsolicited event data buffer containing a NVME LS request. SYNOPSIS void lpfc_nvme_unsol_ls_handler (struct lpfc_hba *phba , struct lpfc_iocbq *piocb ); ARGUMENTS phba pointer to lpfc hba data structure. piocb pointer to the iocbq struct representing ...
lpfc_nvme_unsol_ls_issue_abort(9)
NAME lpfc_nvme_unsol_ls_issue_abort - issue ABTS on an exchange received via async frame receive where the frame is not handled. SYNOPSIS int lpfc_nvme_unsol_ls_issue_abort (struct lpfc_hba *phba , struct lpfc_async_xchg_ctx *ctxp , uint32_t sid , uint16_t xri ); ARGUMENTS phba pointer to adapter structure ...
lpfc_nvme_wait_for_io_drain(9)
NAME lpfc_nvme_wait_for_io_drain - Wait for all NVME wqes to complete SYNOPSIS void lpfc_nvme_wait_for_io_drain (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. DESCRIPTION This function flushes all wqes in the nvme rings and frees all resources in the txcmplq. This function does not ...
lpfc_nvmels_flush_cmd(9)
NAME lpfc_nvmels_flush_cmd - Clean up outstanding nvmels commands for a port SYNOPSIS void lpfc_nvmels_flush_cmd (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_nvme.c lpfc_nvme_create_queue(9), lpfc_nvme_delete_queue(9), lpfc_nvme_handle_...
lpfc_nvmet_buf_alloc(9)
NAME lpfc_nvmet_buf_alloc - Allocate an nvmet_buf from the lpfc_sg_dma_buf_pool PCI pool SYNOPSIS void * lpfc_nvmet_buf_alloc (struct lpfc_hba *phba , int mem_flags , dma_addr_t *handle ); ARGUMENTS phba HBA which owns the pool to allocate from mem_flags indicates if this is a priority (MEM_PRI) allo...
lpfc_nvmet_buf_free(9)
NAME lpfc_nvmet_buf_free - Free an nvmet_buf from the lpfc_sg_dma_buf_pool PCI pool SYNOPSIS void lpfc_nvmet_buf_free (struct lpfc_hba *phba , void *virt , dma_addr_t dma ); ARGUMENTS phba HBA which owns the pool to return to virt nvmet_buf to free dma the DMA-mapped address of t...
lpfc_nvmet_ctxbuf_post(9)
NAME lpfc_nvmet_ctxbuf_post - Repost a NVMET RQ DMA buffer and clean up context SYNOPSIS void lpfc_nvmet_ctxbuf_post (struct lpfc_hba *phba , struct lpfc_nvmet_ctxbuf *ctx_buf ); ARGUMENTS phba HBA buffer is associated with ctx_buf ctx buffer context DESCRIPTION Frees the given DMA buffer in the a...
lpfc_nvmet_handle_lsreq(9)
NAME lpfc_nvmet_handle_lsreq - Process an NVME LS request SYNOPSIS int lpfc_nvmet_handle_lsreq (struct lpfc_hba *phba , struct lpfc_async_xchg_ctx *axchg ); ARGUMENTS phba pointer to lpfc hba data structure. axchg pointer to exchange context for the NVME LS request DESCRIPTION This routine is us...