id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
lpfc_sli4_post_dev_loss_tmo_handler(9) | NAME lpfc_sli4_post_dev_loss_tmo_handler - SLI4 post devloss timeout handler
SYNOPSIS void lpfc_sli4_post_dev_loss_tmo_handler (struct lpfc_hba *phba , int fcf_inuse , uint32_t nlp_did );
ARGUMENTS phba Pointer to hba context object.
fcf_inuse SLI4 FCF in-use state reported from devloss timeout handl... |
lpfc_sli4_post_io_sgl_block(9) | NAME lpfc_sli4_post_io_sgl_block - post a block of nvme sgl list to firmware
SYNOPSIS int lpfc_sli4_post_io_sgl_block (struct lpfc_hba *phba , struct list_head *nblist , int count );
ARGUMENTS phba pointer to lpfc hba data structure.
nblist pointer to nvme buffer list.
count number o... |
lpfc_sli4_post_io_sgl_list(9) | NAME lpfc_sli4_post_io_sgl_list - Post blocks of nvme buffer sgls from a list
SYNOPSIS int lpfc_sli4_post_io_sgl_list (struct lpfc_hba *phba , struct list_head *post_nblist , int sb_count );
ARGUMENTS phba pointer to lpfc hba data structure.
post_nblist pointer to the nvme buffer list.
sb_count... |
lpfc_sli4_post_rpi_hdr(9) | NAME lpfc_sli4_post_rpi_hdr - Post an rpi header memory region to the port
SYNOPSIS int lpfc_sli4_post_rpi_hdr (struct lpfc_hba *phba , struct lpfc_rpi_hdr *rpi_page );
ARGUMENTS phba pointer to lpfc hba data structure.
rpi_page pointer to the rpi memory region.
DESCRIPTION This routine is invok... |
lpfc_sli4_post_sgl(9) | NAME lpfc_sli4_post_sgl - Post scatter gather list for an XRI to HBA
SYNOPSIS int lpfc_sli4_post_sgl (struct lpfc_hba *phba , dma_addr_t pdma_phys_addr0 , dma_addr_t pdma_phys_addr1 , uint16_t xritag );
ARGUMENTS phba The virtual port for which this call being executed.
pdma_phys_addr0
... |
lpfc_sli4_post_sgl_list(9) | NAME lpfc_sli4_post_sgl_list - post a block of ELS sgls to the port.
SYNOPSIS int lpfc_sli4_post_sgl_list (struct lpfc_hba *phba , struct list_head *post_sgl_list , int post_cnt );
ARGUMENTS phba pointer to lpfc hba data structure.
post_sgl_list
pointer to els sgl entry list.
... |
lpfc_sli4_post_status_check(9) | NAME lpfc_sli4_post_status_check - Wait for SLI4 POST done and check status
SYNOPSIS int lpfc_sli4_post_status_check (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to wait for SLI4 device Power On Self Test (POST) done and check status. Return... |
lpfc_sli4_post_sync_mbox(9) | NAME lpfc_sli4_post_sync_mbox - Post an SLI4 mailbox to the bootstrap mailbox
SYNOPSIS int lpfc_sli4_post_sync_mbox (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq );
ARGUMENTS phba Pointer to HBA context object.
mboxq Pointer to mailbox object.
DESCRIPTION The function posts a mailbox to the port.... |
lpfc_sli4_prep_dev_for_perm_failure(9) | NAME lpfc_sli4_prep_dev_for_perm_failure - Prepare SLI4 dev for pci slot disable
SYNOPSIS void lpfc_sli4_prep_dev_for_perm_failure (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is called to prepare the SLI4 device for PCI slot permanently disabling. It b... |
lpfc_sli4_prep_dev_for_recover(9) | NAME lpfc_sli4_prep_dev_for_recover - Prepare SLI4 device for pci slot recover
SYNOPSIS void lpfc_sli4_prep_dev_for_recover (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is called to prepare the SLI4 device for PCI slot recover. It aborts all the outstan... |
lpfc_sli4_prep_dev_for_reset(9) | NAME lpfc_sli4_prep_dev_for_reset - Prepare SLI4 device for pci slot reset
SYNOPSIS void lpfc_sli4_prep_dev_for_reset (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is called to prepare the SLI4 device for PCI slot reset. It disables the device interrupt ... |
lpfc_sli4_process_missed_mbox_completions(9) | NAME lpfc_sli4_process_missed_mbox_completions - process mbox completions that were missed.
SYNOPSIS bool lpfc_sli4_process_missed_mbox_completions (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION For sli4, it is possible to miss an interrupt. As such mbox completions ma... |
lpfc_sli4_protocol_show(9) | NAME lpfc_sli4_protocol_show - Return the fip mode of the HBA
SYNOPSIS ssize_t lpfc_sli4_protocol_show (struct device *dev , struct device_attribute *attr , char *buf );
ARGUMENTS dev class unused variable.
attr device attribute, not used.
buf on return contains the module descr... |
lpfc_sli4_queue_alloc(9) | NAME lpfc_sli4_queue_alloc - Allocate and initialize a queue structure
SYNOPSIS struct lpfc_queue * lpfc_sli4_queue_alloc (struct lpfc_hba *phba , uint32_t page_size , uint32_t entry_size , uint32_t entry_count , int cpu );
ARGUMENTS phba The HBA that this queue is being created on.
page_size The siz... |
lpfc_sli4_queue_create(9) | NAME lpfc_sli4_queue_create - Create all the SLI4 queues
SYNOPSIS int lpfc_sli4_queue_create (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to allocate all the SLI4 queues for the FCoE HBA operation. For each SLI4 queue type, the parameters ... |
lpfc_sli4_queue_destroy(9) | NAME lpfc_sli4_queue_destroy - Destroy all the SLI4 queues
SYNOPSIS void lpfc_sli4_queue_destroy (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to release all the SLI4 queues with the FCoE HBA operation. Return codes 0 - successful -ENOMEM - N... |
lpfc_sli4_queue_free(9) | NAME lpfc_sli4_queue_free - free a queue structure and associated memory
SYNOPSIS void lpfc_sli4_queue_free (struct lpfc_queue *queue );
ARGUMENTS queue The queue structure to free.
DESCRIPTION This function frees a queue structure and the DMAable memory used for the host resident queue. This function must be ... |
lpfc_sli4_queue_init(9) | NAME lpfc_sli4_queue_init - Queue initialization function
SYNOPSIS void lpfc_sli4_queue_init (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION lpfc_sli4_queue_init sets up mailbox queues and iocb queues for each ring. This function also initializes ring indices of each ring. ... |
lpfc_sli4_queue_setup(9) | NAME lpfc_sli4_queue_setup - Set up all the SLI4 queues
SYNOPSIS int lpfc_sli4_queue_setup (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to set up all the SLI4 queues for the FCoE HBA operation. Return codes 0 - successful -ENOMEM - No availa... |
lpfc_sli4_queue_unset(9) | NAME lpfc_sli4_queue_unset - Unset all the SLI4 queues
SYNOPSIS void lpfc_sli4_queue_unset (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to unset all the SLI4 queues with the FCoE HBA operation. Return codes 0 - successful -ENOMEM - No availa... |
lpfc_sli4_queue_verify(9) | NAME lpfc_sli4_queue_verify - Verify and update EQ counts
SYNOPSIS int lpfc_sli4_queue_verify (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to check the user settable queue counts for EQs. After this routine is called the counts will be set t... |
lpfc_sli4_ras_dma_alloc(9) | NAME lpfc_sli4_ras_dma_alloc - Allocate memory for FW support
SYNOPSIS int lpfc_sli4_ras_dma_alloc (struct lpfc_hba *phba , uint32_t fwlog_buff_count );
ARGUMENTS phba Pointer to HBA context object.
fwlog_buff_count
Count of buffers to be created.
DESCRIPTION This routine DMA memory... |
lpfc_sli4_ras_dma_free(9) | NAME lpfc_sli4_ras_dma_free - Free memory allocated for FW logging.
SYNOPSIS void lpfc_sli4_ras_dma_free (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function is called to free memory allocated for RAS FW logging support in the driver.
SEE ALSO Kernel file ./dr... |
lpfc_sli4_ras_fwlog_init(9) | NAME lpfc_sli4_ras_fwlog_init - Initialize memory and post RAS MBX command
SYNOPSIS int lpfc_sli4_ras_fwlog_init (struct lpfc_hba *phba , uint32_t fwlog_level , uint32_t fwlog_enable );
ARGUMENTS phba pointer to lpfc hba data structure.
fwlog_level Logging verbosity level.
fwlog_enable
... |
lpfc_sli4_ras_init(9) | NAME lpfc_sli4_ras_init - Verify RAS-FW log is supported by this adapter
SYNOPSIS void lpfc_sli4_ras_init (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine checks to see if RAS is supported by the adapter. Check the function through which RAS support enablem... |
lpfc_sli4_ras_mbox_cmpl(9) | NAME lpfc_sli4_ras_mbox_cmpl - Completion handler for RAS MBX command
SYNOPSIS void lpfc_sli4_ras_mbox_cmpl (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 Complet... |
lpfc_sli4_ras_setup(9) | NAME lpfc_sli4_ras_setup - Check if RAS supported on the adapter
SYNOPSIS void lpfc_sli4_ras_setup (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION Check if RAS is supported on the adapter and initialize it.
SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_sli.c lpfc_sli... |
lpfc_sli4_rb_alloc(9) | NAME lpfc_sli4_rb_alloc - Allocate an SLI4 Receive buffer
SYNOPSIS struct hbq_dmabuf * lpfc_sli4_rb_alloc (struct lpfc_hba *phba );
ARGUMENTS phba HBA to allocate a receive buffer for
DESCRIPTION Allocates a DMA-mapped receive buffer from the lpfc_hrb_pool PCI pool along a non-DMA-mapped container for it.
NO... |
lpfc_sli4_rb_free(9) | NAME lpfc_sli4_rb_free - Frees a receive buffer
SYNOPSIS void lpfc_sli4_rb_free (struct lpfc_hba *phba , struct hbq_dmabuf *dmab );
ARGUMENTS phba HBA buffer was allocated for
dmab DMA Buffer container returned by lpfc_sli4_hbq_alloc
DESCRIPTION Frees both the container and the DMA-mapped buffe... |
lpfc_sli4_rb_setup(9) | NAME lpfc_sli4_rb_setup - Initialize and post RBs to HBA
SYNOPSIS int lpfc_sli4_rb_setup (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function is called during the SLI initialization to configure all the HBQs and post buffers to the HBQ. The caller is not required... |
lpfc_sli4_read_config(9) | NAME lpfc_sli4_read_config - Get the config parameters.
SYNOPSIS int lpfc_sli4_read_config (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to read the configuration parameters from the HBA. The configuration parameters are used to set the base... |
lpfc_sli4_read_fcf_rec(9) | NAME lpfc_sli4_read_fcf_rec - Read hba fcf record for update eligible fcf bmask.
SYNOPSIS int lpfc_sli4_read_fcf_rec (struct lpfc_hba *phba , uint16_t fcf_index );
ARGUMENTS phba pointer to lpfc hba data structure.
fcf_index FCF table entry offset.
DESCRIPTION This routine is invoked to read an FCF ... |
lpfc_sli4_read_fcoe_params(9) | NAME lpfc_sli4_read_fcoe_params - Read fcoe params from conf region
SYNOPSIS int lpfc_sli4_read_fcoe_params (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function issue a dump mailbox command to read config region 23 and parse the records in the region and populate d... |
lpfc_sli4_read_rev(9) | NAME lpfc_sli4_read_rev - Issue READ_REV and collect vpd data
SYNOPSIS int lpfc_sli4_read_rev (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq , uint8_t *vpd , uint32_t *vpd_size );
ARGUMENTS phba pointer to lpfc hba data structure.
mboxq pointer to the LPFC_MBOXQ_t structure.
vpd poi... |
lpfc_sli4_redisc_fcf_table(9) | NAME lpfc_sli4_redisc_fcf_table - Request to rediscover entire FCF table by port.
SYNOPSIS int lpfc_sli4_redisc_fcf_table (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to request for rediscovery of the entire FCF table by the port.
SEE ALSO K... |
lpfc_sli4_refresh_params(9) | NAME lpfc_sli4_refresh_params - update driver copy of params.
SYNOPSIS int lpfc_sli4_refresh_params (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This is called to refresh driver copy of dynamic fields from the common_get_sli4_parameters descriptor.
SEE ALSO Kernel fi... |
lpfc_sli4_remove_rpi_hdrs(9) | NAME lpfc_sli4_remove_rpi_hdrs - Remove all rpi header memory regions
SYNOPSIS void lpfc_sli4_remove_rpi_hdrs (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to remove all memory resources allocated to support rpis for SLI4 ports not supporting... |
lpfc_sli4_remove_rpis(9) | NAME lpfc_sli4_remove_rpis - Remove the rpi bitmask region
SYNOPSIS void lpfc_sli4_remove_rpis (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to remove the memory region that provided rpi via a bitmask.
SEE ALSO Kernel file ./drivers/scsi/... |
lpfc_sli4_repost_io_sgl_list(9) | NAME lpfc_sli4_repost_io_sgl_list - Repost all the allocated nvme buffer sgls
SYNOPSIS int lpfc_sli4_repost_io_sgl_list (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine walks the list of nvme buffers that have been allocated and repost them to the port by u... |
lpfc_sli4_repost_sgl_list(9) | NAME lpfc_sli4_repost_sgl_list - Repost the buffers sgl pages as block
SYNOPSIS int lpfc_sli4_repost_sgl_list (struct lpfc_hba *phba , struct list_head *sgl_list , int cnt );
ARGUMENTS phba pointer to lpfc hba data structure.
sgl_list linked link of sgl buffers to post
cnt number of ... |
lpfc_sli4_request_firmware_update(9) | NAME lpfc_sli4_request_firmware_update - Request linux generic firmware upgrade
SYNOPSIS int lpfc_sli4_request_firmware_update (struct lpfc_hba *phba , uint8_t fw_upgrade );
ARGUMENTS phba pointer to lpfc hba data structure.
fw_upgrade which firmware to update.
DESCRIPTION This routine is called to p... |
lpfc_sli4_resume_rpi(9) | NAME lpfc_sli4_resume_rpi - Resume traffic relative to an RPI
SYNOPSIS int lpfc_sli4_resume_rpi (struct lpfc_nodelist *ndlp , void (*cmpl)(struct lpfc_hba *, LPFC_MBOXQ_t *) , struct lpfc_iocbq *iocbq );
ARGUMENTS ndlp pointer to lpfc nodelist data structure.
cmpl completion call-back.
i... |
lpfc_sli4_retrieve_pport_name(9) | NAME lpfc_sli4_retrieve_pport_name - Retrieve SLI4 device physical port name
SYNOPSIS int lpfc_sli4_retrieve_pport_name (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine retrieves SLI4 device physical port name this PCI function is attached to. Return codes... |
lpfc_sli4_seq_abort_rsp(9) | NAME lpfc_sli4_seq_abort_rsp - bls rsp to sequence abort
SYNOPSIS void lpfc_sli4_seq_abort_rsp (struct lpfc_vport *vport , struct fc_frame_header *fc_hdr , bool aborted );
ARGUMENTS vport pointer to a virtual port.
fc_hdr pointer to a FC frame header.
aborted was the partially assembled... |
lpfc_sli4_seq_abort_rsp_cmpl(9) | NAME lpfc_sli4_seq_abort_rsp_cmpl - BLS ABORT RSP seq abort iocb complete handler
SYNOPSIS void lpfc_sli4_seq_abort_rsp_cmpl (struct lpfc_hba *phba , struct lpfc_iocbq *cmd_iocbq , struct lpfc_iocbq *rsp_iocbq );
ARGUMENTS phba Pointer to HBA context object.
cmd_iocbq pointer to the command iocbq str... |
lpfc_sli4_set_fcf_flogi_fail(9) | NAME lpfc_sli4_set_fcf_flogi_fail -
SYNOPSIS void lpfc_sli4_set_fcf_flogi_fail (struct lpfc_hba *phba , uint16_t fcf_index );
ARGUMENTS phba pointer to lpfc hba data structure.
fcf_index the index of the fcf record to update This routine acquires the hbalock and then set the LPFC_FCF_FLOGI_FAIL... |
lpfc_sli4_set_rsp_sgl_last(9) | NAME lpfc_sli4_set_rsp_sgl_last - Set the last bit in the response sge.
SYNOPSIS void lpfc_sli4_set_rsp_sgl_last (struct lpfc_hba *phba , struct lpfc_io_buf *lpfc_cmd );
ARGUMENTS phba Pointer to HBA object.
lpfc_cmd lpfc scsi command object pointer.
DESCRIPTION This function is called from the lpf... |
lpfc_sli4_setup(9) | NAME lpfc_sli4_setup - SLI ring setup function
SYNOPSIS int lpfc_sli4_setup (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION lpfc_sli_setup sets up rings of the SLI interface with number of iocbs per ring and iotags. This function is called while driver attach to the HBA ... |
lpfc_sli4_sp_handle_abort_xri_wcqe(9) | NAME lpfc_sli4_sp_handle_abort_xri_wcqe - Handle a xri abort event
SYNOPSIS bool lpfc_sli4_sp_handle_abort_xri_wcqe (struct lpfc_hba *phba , struct lpfc_queue *cq , struct sli4_wcqe_xri_aborted *wcqe );
ARGUMENTS phba Pointer to HBA context object.
cq Pointer to a WQ completion queue.
... |
lpfc_sli4_sp_handle_async_event(9) | NAME lpfc_sli4_sp_handle_async_event - Handle an asynchronous event
SYNOPSIS bool lpfc_sli4_sp_handle_async_event (struct lpfc_hba *phba , struct lpfc_mcqe *mcqe );
ARGUMENTS phba Pointer to HBA context object.
mcqe Pointer to mailbox completion queue entry.
DESCRIPTION This routine process a m... |
lpfc_sli4_sp_handle_cqe(9) | NAME lpfc_sli4_sp_handle_cqe - Process a slow path completion queue entry
SYNOPSIS bool lpfc_sli4_sp_handle_cqe (struct lpfc_hba *phba , struct lpfc_queue *cq , struct lpfc_cqe *cqe );
ARGUMENTS phba Pointer to HBA context object.
cq Pointer to the completion queue.
cqe Pointer... |
lpfc_sli4_sp_handle_els_wcqe(9) | NAME lpfc_sli4_sp_handle_els_wcqe - Handle els work-queue completion event
SYNOPSIS bool lpfc_sli4_sp_handle_els_wcqe (struct lpfc_hba *phba , struct lpfc_queue *cq , struct lpfc_wcqe_complete *wcqe );
ARGUMENTS phba Pointer to HBA context object.
cq Pointer to associated CQ
wcqe ... |
lpfc_sli4_sp_handle_eqe(9) | NAME lpfc_sli4_sp_handle_eqe - Process a slow-path event queue entry
SYNOPSIS void lpfc_sli4_sp_handle_eqe (struct lpfc_hba *phba , struct lpfc_eqe *eqe , struct lpfc_queue *speq );
ARGUMENTS phba Pointer to HBA context object.
eqe Pointer to fast-path event queue entry.
speq Poi... |
lpfc_sli4_sp_handle_mbox_event(9) | NAME lpfc_sli4_sp_handle_mbox_event - Handle a mailbox completion event
SYNOPSIS bool lpfc_sli4_sp_handle_mbox_event (struct lpfc_hba *phba , struct lpfc_mcqe *mcqe );
ARGUMENTS phba Pointer to HBA context object.
mcqe Pointer to mailbox completion queue entry.
DESCRIPTION This routine process ... |
lpfc_sli4_sp_handle_mcqe(9) | NAME lpfc_sli4_sp_handle_mcqe - Process a mailbox completion queue entry
SYNOPSIS bool lpfc_sli4_sp_handle_mcqe (struct lpfc_hba *phba , struct lpfc_queue *cq , struct lpfc_cqe *cqe );
ARGUMENTS phba Pointer to HBA context object.
cq Pointer to associated CQ
cqe Pointer to mail... |
lpfc_sli4_sp_handle_rcqe(9) | NAME lpfc_sli4_sp_handle_rcqe - Process a receive-queue completion queue entry
SYNOPSIS bool lpfc_sli4_sp_handle_rcqe (struct lpfc_hba *phba , struct lpfc_rcqe *rcqe );
ARGUMENTS phba Pointer to HBA context object.
rcqe Pointer to receive-queue completion queue entry.
DESCRIPTION This routine p... |
lpfc_sli4_sp_handle_rel_wcqe(9) | NAME lpfc_sli4_sp_handle_rel_wcqe - Handle slow-path WQ entry consumed event
SYNOPSIS void lpfc_sli4_sp_handle_rel_wcqe (struct lpfc_hba *phba , struct lpfc_wcqe_release *wcqe );
ARGUMENTS phba Pointer to HBA context object.
wcqe Pointer to work-queue completion queue entry.
DESCRIPTION This ro... |
lpfc_sli4_sp_process_cq(9) | NAME lpfc_sli4_sp_process_cq - slow-path work handler when started by interrupt
SYNOPSIS void lpfc_sli4_sp_process_cq (struct work_struct *work );
ARGUMENTS work pointer to work element
DESCRIPTION translates from the work handler and calls the slow-path handler.
SEE ALSO Kernel file ./drivers/scsi/lpfc/... |
lpfc_sli4_stop_fcf_redisc_wait_timer(9) | NAME lpfc_sli4_stop_fcf_redisc_wait_timer - Stop FCF rediscovery wait timer
SYNOPSIS void lpfc_sli4_stop_fcf_redisc_wait_timer (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine stops the SLI4 FCF rediscover wait timer if it's on. It checks whether the FCF r... |
lpfc_sli4_unrecoverable_port(9) | NAME lpfc_sli4_unrecoverable_port - Check ERR and RN bits in portstat_reg
SYNOPSIS bool lpfc_sli4_unrecoverable_port (struct lpfc_register *portstat_reg );
ARGUMENTS portstat_reg portstat_reg pointer containing portstat_reg contents
DESCRIPTION Use only for SLI4 interface type-2 or later. If ERR is set && RN is 0, ... |
lpfc_sli4_unreg_all_rpis(9) | NAME lpfc_sli4_unreg_all_rpis - unregister all RPIs for a vport on SLI4 HBA.
SYNOPSIS void lpfc_sli4_unreg_all_rpis (struct lpfc_vport *vport );
ARGUMENTS vport pointer to a vport object.
DESCRIPTION This routine sends mailbox command to unregister all active RPIs for a vport.
SEE ALSO Kernel file ./drivers... |
lpfc_sli4_unregister_fcf(9) | NAME lpfc_sli4_unregister_fcf - Unregister currently registered FCF record
SYNOPSIS int lpfc_sli4_unregister_fcf (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to hba context object.
DESCRIPTION This function issues synchronous unregister FCF mailbox command to HBA to unregister the currently registered FCF... |
lpfc_sli4_vport_delete_els_xri_aborted(9) | NAME lpfc_sli4_vport_delete_els_xri_aborted - Remove all ndlp references for vport
SYNOPSIS void lpfc_sli4_vport_delete_els_xri_aborted (struct lpfc_vport *vport );
ARGUMENTS vport pointer to lpfc vport data structure.
DESCRIPTION This routine is invoked by the vport cleanup for deletions and the cleanup for a... |
lpfc_sli4_vport_delete_fcp_xri_aborted(9) | NAME lpfc_sli4_vport_delete_fcp_xri_aborted - Remove all ndlp references for vport
SYNOPSIS void lpfc_sli4_vport_delete_fcp_xri_aborted (struct lpfc_vport *vport );
ARGUMENTS vport pointer to lpfc vport data structure.
DESCRIPTION This routine is invoked by the vport cleanup for deletions and the cleanup for a... |
lpfc_sli4_wait_bmbx_ready(9) | NAME lpfc_sli4_wait_bmbx_ready - Wait for bootstrap mailbox register ready
SYNOPSIS int lpfc_sli4_wait_bmbx_ready (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq );
ARGUMENTS phba Pointer to HBA context object.
mboxq Pointer to mailbox object.
DESCRIPTION The function waits for the bootstrap m... |
lpfc_sli4_wq_put(9) | NAME lpfc_sli4_wq_put - Put a Work Queue Entry on an Work Queue
SYNOPSIS int lpfc_sli4_wq_put (struct lpfc_queue *q , union lpfc_wqe128 *wqe );
ARGUMENTS q The Work Queue to operate on.
wqe The work Queue Entry to put on the Work queue.
DESCRIPTION This routine will copy the contents of wq... |
lpfc_sli4_wq_release(9) | NAME lpfc_sli4_wq_release - Updates internal hba index for WQ
SYNOPSIS void lpfc_sli4_wq_release (struct lpfc_queue *q , uint32_t index );
ARGUMENTS q The Work Queue to operate on.
index The index to advance the hba index to.
DESCRIPTION This routine will update the HBA index of a queue to ... |
lpfc_sli4_write_cq_db(9) | NAME lpfc_sli4_write_cq_db - write cq DB for entries consumed or arm state.
SYNOPSIS void lpfc_sli4_write_cq_db (struct lpfc_hba *phba , struct lpfc_queue *q , uint32_t count , bool arm );
ARGUMENTS phba the adapter with the CQ
q The Completion Queue that the host has completed processing for... |
lpfc_sli4_write_eq_db(9) | NAME lpfc_sli4_write_eq_db - write EQ DB for eqe's consumed or arm state
SYNOPSIS void lpfc_sli4_write_eq_db (struct lpfc_hba *phba , struct lpfc_queue *q , uint32_t count , bool arm );
ARGUMENTS phba adapter with EQ
q The Event Queue that the host has completed processing for.
count ... |
lpfc_sli4_xri_exchange_busy_wait(9) | NAME lpfc_sli4_xri_exchange_busy_wait - Wait for device XRI exchange busy
SYNOPSIS void lpfc_sli4_xri_exchange_busy_wait (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function is called in the SLI4 code path to wait for completion of device's XRIs exchange busy. It w... |
lpfc_sli4_xri_inrange(9) | NAME lpfc_sli4_xri_inrange - check xri is in range of xris owned by driver.
SYNOPSIS uint16_t lpfc_sli4_xri_inrange (struct lpfc_hba *phba , uint16_t xri );
ARGUMENTS phba Pointer to HBA context object.
xri xri id in transaction.
DESCRIPTION This function validates the xri maps to the known ra... |
lpfc_sli_abort_els_cmpl(9) | NAME lpfc_sli_abort_els_cmpl - Completion handler for the els abort iocbs
SYNOPSIS void lpfc_sli_abort_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.
rs... |
lpfc_sli_abort_fcp_cmpl(9) | NAME lpfc_sli_abort_fcp_cmpl - Completion handler function for aborted FCP IOCBs
SYNOPSIS void lpfc_sli_abort_fcp_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.
rsp... |
lpfc_sli_abort_fcp_rings(9) | NAME lpfc_sli_abort_fcp_rings - Abort all iocbs in all FCP rings
SYNOPSIS void lpfc_sli_abort_fcp_rings (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function aborts all iocbs in FCP rings and frees all the iocb objects in txq. This function issues an abort iocb for ... |
lpfc_sli_abort_iocb(9) | NAME lpfc_sli_abort_iocb - issue abort for all commands on a host/target/LUN
SYNOPSIS int lpfc_sli_abort_iocb (struct lpfc_vport *vport , u16 tgt_id , u64 lun_id , lpfc_ctx_cmd abort_cmd );
ARGUMENTS vport Pointer to virtual port.
tgt_id SCSI ID of the target.
lun_id LUN ID of the scsi... |
lpfc_sli_abort_iocb_ring(9) | NAME lpfc_sli_abort_iocb_ring - Abort all iocbs in the ring
SYNOPSIS void lpfc_sli_abort_iocb_ring (struct lpfc_hba *phba , struct lpfc_sli_ring *pring );
ARGUMENTS phba Pointer to HBA context object.
pring Pointer to driver SLI ring object.
DESCRIPTION This function aborts all iocbs in the gi... |
lpfc_sli_abort_taskmgmt(9) | NAME lpfc_sli_abort_taskmgmt - issue abort for all commands on a host/target/LUN
SYNOPSIS int lpfc_sli_abort_taskmgmt (struct lpfc_vport *vport , struct lpfc_sli_ring *pring , uint16_t tgt_id , uint64_t lun_id , lpfc_ctx_cmd cmd );
ARGUMENTS vport Pointer to virtual port.
pring Pointer to driver S... |
lpfc_sli_api_table_setup(9) | NAME lpfc_sli_api_table_setup - Set up sli api function jump table
SYNOPSIS int lpfc_sli_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 SL... |
lpfc_sli_async_event_handler(9) | NAME lpfc_sli_async_event_handler - ASYNC iocb handler function
SYNOPSIS void lpfc_sli_async_event_handler (struct lpfc_hba * phba , struct lpfc_sli_ring * pring , struct lpfc_iocbq * iocbq );
ARGUMENTS phba Pointer to HBA context object.
pring Pointer to driver SLI ring object.
iocbq ... |
lpfc_sli_bemem_bcopy(9) | NAME lpfc_sli_bemem_bcopy - SLI memory copy function
SYNOPSIS void lpfc_sli_bemem_bcopy (void *srcp , void *destp , uint32_t cnt );
ARGUMENTS srcp Source memory pointer.
destp Destination memory pointer.
cnt Number of words required to be copied.
DESCRIPTION This function is used... |
lpfc_sli_brdkill(9) | NAME lpfc_sli_brdkill - Issue a kill_board mailbox command
SYNOPSIS int lpfc_sli_brdkill (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function issues a kill_board mailbox command and waits for the error attention interrupt. This function is called for stopping ... |
lpfc_sli_brdready(9) | NAME lpfc_sli_brdready - Wrapper func for checking the hba readyness
SYNOPSIS int lpfc_sli_brdready (struct lpfc_hba *phba , uint32_t mask );
ARGUMENTS phba Pointer to HBA context object.
mask Bit mask to be checked.
DESCRIPTION This routine wraps the actual SLI3 or SLI4 hba readyness check rou... |
lpfc_sli_brdready_s3(9) | NAME lpfc_sli_brdready_s3 - Check for sli3 host ready status
SYNOPSIS int lpfc_sli_brdready_s3 (struct lpfc_hba *phba , uint32_t mask );
ARGUMENTS phba Pointer to HBA context object.
mask Bit mask to be checked.
DESCRIPTION This function reads the host status register and compares with the p... |
lpfc_sli_brdready_s4(9) | NAME lpfc_sli_brdready_s4 - Check for sli4 host ready status
SYNOPSIS int lpfc_sli_brdready_s4 (struct lpfc_hba *phba , uint32_t mask );
ARGUMENTS phba Pointer to HBA context object.
mask Bit mask to be checked.
DESCRIPTION This function checks the host status register to check if HBA is r... |
lpfc_sli_brdreset(9) | NAME lpfc_sli_brdreset - Reset a sli-2 or sli-3 HBA
SYNOPSIS int lpfc_sli_brdreset (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function resets the HBA by writing HC_INITFF to the control register. After the HBA resets, this function resets all the iocb ring ind... |
lpfc_sli_brdrestart(9) | NAME lpfc_sli_brdrestart - Wrapper func for restarting hba
SYNOPSIS int lpfc_sli_brdrestart (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This routine wraps the actual SLI3 or SLI4 hba restart routine from the API jump table function pointer from the lpfc_hba struct.
SEE... |
lpfc_sli_brdrestart_s3(9) | NAME lpfc_sli_brdrestart_s3 - Restart a sli-3 hba
SYNOPSIS int lpfc_sli_brdrestart_s3 (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function is called in the SLI initialization code path to restart the HBA. The caller is not required to hold any lock. This function... |
lpfc_sli_brdrestart_s4(9) | NAME lpfc_sli_brdrestart_s4 - Restart the sli-4 hba
SYNOPSIS int lpfc_sli_brdrestart_s4 (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function is called in the SLI initialization code path to restart a SLI4 HBA. The caller is not required to hold any lock. At the... |
lpfc_sli_cancel_iocbs(9) | NAME lpfc_sli_cancel_iocbs - Cancel all iocbs from a list.
SYNOPSIS void lpfc_sli_cancel_iocbs (struct lpfc_hba *phba , struct list_head *iocblist , uint32_t ulpstatus , uint32_t ulpWord4 );
ARGUMENTS phba Pointer to HBA context object.
iocblist List of IOCBs.
ulpstatus ULP status in IOCB ... |
lpfc_sli_check_eratt(9) | NAME lpfc_sli_check_eratt - check error attention events
SYNOPSIS int lpfc_sli_check_eratt (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context.
DESCRIPTION This function is called from timer soft interrupt context to check HBA's error attention register bit for error attention events. This func... |
lpfc_sli_chipset_init(9) | NAME lpfc_sli_chipset_init - Wait for the restart of the HBA after a restart
SYNOPSIS int lpfc_sli_chipset_init (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function is called after a HBA restart to wait for successful restart of the HBA. Successful restart of t... |
lpfc_sli_chk_mbx_command(9) | NAME lpfc_sli_chk_mbx_command - Check if the mailbox is a legitimate mailbox
SYNOPSIS int lpfc_sli_chk_mbx_command (uint8_t mbxCommand );
ARGUMENTS mbxCommand mailbox command code.
DESCRIPTION This function is called by the mailbox event handler function to verify that the completed mailbox command is a legitimat... |
lpfc_sli_config_mbox_opcode_get(9) | NAME lpfc_sli_config_mbox_opcode_get - Get opcode from a sli_config mbox cmd
SYNOPSIS uint8_t lpfc_sli_config_mbox_opcode_get (struct lpfc_hba *phba , LPFC_MBOXQ_t *mbox );
ARGUMENTS phba pointer to lpfc hba data structure.
mbox pointer to lpfc mbox command queue entry.
DESCRIPTION This routine... |
lpfc_sli_config_mbox_subsys_get(9) | NAME lpfc_sli_config_mbox_subsys_get - Get subsystem from a sli_config mbox cmd
SYNOPSIS uint8_t lpfc_sli_config_mbox_subsys_get (struct lpfc_hba *phba , LPFC_MBOXQ_t *mbox );
ARGUMENTS phba pointer to lpfc hba data structure.
mbox pointer to lpfc mbox command queue entry.
DESCRIPTION This rou... |
lpfc_sli_config_port(9) | NAME lpfc_sli_config_port - Issue config port mailbox command
SYNOPSIS int lpfc_sli_config_port (struct lpfc_hba *phba , int sli_mode );
ARGUMENTS phba Pointer to HBA context object.
sli_mode sli mode - 2/3
DESCRIPTION This function is called by the sli initialization code path to issue config_por... |
lpfc_sli_def_mbox_cmpl(9) | NAME lpfc_sli_def_mbox_cmpl - Default mailbox completion handler
SYNOPSIS void lpfc_sli_def_mbox_cmpl (struct lpfc_hba *phba , LPFC_MBOXQ_t *pmb );
ARGUMENTS phba Pointer to HBA context object.
pmb Pointer to mailbox object.
DESCRIPTION This function is the default mailbox completion handl... |
lpfc_sli_disable_intr(9) | NAME lpfc_sli_disable_intr - Disable device interrupt to SLI-3 device.
SYNOPSIS void lpfc_sli_disable_intr (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to disable device interrupt and disassociate the driver's interrupt handler(s) from interr... |
lpfc_sli_driver_resource_setup(9) | NAME lpfc_sli_driver_resource_setup - Setup driver internal resources for SLI3 dev
SYNOPSIS int lpfc_sli_driver_resource_setup (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to set up the driver internal resources specific to support the SLI-3 ... |
lpfc_sli_driver_resource_unset(9) | NAME lpfc_sli_driver_resource_unset - Unset drvr internal resources for SLI3 dev
SYNOPSIS void lpfc_sli_driver_resource_unset (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to unset the driver internal resources set up specific for supporting t... |
lpfc_sli_enable_intr(9) | NAME lpfc_sli_enable_intr - Enable device interrupt to SLI-3 device.
SYNOPSIS uint32_t lpfc_sli_enable_intr (struct lpfc_hba *phba , uint32_t cfg_mode );
ARGUMENTS phba pointer to lpfc hba data structure.
cfg_mode Interrupt configuration mode (INTx, MSI or MSI-X).
DESCRIPTION This routine is invoke... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.