id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
lpfc_get_stats(9) | NAME lpfc_get_stats - Return statistical information about the adapter
SYNOPSIS struct fc_host_statistics * lpfc_get_stats (struct Scsi_Host *shost );
ARGUMENTS shost kernel scsi host pointer.
NOTES NULL on error for link down, no mbox pool, sli2 active, management not allowed, memory allocation error, or mbox... |
lpfc_get_vport_cfgparam(9) | NAME lpfc_get_vport_cfgparam - Used during port create, init the vport structure
SYNOPSIS void lpfc_get_vport_cfgparam (struct lpfc_vport *vport );
ARGUMENTS vport lpfc_vport pointer.
SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_attr.c lpfc_jedec_to_ascii(9), lpfc_drvr_version_show(9), lpfc_enable_fip_sh... |
lpfc_handle_deferred_eratt(9) | NAME lpfc_handle_deferred_eratt - The HBA hardware deferred error handler
SYNOPSIS void lpfc_handle_deferred_eratt (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to handle the deferred HBA hardware error conditions. This type of error is ind... |
lpfc_handle_eratt(9) | NAME lpfc_handle_eratt - Wrapper func for handling hba error attention
SYNOPSIS void lpfc_handle_eratt (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc HBA data structure.
DESCRIPTION This routine wraps the actual SLI3 or SLI4 hba error attention handling routine from the API jump table function point... |
lpfc_handle_eratt_s3(9) | NAME lpfc_handle_eratt_s3 - The SLI3 HBA hardware error handler
SYNOPSIS void lpfc_handle_eratt_s3 (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to handle the following HBA hardware error conditions: 1 - HBA error attention interrupt 2 - DMA r... |
lpfc_handle_eratt_s4(9) | NAME lpfc_handle_eratt_s4 - The SLI4 HBA hardware error handler
SYNOPSIS void lpfc_handle_eratt_s4 (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to handle the SLI4 HBA hardware error attention conditions.
SEE ALSO Kernel file ./drivers/sc... |
lpfc_handle_fcp_err(9) | NAME lpfc_handle_fcp_err - FCP response handler
SYNOPSIS void lpfc_handle_fcp_err (struct lpfc_vport *vport , struct lpfc_io_buf *lpfc_cmd , uint32_t fcpi_parm );
ARGUMENTS vport The virtual port for which this call is being executed.
lpfc_cmd Pointer to lpfc_io_buf data structure.
fcpi_parm ... |
lpfc_handle_latt(9) | NAME lpfc_handle_latt - The HBA link event handler
SYNOPSIS void lpfc_handle_latt (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked from the worker thread to handle a HBA host attention link event. SLI3 only.
SEE ALSO Kernel file ./drivers/sc... |
lpfc_handle_rrq_active(9) | NAME lpfc_handle_rrq_active - Checks if RRQ has waithed RATOV.
SYNOPSIS void lpfc_handle_rrq_active (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function is called with hbalock held. This function Checks if stop_time (ratov from setting rrq active) has been reache... |
lpfc_hb_mbox_cmpl(9) | NAME lpfc_hb_mbox_cmpl - The lpfc heart-beat mailbox command callback function
SYNOPSIS void lpfc_hb_mbox_cmpl (struct lpfc_hba * phba , LPFC_MBOXQ_t * pmboxq );
ARGUMENTS phba pointer to lpfc hba data structure.
pmboxq pointer to the driver internal queue element for mailbox command.
DESCRIPTION... |
lpfc_hb_mxp_handler(9) | NAME lpfc_hb_mxp_handler - Multi-XRI pools handler to adjust XRI distribution
SYNOPSIS void lpfc_hb_mxp_handler (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION For each heartbeat, this routine does some heuristic methods to adjust XRI distribution. The goal is to fully... |
lpfc_hb_timeout(9) | NAME lpfc_hb_timeout - The HBA-timer timeout handler
SYNOPSIS void lpfc_hb_timeout (struct timer_list *t );
ARGUMENTS t timer context used to obtain the pointer to lpfc hba data structure.
DESCRIPTION This is the HBA-timer timeout handler registered to the lpfc driver. When this timer fires, a HBA timeo... |
lpfc_hb_timeout_handler(9) | NAME lpfc_hb_timeout_handler - The HBA-timer timeout handler
SYNOPSIS void lpfc_hb_timeout_handler (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This is the actual HBA-timer timeout handler to be invoked by the worker thread whenever the HBA timer fired and HBA-timeo... |
lpfc_hba_alloc(9) | NAME lpfc_hba_alloc - Allocate driver hba data structure for a device.
SYNOPSIS struct lpfc_hba * lpfc_hba_alloc (struct pci_dev *pdev );
ARGUMENTS pdev pointer to pci device data structure.
DESCRIPTION This routine is invoked to allocate the driver hba data structure for an HBA device. If the allocation is ... |
lpfc_hba_clean_txcmplq(9) | NAME lpfc_hba_clean_txcmplq - Perform lpfc uninitialization after HBA reset
SYNOPSIS void lpfc_hba_clean_txcmplq (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc HBA data structure.
DESCRIPTION This routine will cleanup the txcmplq after the HBA is reset when bringing down the SLI Layer. Return codes... |
lpfc_hba_down_link(9) | NAME lpfc_hba_down_link - this routine downs the FC link
SYNOPSIS int lpfc_hba_down_link (struct lpfc_hba *phba , uint32_t flag );
ARGUMENTS phba pointer to lpfc hba data structure.
flag mailbox command issue mode - either MBX_POLL or MBX_NOWAIT
DESCRIPTION This routine will issue the DOWN_LINK... |
lpfc_hba_down_post(9) | NAME lpfc_hba_down_post - Wrapper func for hba down post routine
SYNOPSIS int lpfc_hba_down_post (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc HBA data structure.
DESCRIPTION This routine wraps the actual SLI3 or SLI4 routine for performing uninitialization after the HBA is reset when bring down th... |
lpfc_hba_down_post_s3(9) | NAME lpfc_hba_down_post_s3 - Perform lpfc uninitialization after HBA reset
SYNOPSIS int lpfc_hba_down_post_s3 (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc HBA data structure.
DESCRIPTION This routine will do uninitialization after the HBA is reset when bring down the SLI Layer. Return codes 0 - s... |
lpfc_hba_down_post_s4(9) | NAME lpfc_hba_down_post_s4 - Perform lpfc uninitialization after HBA reset
SYNOPSIS int lpfc_hba_down_post_s4 (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc HBA data structure.
DESCRIPTION This routine will do uninitialization after the HBA is reset when bring down the SLI Layer. Return codes 0 - s... |
lpfc_hba_down_prep(9) | NAME lpfc_hba_down_prep - Perform lpfc uninitialization prior to HBA reset
SYNOPSIS int lpfc_hba_down_prep (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc HBA data structure.
DESCRIPTION This routine will do LPFC uninitialization before the HBA is reset when bringing down the SLI Layer. Return codes... |
lpfc_hba_eq_hdl_array_init(9) | NAME lpfc_hba_eq_hdl_array_init - Initialize hba_eq_hdl structure
SYNOPSIS void lpfc_hba_eq_hdl_array_init (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION The routine initializes the hba_eq_hdl array structure
SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_init.c lp... |
lpfc_hba_free(9) | NAME lpfc_hba_free - Free driver hba data structure with a device.
SYNOPSIS void lpfc_hba_free (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to free the driver hba data structure with an HBA device.
SEE ALSO Kernel file ./drivers/scsi/lpf... |
lpfc_hba_free_post_buf(9) | NAME lpfc_hba_free_post_buf - Perform lpfc uninitialization after HBA reset
SYNOPSIS void lpfc_hba_free_post_buf (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc HBA data structure.
DESCRIPTION This routine will cleanup posted ELS buffers after the HBA is reset when bringing down the SLI Layer. Retur... |
lpfc_hba_init(9) | NAME lpfc_hba_init - Perform special handling for LC HBA initialization
SYNOPSIS void lpfc_hba_init (struct lpfc_hba *phba , uint32_t *hbainit );
ARGUMENTS phba pointer to lpfc hba data structure.
hbainit pointer to an array of unsigned 32-bit integers.
DESCRIPTION This routine performs the specia... |
lpfc_hba_init_link(9) | NAME lpfc_hba_init_link - Initialize the FC link
SYNOPSIS int lpfc_hba_init_link (struct lpfc_hba *phba , uint32_t flag );
ARGUMENTS phba pointer to lpfc hba data structure.
flag mailbox command issue mode - either MBX_POLL or MBX_NOWAIT
DESCRIPTION This routine will issue the INIT_LINK mai... |
lpfc_hba_init_link_fc_topology(9) | NAME lpfc_hba_init_link_fc_topology - Initialize FC link with desired topology
SYNOPSIS int lpfc_hba_init_link_fc_topology (struct lpfc_hba *phba , uint32_t fc_topology , uint32_t flag );
ARGUMENTS phba pointer to lpfc hba data structure.
fc_topology desired fc topology.
flag mailbox com... |
lpfc_hba_log_verbose_init(9) | NAME lpfc_hba_log_verbose_init - Set hba's log verbose level
SYNOPSIS void lpfc_hba_log_verbose_init (struct lpfc_hba *phba , uint32_t verbose );
ARGUMENTS phba Pointer to lpfc_hba struct.
verbose Verbose level to set.
DESCRIPTION This function is called by the lpfc_get_cfgparam routine to set... |
lpfc_hdw_show(9) | NAME lpfc_hdw_show - Return the jedec information about the hba
SYNOPSIS ssize_t lpfc_hdw_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 s... |
lpfc_heart_beat(9) | NAME lpfc_heart_beat - Prepare a mailbox command for heart beat
SYNOPSIS void lpfc_heart_beat (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 heart beat ma... |
lpfc_host_attrib_init(9) | NAME lpfc_host_attrib_init - Initialize SCSI host attributes on a FC port
SYNOPSIS void lpfc_host_attrib_init (struct Scsi_Host *shost );
ARGUMENTS shost pointer to SCSI host data structure.
DESCRIPTION This routine initializes a given SCSI host attributes on a FC port. The SCSI host can be either on top of a ... |
lpfc_host_reset_handler(9) | NAME lpfc_host_reset_handler - scsi_host_template eh_host_reset_handler entry pt
SYNOPSIS int lpfc_host_reset_handler (struct scsi_cmnd *cmnd );
ARGUMENTS cmnd Pointer to scsi_cmnd data structure.
DESCRIPTION This routine does host reset to the adaptor port. It brings the HBA offline, performs a board restart... |
lpfc_idiag_baracc_read(9) | NAME lpfc_idiag_baracc_read - idiag debugfs pci bar access read
SYNOPSIS ssize_t lpfc_idiag_baracc_read (struct file *file , char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the data to.
nbytes The number of byt... |
lpfc_idiag_baracc_write(9) | NAME lpfc_idiag_baracc_write - Syntax check and set up idiag bar access commands
SYNOPSIS ssize_t lpfc_idiag_baracc_write (struct file *file , const char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the user data from.
... |
lpfc_idiag_cmd_get(9) | NAME lpfc_idiag_cmd_get - Get and parse idiag debugfs comands from user space
SYNOPSIS int lpfc_idiag_cmd_get (const char __user *buf , size_t nbytes , struct lpfc_idiag_cmd *idiag_cmd );
ARGUMENTS buf The pointer to the user space buffer.
nbytes The number of bytes in the user space buffer.
... |
lpfc_idiag_cmd_release(9) | NAME lpfc_idiag_cmd_release - Release idiag cmd access file operation
SYNOPSIS int lpfc_idiag_cmd_release (struct inode *inode , struct file *file );
ARGUMENTS inode The inode pointer that contains a vport pointer. (unused)
file The file pointer that contains the buffer to release.
DESCRIPTION T... |
lpfc_idiag_ctlacc_read(9) | NAME lpfc_idiag_ctlacc_read - idiag debugfs read port and device control register
SYNOPSIS ssize_t lpfc_idiag_ctlacc_read (struct file *file , char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the data to.
nbytes ... |
lpfc_idiag_ctlacc_read_reg(9) | NAME lpfc_idiag_ctlacc_read_reg - idiag debugfs read a control registers
SYNOPSIS int lpfc_idiag_ctlacc_read_reg (struct lpfc_hba *phba , char *pbuffer , int len , uint32_t ctlregid );
ARGUMENTS phba The pointer to hba structure.
pbuffer The pointer to the buffer to copy the data to.
len ... |
lpfc_idiag_ctlacc_write(9) | NAME lpfc_idiag_ctlacc_write - Syntax check and set up idiag ctlacc commands
SYNOPSIS ssize_t lpfc_idiag_ctlacc_write (struct file *file , const char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the user data from.
nb... |
lpfc_idiag_drbacc_read(9) | NAME lpfc_idiag_drbacc_read - idiag debugfs read port doorbell
SYNOPSIS ssize_t lpfc_idiag_drbacc_read (struct file *file , char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the data to.
nbytes The number of byte... |
lpfc_idiag_drbacc_read_reg(9) | NAME lpfc_idiag_drbacc_read_reg - idiag debugfs read a doorbell register
SYNOPSIS int lpfc_idiag_drbacc_read_reg (struct lpfc_hba *phba , char *pbuffer , int len , uint32_t drbregid );
ARGUMENTS phba The pointer to hba structure.
pbuffer The pointer to the buffer to copy the data to.
len ... |
lpfc_idiag_drbacc_write(9) | NAME lpfc_idiag_drbacc_write - Syntax check and set up idiag drbacc commands
SYNOPSIS ssize_t lpfc_idiag_drbacc_write (struct file *file , const char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the user data from.
nb... |
lpfc_idiag_extacc_alloc_get(9) | NAME lpfc_idiag_extacc_alloc_get - get the allocated extents information
SYNOPSIS int lpfc_idiag_extacc_alloc_get (struct lpfc_hba *phba , char *pbuffer , int len );
ARGUMENTS phba pointer to lpfc hba data structure.
pbuffer pointer to internal buffer.
len length into the internal b... |
lpfc_idiag_extacc_avail_get(9) | NAME lpfc_idiag_extacc_avail_get - get the available extents information
SYNOPSIS int lpfc_idiag_extacc_avail_get (struct lpfc_hba *phba , char *pbuffer , int len );
ARGUMENTS phba pointer to lpfc hba data structure.
pbuffer pointer to internal buffer.
len length into the internal b... |
lpfc_idiag_extacc_drivr_get(9) | NAME lpfc_idiag_extacc_drivr_get - get driver extent information
SYNOPSIS int lpfc_idiag_extacc_drivr_get (struct lpfc_hba *phba , char *pbuffer , int len );
ARGUMENTS phba pointer to lpfc hba data structure.
pbuffer pointer to internal buffer.
len length into the internal buffer da... |
lpfc_idiag_extacc_read(9) | NAME lpfc_idiag_extacc_read - idiag debugfs read access to extent information
SYNOPSIS ssize_t lpfc_idiag_extacc_read (struct file *file , char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the data to.
nbytes The... |
lpfc_idiag_extacc_write(9) | NAME lpfc_idiag_extacc_write - Syntax check and set up idiag extacc commands
SYNOPSIS ssize_t lpfc_idiag_extacc_write (struct file *file , const char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the user data from.
nb... |
lpfc_idiag_mbxacc_get_setup(9) | NAME lpfc_idiag_mbxacc_get_setup - idiag debugfs get mailbox access setup
SYNOPSIS int lpfc_idiag_mbxacc_get_setup (struct lpfc_hba *phba , char *pbuffer );
ARGUMENTS phba Pointer to HBA context object.
pbuffer Pointer to data buffer.
DESCRIPTION This routine gets the driver mailbox access debugfs... |
lpfc_idiag_mbxacc_read(9) | NAME lpfc_idiag_mbxacc_read - idiag debugfs read on mailbox access
SYNOPSIS ssize_t lpfc_idiag_mbxacc_read (struct file *file , char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the data to.
nbytes The number of ... |
lpfc_idiag_mbxacc_write(9) | NAME lpfc_idiag_mbxacc_write - Syntax check and set up idiag mbxacc commands
SYNOPSIS ssize_t lpfc_idiag_mbxacc_write (struct file *file , const char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the user data from.
nb... |
lpfc_idiag_open(9) | NAME lpfc_idiag_open - idiag open debugfs
SYNOPSIS int lpfc_idiag_open (struct inode *inode , struct file *file );
ARGUMENTS inode The inode pointer that contains a pointer to phba.
file The file pointer to attach the file operation.
DESCRIPTION This routine is the entry point for the debug... |
lpfc_idiag_pcicfg_read(9) | NAME lpfc_idiag_pcicfg_read - idiag debugfs read pcicfg
SYNOPSIS ssize_t lpfc_idiag_pcicfg_read (struct file *file , char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the data to.
nbytes The number of bytes to re... |
lpfc_idiag_pcicfg_write(9) | NAME lpfc_idiag_pcicfg_write - Syntax check and set up idiag pcicfg commands
SYNOPSIS ssize_t lpfc_idiag_pcicfg_write (struct file *file , const char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the user data from.
nb... |
lpfc_idiag_que_param_check(9) | NAME lpfc_idiag_que_param_check - queue access command parameter sanity check
SYNOPSIS int lpfc_idiag_que_param_check (struct lpfc_queue *q , int index , int count );
ARGUMENTS q The pointer to queue structure.
index The index into a queue entry.
count The number of queue entries... |
lpfc_idiag_queacc_read(9) | NAME lpfc_idiag_queacc_read - idiag debugfs read port queue
SYNOPSIS ssize_t lpfc_idiag_queacc_read (struct file *file , char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the data to.
nbytes The number of bytes t... |
lpfc_idiag_queacc_read_qe(9) | NAME lpfc_idiag_queacc_read_qe - read a single entry from the given queue index
SYNOPSIS int lpfc_idiag_queacc_read_qe (char *pbuffer , int len , struct lpfc_queue *pque , uint32_t index );
ARGUMENTS pbuffer The pointer to buffer to copy the read data into.
len Length of the buffer.
pque ... |
lpfc_idiag_queacc_write(9) | NAME lpfc_idiag_queacc_write - Syntax check and set up idiag queacc commands
SYNOPSIS ssize_t lpfc_idiag_queacc_write (struct file *file , const char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the user data from.
nb... |
lpfc_idiag_queinfo_read(9) | NAME lpfc_idiag_queinfo_read - idiag debugfs read queue information
SYNOPSIS ssize_t lpfc_idiag_queinfo_read (struct file *file , char __user *buf , size_t nbytes , loff_t *ppos );
ARGUMENTS file The file pointer to read from.
buf The buffer to copy the data to.
nbytes The number o... |
lpfc_idiag_release(9) | NAME lpfc_idiag_release - Release idiag access file operation
SYNOPSIS int lpfc_idiag_release (struct inode *inode , struct file *file );
ARGUMENTS inode The inode pointer that contains a vport pointer. (unused)
file The file pointer that contains the buffer to release.
DESCRIPTION This routine ... |
lpfc_ignore_els_cmpl(9) | NAME lpfc_ignore_els_cmpl - Completion handler for aborted ELS command
SYNOPSIS void lpfc_ignore_els_cmpl (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb );
ARGUMENTS phba Pointer to HBA context object.
cmdiocb Pointer to driver command iocb object.
rspiocb ... |
lpfc_in_buf_free(9) | NAME lpfc_in_buf_free - Free a DMA buffer
SYNOPSIS void lpfc_in_buf_free (struct lpfc_hba *phba , struct lpfc_dmabuf *mp );
ARGUMENTS phba HBA buffer is associated with
mp Buffer to free
DESCRIPTION Frees the given DMA buffer in the appropriate way given if the HBA is running in SLI3 mode wit... |
lpfc_info(9) | NAME lpfc_info - Info entry point of scsi_host_template data structure
SYNOPSIS const char * lpfc_info (struct Scsi_Host *host );
ARGUMENTS host The scsi host for which this call is being executed.
DESCRIPTION This routine provides module information about hba. Reutrn code: Pointer to char - Success.
SEE AL... |
lpfc_info_show(9) | NAME lpfc_info_show - Return some pci info about the host in ascii
SYNOPSIS ssize_t lpfc_info_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 t... |
lpfc_init(9) | NAME lpfc_init - lpfc module initialization routine
SYNOPSIS int lpfc_init (void );
ARGUMENTS void no arguments
DESCRIPTION This routine is to be invoked when the lpfc module is loaded into the kernel. The special kernel macro module_init is used to indicate the role of this routine to the kernel as lpfc mo... |
lpfc_init_active_sgl_array(9) | NAME lpfc_init_active_sgl_array - Allocate the buf to track active ELS XRIs.
SYNOPSIS int lpfc_init_active_sgl_array (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to allocate the driver's active sgl memory. This array will hold the sglq_entry... |
lpfc_init_api_table_setup(9) | NAME lpfc_init_api_table_setup - Set up init api function jump table
SYNOPSIS int lpfc_init_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_init_idle_stat_hb(9) | NAME lpfc_init_idle_stat_hb - Initialize idle_stat tracking
SYNOPSIS void lpfc_init_idle_stat_hb (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine initializes the per-eq idle_stat to dynamically dictate polling decisions. Return codes: None
SEE ALSO Kernel... |
lpfc_init_iocb_list(9) | NAME lpfc_init_iocb_list - Allocate and initialize iocb list.
SYNOPSIS int lpfc_init_iocb_list (struct lpfc_hba *phba , int iocb_count );
ARGUMENTS phba pointer to lpfc hba data structure.
iocb_count number of requested iocbs
DESCRIPTION This routine is invoked to allocate and initizlize the driver's... |
lpfc_init_link(9) | NAME lpfc_init_link - Prepare a mailbox command for initialize link on a HBA
SYNOPSIS void lpfc_init_link (struct lpfc_hba * phba , LPFC_MBOXQ_t * pmb , uint32_t topology , uint32_t linkspeed );
ARGUMENTS phba pointer to lpfc hba data structure.
pmb pointer to the driver internal queue element ... |
lpfc_init_sgl_list(9) | NAME lpfc_init_sgl_list - Allocate and initialize sgl list.
SYNOPSIS void lpfc_init_sgl_list (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to allocate and initizlize the driver's sgl list and set up the sgl xritag tag array accordingly.
SEE A... |
lpfc_init_vfi(9) | NAME lpfc_init_vfi - Initialize the INIT_VFI mailbox command
SYNOPSIS void lpfc_init_vfi (struct lpfcMboxq *mbox , struct lpfc_vport *vport );
ARGUMENTS mbox pointer to lpfc mbox command to initialize.
vport Vport associated with the VF.
DESCRIPTION This routine initializes mbox to all zeros and... |
lpfc_init_vfi_cmpl(9) | NAME lpfc_init_vfi_cmpl - Completion handler for init_vfi mbox command.
SYNOPSIS void lpfc_init_vfi_cmpl (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq );
ARGUMENTS phba pointer to lpfc hba data structure.
mboxq pointer to mailbox data structure.
DESCRIPTION This function handles completion of ini... |
lpfc_init_vpi(9) | NAME lpfc_init_vpi - Initialize the INIT_VPI mailbox command
SYNOPSIS void lpfc_init_vpi (struct lpfc_hba *phba , struct lpfcMboxq *mbox , uint16_t vpi );
ARGUMENTS phba pointer to the hba structure to init the VPI for.
mbox pointer to lpfc mbox command to initialize.
vpi VPI to ... |
lpfc_init_vpi_cmpl(9) | NAME lpfc_init_vpi_cmpl - Completion handler for init_vpi mbox command.
SYNOPSIS void lpfc_init_vpi_cmpl (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq );
ARGUMENTS phba pointer to lpfc hba data structure.
mboxq pointer to mailbox data structure.
DESCRIPTION This function handles completion of ini... |
lpfc_initial_fdisc(9) | NAME lpfc_initial_fdisc - Issue an initial fabric discovery for a vport
SYNOPSIS int lpfc_initial_fdisc (struct lpfc_vport *vport );
ARGUMENTS vport pointer to a host virtual N_Port data structure.
DESCRIPTION This routine issues an initial Fabric Discover (FDISC) for the vport specified. It first searches t... |
lpfc_initial_flogi(9) | NAME lpfc_initial_flogi - Issue an initial fabric login for a vport
SYNOPSIS int lpfc_initial_flogi (struct lpfc_vport *vport );
ARGUMENTS vport pointer to a host virtual N_Port data structure.
DESCRIPTION This routine issues an initial Fabric Login (FLOGI) for the vport specified. It first searches the ndlp... |
lpfc_initialize_node(9) | NAME lpfc_initialize_node - Initialize all fields of node object
SYNOPSIS void lpfc_initialize_node (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp , uint32_t did );
ARGUMENTS vport Pointer to Virtual Port object.
ndlp Pointer to FC node object.
did FC_ID of the node.
DESC... |
lpfc_intr_state_check(9) | NAME lpfc_intr_state_check - Check device state for interrupt handling
SYNOPSIS int lpfc_intr_state_check (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context.
DESCRIPTION This inline routine checks whether a device or its PCI slot is in a state that the interrupt should be handled. This function ... |
lpfc_io_error_detected(9) | NAME lpfc_io_error_detected - lpfc method for handling PCI I/O error
SYNOPSIS pci_ers_result_t lpfc_io_error_detected (struct pci_dev *pdev , pci_channel_state_t state );
ARGUMENTS pdev pointer to PCI device.
state the current PCI connection state.
DESCRIPTION This routine is registered to the... |
lpfc_io_error_detected_s3(9) | NAME lpfc_io_error_detected_s3 - Method for handling SLI-3 device PCI I/O error
SYNOPSIS pci_ers_result_t lpfc_io_error_detected_s3 (struct pci_dev *pdev , pci_channel_state_t state );
ARGUMENTS pdev pointer to PCI device.
state the current PCI connection state.
DESCRIPTION This routine is cal... |
lpfc_io_error_detected_s4(9) | NAME lpfc_io_error_detected_s4 - Method for handling PCI I/O error to SLI-4 device
SYNOPSIS pci_ers_result_t lpfc_io_error_detected_s4 (struct pci_dev *pdev , pci_channel_state_t state );
ARGUMENTS pdev pointer to PCI device.
state the current PCI connection state.
DESCRIPTION This routine is ... |
lpfc_io_free(9) | NAME lpfc_io_free - Free all the IO buffers and IOCBs from driver lists
SYNOPSIS void lpfc_io_free (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is to free all the IO buffers and IOCBs from the driver list back to kernel. It is called from lpfc_pci_remov... |
lpfc_io_resume(9) | NAME lpfc_io_resume - lpfc method for resuming PCI I/O operation
SYNOPSIS void lpfc_io_resume (struct pci_dev *pdev );
ARGUMENTS pdev pointer to PCI device
DESCRIPTION This routine is registered to the PCI subsystem for error handling. It is called when kernel error recovery tells the lpfc driver that it is... |
lpfc_io_resume_s3(9) | NAME lpfc_io_resume_s3 - Method for resuming PCI I/O operation on SLI-3 device.
SYNOPSIS void lpfc_io_resume_s3 (struct pci_dev *pdev );
ARGUMENTS pdev pointer to PCI device
DESCRIPTION This routine is called from the PCI subsystem for error handling to device with SLI-3 interface spec. It is called when k... |
lpfc_io_resume_s4(9) | NAME lpfc_io_resume_s4 - Method for resuming PCI I/O operation to SLI-4 device
SYNOPSIS void lpfc_io_resume_s4 (struct pci_dev *pdev );
ARGUMENTS pdev pointer to PCI device
DESCRIPTION This routine is called from the PCI subsystem for error handling to device with SLI-4 interface spec. It is called when ke... |
lpfc_io_slot_reset(9) | NAME lpfc_io_slot_reset - lpfc method for restart PCI dev from scratch
SYNOPSIS pci_ers_result_t lpfc_io_slot_reset (struct pci_dev *pdev );
ARGUMENTS pdev pointer to PCI device.
DESCRIPTION This routine is registered to the PCI subsystem for error handling. This function is called after PCI bus has been res... |
lpfc_io_slot_reset_s3(9) | NAME lpfc_io_slot_reset_s3 - Method for restarting PCI SLI-3 device from scratch.
SYNOPSIS pci_ers_result_t lpfc_io_slot_reset_s3 (struct pci_dev *pdev );
ARGUMENTS pdev pointer to PCI device.
DESCRIPTION This routine is called from the PCI subsystem for error handling to device with SLI-3 interface spec. T... |
lpfc_io_slot_reset_s4(9) | NAME lpfc_io_slot_reset_s4 - Method for restart PCI SLI-4 device from scratch
SYNOPSIS pci_ers_result_t lpfc_io_slot_reset_s4 (struct pci_dev *pdev );
ARGUMENTS pdev pointer to PCI device.
DESCRIPTION This routine is called from the PCI subsystem for error handling to device with SLI-4 interface spec. It is ... |
lpfc_irq_chann_show(9) | NAME lpfc_irq_chann_show - Display value of irq_chann
SYNOPSIS ssize_t lpfc_irq_chann_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 a string ... |
lpfc_irq_clear_aff(9) | NAME lpfc_irq_clear_aff - clear IRQ affinity
SYNOPSIS void lpfc_irq_clear_aff (struct lpfc_hba_eq_hdl *eqhdl );
ARGUMENTS eqhdl EQ handle
SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_init.c lpfc_config_port_prep(9), lpfc_config_async_cmpl(9), lpfc_dump_wakeup_param_cmpl(9), lpfc_update_vport_wwn(9),... |
lpfc_irq_rebalance(9) | NAME lpfc_irq_rebalance - rebalances IRQ affinity according to cpuhp event
SYNOPSIS void lpfc_irq_rebalance (struct lpfc_hba *phba , unsigned int cpu , bool offline );
ARGUMENTS phba pointer to HBA context object.
cpu cpu going offline/online
offline true, cpu is going offline. fals... |
lpfc_irq_set_aff(9) | NAME lpfc_irq_set_aff - set IRQ affinity
SYNOPSIS void lpfc_irq_set_aff (struct lpfc_hba_eq_hdl *eqhdl , unsigned int cpu );
ARGUMENTS eqhdl EQ handle
cpu cpu to set affinity
SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_init.c lpfc_config_port_prep(9), lpfc_config_async_cmpl(9), lpfc_... |
lpfc_is_vmid_enabled(9) | NAME lpfc_is_vmid_enabled - returns if VMID is enabled for either switch types
SYNOPSIS int lpfc_is_vmid_enabled (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION Relationship between the enable, target support and if vmid tag is required for the particular combin... |
lpfc_issue_cmf_sync_wqe(9) | NAME lpfc_issue_cmf_sync_wqe - Issue a CMF_SYNC_WQE
SYNOPSIS int lpfc_issue_cmf_sync_wqe (struct lpfc_hba *phba , u32 ms , u64 total );
ARGUMENTS phba Pointer to HBA context object.
ms ms to set in WQE interval, 0 means use init op
total Total rcv bytes for this interval
DESCRIP... |
lpfc_issue_ct_rsp(9) | NAME lpfc_issue_ct_rsp - issue a ct response
SYNOPSIS int lpfc_issue_ct_rsp (struct lpfc_hba *phba , struct bsg_job *job , uint32_t tag , struct lpfc_dmabuf *cmp , struct lpfc_dmabuf *bmp , int num_entry );
ARGUMENTS phba Pointer to HBA context object.
job Pointer to the job object.
tag... |
lpfc_issue_ct_rsp_cmp(9) | NAME lpfc_issue_ct_rsp_cmp - lpfc_issue_ct_rsp's completion handler
SYNOPSIS void lpfc_issue_ct_rsp_cmp (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocbq , struct lpfc_iocbq *rspiocbq );
ARGUMENTS phba Pointer to HBA context object.
cmdiocbq Pointer to command iocb.
rspiocbq Pointer to... |
lpfc_issue_els_adisc(9) | NAME lpfc_issue_els_adisc - Issue an address discover iocb to an node on a vport
SYNOPSIS int lpfc_issue_els_adisc (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp , uint8_t retry );
ARGUMENTS vport pointer to a virtual N_Port data structure.
ndlp pointer to a node-list data structure.
... |
lpfc_issue_els_farpr(9) | NAME lpfc_issue_els_farpr - Issue a farp to an node on a vport
SYNOPSIS int lpfc_issue_els_farpr (struct lpfc_vport *vport , uint32_t nportid , uint8_t retry );
ARGUMENTS vport pointer to a host virtual N_Port data structure.
nportid N_Port identifier to the remote node.
retry number o... |
lpfc_issue_els_fdisc(9) | NAME lpfc_issue_els_fdisc - Issue a fdisc iocb command
SYNOPSIS int lpfc_issue_els_fdisc (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp , uint8_t retry );
ARGUMENTS vport pointer to a virtual N_Port data structure.
ndlp pointer to a node-list data structure.
retry number of ... |
lpfc_issue_els_flogi(9) | NAME lpfc_issue_els_flogi - Issue an flogi iocb command for a vport
SYNOPSIS int lpfc_issue_els_flogi (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.
retr... |
lpfc_issue_els_logo(9) | NAME lpfc_issue_els_logo - Issue a logo to an node on a vport
SYNOPSIS int lpfc_issue_els_logo (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp , uint8_t retry );
ARGUMENTS vport pointer to a virtual N_Port data structure.
ndlp pointer to a node-list data structure.
retry numb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.