id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
lpfc_sli4_cq_event_release_all(9) | NAME lpfc_sli4_cq_event_release_all - Release all cq events to the free pool
SYNOPSIS void lpfc_sli4_cq_event_release_all (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is to free all the pending completion-queue events to the back into the free pool for ... |
lpfc_sli4_cq_get(9) | NAME lpfc_sli4_cq_get - Gets the next valid CQE from a CQ
SYNOPSIS struct lpfc_cqe * lpfc_sli4_cq_get (struct lpfc_queue *q );
ARGUMENTS q The Completion Queue to get the first valid CQE from
DESCRIPTION This routine will get the first valid Completion Queue Entry from q, update the queue's intern... |
lpfc_sli4_create_rpi_hdr(9) | NAME lpfc_sli4_create_rpi_hdr - Allocate an rpi header memory region
SYNOPSIS struct lpfc_rpi_hdr * lpfc_sli4_create_rpi_hdr (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to allocate a single 4KB memory region to support rpis and stores them i... |
lpfc_sli4_dealloc_extent(9) | NAME lpfc_sli4_dealloc_extent - Deallocate an SLI4 resource extent.
SYNOPSIS int lpfc_sli4_dealloc_extent (struct lpfc_hba *phba , uint16_t type );
ARGUMENTS phba Pointer to HBA context object.
type the extent's type.
DESCRIPTION This function deallocates all extents of a particular resource ty... |
lpfc_sli4_dealloc_resource_identifiers(9) | NAME lpfc_sli4_dealloc_resource_identifiers - Deallocate all SLI4 resource extents.
SYNOPSIS int lpfc_sli4_dealloc_resource_identifiers (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function allocates the number of elements for the specified resource type.
SEE ALSO ... |
lpfc_sli4_diag_fcport_reg_setup(9) | NAME lpfc_sli4_diag_fcport_reg_setup - setup port registrations for diagnostic
SYNOPSIS int lpfc_sli4_diag_fcport_reg_setup (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function set up SLI4 FC port registrations for diagnostic run, which includes all the rpis, vfi, ... |
lpfc_sli4_disable_intr(9) | NAME lpfc_sli4_disable_intr - Disable device interrupt to SLI-4 device
SYNOPSIS void lpfc_sli4_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 inter... |
lpfc_sli4_dly_hba_process_cq(9) | NAME lpfc_sli4_dly_hba_process_cq - fast-path work handler when started by timer
SYNOPSIS void lpfc_sli4_dly_hba_process_cq (struct work_struct *work );
ARGUMENTS work pointer to work element
DESCRIPTION translates from the work handler and calls the fast-path handler.
SEE ALSO Kernel file ./drivers/scsi... |
lpfc_sli4_dly_sp_process_cq(9) | NAME lpfc_sli4_dly_sp_process_cq - slow-path work handler when started by timer
SYNOPSIS void lpfc_sli4_dly_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/l... |
lpfc_sli4_driver_resource_setup(9) | NAME lpfc_sli4_driver_resource_setup - Setup drvr internal resources for SLI4 dev
SYNOPSIS int lpfc_sli4_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-4 ... |
lpfc_sli4_driver_resource_unset(9) | NAME lpfc_sli4_driver_resource_unset - Unset drvr internal resources for SLI4 dev
SYNOPSIS void lpfc_sli4_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... |
lpfc_sli4_dump_cfg_rg23(9) | NAME lpfc_sli4_dump_cfg_rg23 - Dump sli4 port config region 23
SYNOPSIS int lpfc_sli4_dump_cfg_rg23 (struct lpfc_hba *phba , struct lpfcMboxq *mbox );
ARGUMENTS phba pointer to the hba structure containing.
mbox pointer to lpfc mbox command to initialize.
DESCRIPTION This function create a SLI4... |
lpfc_sli4_els_preprocess_rspiocbq(9) | NAME lpfc_sli4_els_preprocess_rspiocbq - Get response iocbq from els wcqe
SYNOPSIS struct lpfc_iocbq * lpfc_sli4_els_preprocess_rspiocbq (struct lpfc_hba *phba , struct lpfc_iocbq *irspiocbq );
ARGUMENTS phba Pointer to HBA context object.
irspiocbq Pointer to work-queue completion queue entry.
DESC... |
lpfc_sli4_els_sgl_update(9) | NAME lpfc_sli4_els_sgl_update - update ELS xri-sgl sizing and mapping
SYNOPSIS int lpfc_sli4_els_sgl_update (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine first calculates the sizes of the current els and allocated scsi sgl lists, and then goes throug... |
lpfc_sli4_els_xri_abort_event_proc(9) | NAME lpfc_sli4_els_xri_abort_event_proc - Process els xri abort event
SYNOPSIS void lpfc_sli4_els_xri_abort_event_proc (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked by the worker thread to process all the pending SLI4 els abort xri events.
SE... |
lpfc_sli4_els_xri_aborted(9) | NAME lpfc_sli4_els_xri_aborted - Slow-path process of els xri abort
SYNOPSIS void lpfc_sli4_els_xri_aborted (struct lpfc_hba *phba , struct sli4_wcqe_xri_aborted *axri );
ARGUMENTS phba pointer to lpfc hba data structure.
axri pointer to the els xri abort wcqe structure.
DESCRIPTION This routin... |
lpfc_sli4_enable_intr(9) | NAME lpfc_sli4_enable_intr - Enable device interrupt to SLI-4 device
SYNOPSIS uint32_t lpfc_sli4_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 invok... |
lpfc_sli4_enable_msi(9) | NAME lpfc_sli4_enable_msi - Enable MSI interrupt mode to SLI-4 device
SYNOPSIS int lpfc_sli4_enable_msi (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to enable the MSI interrupt mode to device with SLI-4 interface spec. The kernel function pc... |
lpfc_sli4_enable_msix(9) | NAME lpfc_sli4_enable_msix - Enable MSI-X interrupt mode to SLI-4 device
SYNOPSIS int lpfc_sli4_enable_msix (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to enable the MSI-X interrupt vectors to device with SLI-4 interface spec. It also allo... |
lpfc_sli4_eq_clr_intr(9) | NAME lpfc_sli4_eq_clr_intr - Turn off interrupts from this EQ
SYNOPSIS void lpfc_sli4_eq_clr_intr (struct lpfc_queue *q );
ARGUMENTS q The Event Queue to disable interrupts
SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_pcimem_bcopy(9), lpfc_sli4_wq_put(9), lpfc_sli4_wq_release(9), lpf... |
lpfc_sli4_eq_get(9) | NAME lpfc_sli4_eq_get - Gets the next valid EQE from a EQ
SYNOPSIS struct lpfc_eqe * lpfc_sli4_eq_get (struct lpfc_queue *q );
ARGUMENTS q The Event Queue to get the first valid EQE from
DESCRIPTION This routine will get the first valid Event Queue Entry from q, update the queue's internal hba index, a... |
lpfc_sli4_eratt_read(9) | NAME lpfc_sli4_eratt_read - read sli-4 error attention events
SYNOPSIS int lpfc_sli4_eratt_read (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context.
DESCRIPTION This function is called to read the SLI4 device error attention registers for possible error attention events. The caller must hold the... |
lpfc_sli4_fcf_dead_failthrough(9) | NAME lpfc_sli4_fcf_dead_failthrough - Failthrough routine to fcf dead event
SYNOPSIS void lpfc_sli4_fcf_dead_failthrough (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This function is the failover routine as a last resort to the FCF DEAD event when driver failed to p... |
lpfc_sli4_fcf_pri_list_add(9) | NAME lpfc_sli4_fcf_pri_list_add -
SYNOPSIS int lpfc_sli4_fcf_pri_list_add (struct lpfc_hba *phba , uint16_t fcf_index , struct fcf_record *new_fcf_record );
ARGUMENTS phba pointer to lpfc hba data structure.
fcf_index the index of the fcf record to add
new_fcf_record
pointe... |
lpfc_sli4_fcf_pri_list_del(9) | NAME lpfc_sli4_fcf_pri_list_del -
SYNOPSIS void lpfc_sli4_fcf_pri_list_del (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 delete This routine checks the on list flag of the fcf_index to be deleted. If it i... |
lpfc_sli4_fcf_rec_mbox_parse(9) | NAME lpfc_sli4_fcf_rec_mbox_parse - Parse read_fcf mbox command.
SYNOPSIS struct fcf_record * lpfc_sli4_fcf_rec_mbox_parse (struct lpfc_hba *phba , LPFC_MBOXQ_t *mboxq , uint16_t *next_fcf_index );
ARGUMENTS phba pointer to lpfc hba data structure.
mboxq pointer to mailbox object.
next_fc... |
lpfc_sli4_fcf_record_match(9) | NAME lpfc_sli4_fcf_record_match - testing new FCF record for matching existing FCF
SYNOPSIS bool lpfc_sli4_fcf_record_match (struct lpfc_hba *phba , struct lpfc_fcf_rec *fcf_rec , struct fcf_record *new_fcf_record , uint16_t new_vlan_id );
ARGUMENTS phba pointer to lpfc hba data structure.
fcf_rec ... |
lpfc_sli4_fcf_redisc_event_proc(9) | NAME lpfc_sli4_fcf_redisc_event_proc - Process fcf table rediscovery event
SYNOPSIS void lpfc_sli4_fcf_redisc_event_proc (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked by the worker thread to process FCF table rediscovery pending completion eve... |
lpfc_sli4_fcf_redisc_wait_tmo(9) | NAME lpfc_sli4_fcf_redisc_wait_tmo - FCF table rediscover wait timeout
SYNOPSIS void lpfc_sli4_fcf_redisc_wait_tmo (struct timer_list *t );
ARGUMENTS t Timer context used to obtain the pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked when waiting for FCF table rediscover has been ... |
lpfc_sli4_fcf_rr_index_clear(9) | NAME lpfc_sli4_fcf_rr_index_clear - Clear bmask from eligible fcf record index
SYNOPSIS void lpfc_sli4_fcf_rr_index_clear (struct lpfc_hba *phba , uint16_t fcf_index );
ARGUMENTS phba pointer to lpfc hba data structure.
fcf_index index into the FCF table to 'clear'
DESCRIPTION This routine clears ... |
lpfc_sli4_fcf_rr_index_set(9) | NAME lpfc_sli4_fcf_rr_index_set - Set bmask with eligible fcf record index
SYNOPSIS int lpfc_sli4_fcf_rr_index_set (struct lpfc_hba *phba , uint16_t fcf_index );
ARGUMENTS phba pointer to lpfc hba data structure.
fcf_index index into the FCF table to 'set'
DESCRIPTION This routine sets the FCF recor... |
lpfc_sli4_fcf_rr_next_index_get(9) | NAME lpfc_sli4_fcf_rr_next_index_get - Get next eligible fcf record index
SYNOPSIS uint16_t lpfc_sli4_fcf_rr_next_index_get (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is to get the next eligible FCF record index in a round robin fashion. If the nex... |
lpfc_sli4_fcf_rr_next_proc(9) | NAME lpfc_sli4_fcf_rr_next_proc - processing next roundrobin fcf
SYNOPSIS int lpfc_sli4_fcf_rr_next_proc (struct lpfc_vport *vport , uint16_t fcf_index );
ARGUMENTS vport Pointer to vport object.
fcf_index index to next fcf.
DESCRIPTION This function processing the roundrobin fcf failover to next fcf... |
lpfc_sli4_fcf_rr_read_fcf_rec(9) | NAME lpfc_sli4_fcf_rr_read_fcf_rec - Read hba fcf record for roundrobin fcf.
SYNOPSIS int lpfc_sli4_fcf_rr_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 F... |
lpfc_sli4_fcf_scan_read_fcf_rec(9) | NAME lpfc_sli4_fcf_scan_read_fcf_rec - Read hba fcf record for fcf scan.
SYNOPSIS int lpfc_sli4_fcf_scan_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 scan the ... |
lpfc_sli4_fp_handle_cqe(9) | NAME lpfc_sli4_fp_handle_cqe - Process fast-path work queue completion entry
SYNOPSIS bool lpfc_sli4_fp_handle_cqe (struct lpfc_hba *phba , struct lpfc_queue *cq , struct lpfc_cqe *cqe );
ARGUMENTS phba adapter with cq
cq Pointer to the completion queue.
cqe Pointer to fast-pat... |
lpfc_sli4_fp_handle_fcp_wcqe(9) | NAME lpfc_sli4_fp_handle_fcp_wcqe - Process fast-path work queue completion entry
SYNOPSIS void lpfc_sli4_fp_handle_fcp_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
wcq... |
lpfc_sli4_fp_handle_rel_wcqe(9) | NAME lpfc_sli4_fp_handle_rel_wcqe - Handle fast-path WQ entry consumed event
SYNOPSIS void lpfc_sli4_fp_handle_rel_wcqe (struct lpfc_hba *phba , struct lpfc_queue *cq , struct lpfc_wcqe_release *wcqe );
ARGUMENTS phba Pointer to HBA context object.
cq Pointer to completion queue.
wcqe ... |
lpfc_sli4_free_rpi(9) | NAME lpfc_sli4_free_rpi - Release an rpi for reuse.
SYNOPSIS void lpfc_sli4_free_rpi (struct lpfc_hba *phba , int rpi );
ARGUMENTS phba pointer to lpfc hba data structure.
rpi rpi to free
DESCRIPTION This routine is invoked to release an rpi to the pool of available rpis maintained by the driv... |
lpfc_sli4_free_sp_events(9) | NAME lpfc_sli4_free_sp_events - Cleanup sp_queue_events to free rspiocb which got deferred
SYNOPSIS void lpfc_sli4_free_sp_events (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc HBA data structure.
DESCRIPTION This routine will cleanup completed slow path events after HBA is reset when bringing down ... |
lpfc_sli4_free_xri(9) | NAME lpfc_sli4_free_xri - Release an xri for reuse.
SYNOPSIS void lpfc_sli4_free_xri (struct lpfc_hba *phba , int xri );
ARGUMENTS phba pointer to lpfc hba data structure.
xri xri to release.
DESCRIPTION This routine is invoked to release an xri to the pool of available rpis maintained by the ... |
lpfc_sli4_get_allocated_extnts(9) | NAME lpfc_sli4_get_allocated_extnts - Get the port's allocated extents.
SYNOPSIS int lpfc_sli4_get_allocated_extnts (struct lpfc_hba *phba , uint16_t type , uint16_t *extnt_cnt , uint16_t *extnt_size );
ARGUMENTS phba Pointer to HBA context object.
type The resource extent type.
extnt_cn... |
lpfc_sli4_get_avail_extnt_rsrc(9) | NAME lpfc_sli4_get_avail_extnt_rsrc - Get available resource extent count.
SYNOPSIS int lpfc_sli4_get_avail_extnt_rsrc (struct lpfc_hba *phba , uint16_t type , uint16_t *extnt_count , uint16_t *extnt_size );
ARGUMENTS phba Pointer to HBA context object.
type The resource extent type.
ext... |
lpfc_sli4_get_config_region23(9) | NAME lpfc_sli4_get_config_region23 - Get sli4 port region 23 data.
SYNOPSIS uint32_t lpfc_sli4_get_config_region23 (struct lpfc_hba *phba , char *rgn23_data );
ARGUMENTS phba pointer to lpfc hba data structure.
rgn23_data pointer to configure region 23 data.
DESCRIPTION This function gets SLI4 port c... |
lpfc_sli4_get_ctl_attr(9) | NAME lpfc_sli4_get_ctl_attr - Retrieve SLI4 device controller attributes
SYNOPSIS int lpfc_sli4_get_ctl_attr (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 0 - succes... |
lpfc_sli4_get_els_iocb_cnt(9) | NAME lpfc_sli4_get_els_iocb_cnt - Calculate the # of ELS IOCBs to reserve
SYNOPSIS int lpfc_sli4_get_els_iocb_cnt (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION returns the number of ELS/CT IOCBs to reserve
SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_init.c l... |
lpfc_sli4_get_iocb_cnt(9) | NAME lpfc_sli4_get_iocb_cnt - Calculate the # of total IOCBs to reserve
SYNOPSIS int lpfc_sli4_get_iocb_cnt (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION returns the number of ELS/CT + NVMET IOCBs to reserve
SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_init.c ... |
lpfc_sli4_handle_received_buffer(9) | NAME lpfc_sli4_handle_received_buffer - Handle received buffers from firmware
SYNOPSIS void lpfc_sli4_handle_received_buffer (struct lpfc_hba *phba , struct hbq_dmabuf *dmabuf );
ARGUMENTS phba Pointer to HBA context object.
dmabuf Pointer to a dmabuf that describes the FC sequence.
DESCRIPTION T... |
lpfc_sli4_handle_unsol_abort(9) | NAME lpfc_sli4_handle_unsol_abort - Handle sli-4 unsolicited abort event
SYNOPSIS void lpfc_sli4_handle_unsol_abort (struct lpfc_vport *vport , struct hbq_dmabuf *dmabuf );
ARGUMENTS vport Pointer to the vport on which this sequence was received
dmabuf pointer to a dmabuf that describes the FC sequ... |
lpfc_sli4_hba_handle_eqe(9) | NAME lpfc_sli4_hba_handle_eqe - Process a fast-path event queue entry
SYNOPSIS void lpfc_sli4_hba_handle_eqe (struct lpfc_hba *phba , struct lpfc_queue *eq , struct lpfc_eqe *eqe , enum lpfc_poll_mode poll_mode );
ARGUMENTS phba Pointer to HBA context object.
eq Pointer to the queue structure.... |
lpfc_sli4_hba_intr_handler(9) | NAME lpfc_sli4_hba_intr_handler - HBA interrupt handler to SLI-4 device
SYNOPSIS irqreturn_t lpfc_sli4_hba_intr_handler (int irq , void *dev_id );
ARGUMENTS irq Interrupt number.
dev_id The device context pointer.
DESCRIPTION This function is directly called from the PCI layer as an interrupt s... |
lpfc_sli4_hba_intr_handler_th(9) | NAME lpfc_sli4_hba_intr_handler_th - SLI4 HBA threaded interrupt handler
SYNOPSIS irqreturn_t lpfc_sli4_hba_intr_handler_th (int irq , void *dev_id );
ARGUMENTS irq Interrupt number.
dev_id The device context pointer.
DESCRIPTION This routine is a mirror of lpfc_sli4_hba_intr_handler, but execut... |
lpfc_sli4_hba_process_cq(9) | NAME lpfc_sli4_hba_process_cq - fast-path work handler when started by interrupt
SYNOPSIS void lpfc_sli4_hba_process_cq (struct work_struct *work );
ARGUMENTS work pointer to work element
DESCRIPTION translates from the work handler and calls the fast-path handler.
SEE ALSO Kernel file ./drivers/scsi/lpf... |
lpfc_sli4_hba_setup(9) | NAME lpfc_sli4_hba_setup - SLI4 device initialization PCI function
SYNOPSIS int lpfc_sli4_hba_setup (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function is the main SLI4 device initialization PCI function. This function is called by the HBA initialization code, HBA... |
lpfc_sli4_hba_unset(9) | NAME lpfc_sli4_hba_unset - Unset the fcoe hba
SYNOPSIS void lpfc_sli4_hba_unset (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function is called in the SLI4 code path to reset the HBA's FCoE function. The caller is not required to hold any lock. This routine issues... |
lpfc_sli4_if6_eq_clr_intr(9) | NAME lpfc_sli4_if6_eq_clr_intr - Turn off interrupts from this EQ
SYNOPSIS void lpfc_sli4_if6_eq_clr_intr (struct lpfc_queue *q );
ARGUMENTS q The Event Queue to disable interrupts
SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_pcimem_bcopy(9), lpfc_sli4_wq_put(9), lpfc_sli4_wq_rele... |
lpfc_sli4_if6_write_cq_db(9) | NAME lpfc_sli4_if6_write_cq_db - write cq DB for entries consumed or arm state.
SYNOPSIS void lpfc_sli4_if6_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 proces... |
lpfc_sli4_if6_write_eq_db(9) | NAME lpfc_sli4_if6_write_eq_db - write EQ DB for eqe's consumed or arm state
SYNOPSIS void lpfc_sli4_if6_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.
... |
lpfc_sli4_init_rpi_hdrs(9) | NAME lpfc_sli4_init_rpi_hdrs - Post the rpi header memory region to the port
SYNOPSIS int lpfc_sli4_init_rpi_hdrs (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to post rpi header templates to the port for those SLI4 ports that do not suppor... |
lpfc_sli4_init_vpi(9) | NAME lpfc_sli4_init_vpi - Initialize a vpi with the port
SYNOPSIS int lpfc_sli4_init_vpi (struct lpfc_vport *vport );
ARGUMENTS vport Pointer to the vport for which the vpi is being initialized
DESCRIPTION This routine is invoked to activate a vpi with the port.
RETURN 0 success -Evalue otherwise
SEE ALSO Ke... |
lpfc_sli4_intr_handler(9) | NAME lpfc_sli4_intr_handler - Device-level interrupt handler for SLI-4 device
SYNOPSIS irqreturn_t lpfc_sli4_intr_handler (int irq , void *dev_id );
ARGUMENTS irq Interrupt number.
dev_id The device context pointer.
DESCRIPTION This function is the device-level interrupt handler to device wit... |
lpfc_sli4_io_sgl_update(9) | NAME lpfc_sli4_io_sgl_update - update xri-sgl sizing and mapping
SYNOPSIS int lpfc_sli4_io_sgl_update (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine first calculates the sizes of the current els and allocated scsi sgl lists, and then goes through all ... |
lpfc_sli4_io_xri_aborted(9) | NAME lpfc_sli4_io_xri_aborted - Fast-path process of fcp xri abort
SYNOPSIS void lpfc_sli4_io_xri_aborted (struct lpfc_hba *phba , struct sli4_wcqe_xri_aborted *axri , int idx );
ARGUMENTS phba pointer to lpfc hba data structure.
axri pointer to the fcp xri abort wcqe structure.
idx ... |
lpfc_sli4_issue_abort_iotag(9) | NAME lpfc_sli4_issue_abort_iotag - SLI-4 WQE init & issue for the Abort
SYNOPSIS int lpfc_sli4_issue_abort_iotag (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , void *cmpl );
ARGUMENTS phba Pointer to HBA context object.
cmdiocb Pointer to driver command iocb object.
cmpl compl... |
lpfc_sli4_issue_wqe(9) | NAME lpfc_sli4_issue_wqe - Issue an SLI4 Work Queue Entry (WQE)
SYNOPSIS int lpfc_sli4_issue_wqe (struct lpfc_hba *phba , struct lpfc_sli4_hdw_queue *qp , struct lpfc_iocbq *pwqe );
ARGUMENTS phba Pointer to HBA context object.
qp Pointer to HDW queue.
pwqe Pointer to command WQ... |
lpfc_sli4_log_fcf_record_info(9) | NAME lpfc_sli4_log_fcf_record_info - Log the information of a fcf record
SYNOPSIS void lpfc_sli4_log_fcf_record_info (struct lpfc_hba *phba , struct fcf_record *fcf_record , uint16_t vlan_id , uint16_t next_fcf_index );
ARGUMENTS phba pointer to lpfc hba data structure.
fcf_record pointer to the fcf r... |
lpfc_sli4_mbox_cmd_free(9) | NAME lpfc_sli4_mbox_cmd_free - Free a sli4 mailbox command
SYNOPSIS void lpfc_sli4_mbox_cmd_free (struct lpfc_hba *phba , struct lpfcMboxq *mbox );
ARGUMENTS phba pointer to lpfc hba data structure.
mbox pointer to lpfc mbox command.
DESCRIPTION This routine cleans up and releases an SLI4 mailb... |
lpfc_sli4_mbox_completions_pending(9) | NAME lpfc_sli4_mbox_completions_pending - check to see if any mailbox completions are pending
SYNOPSIS bool lpfc_sli4_mbox_completions_pending (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function checks if any mailbox completions are present on the mailbox completi... |
lpfc_sli4_mbox_rsrc_extent(9) | NAME lpfc_sli4_mbox_rsrc_extent - Initialize the opcode resource extent.
SYNOPSIS int lpfc_sli4_mbox_rsrc_extent (struct lpfc_hba *phba , struct lpfcMboxq *mbox , uint16_t exts_count , uint16_t rsrc_type , bool emb );
ARGUMENTS phba pointer to lpfc hba data structure.
mbox pointer to an allocate... |
lpfc_sli4_mbx_read_fcf_rec(9) | NAME lpfc_sli4_mbx_read_fcf_rec - Allocate and construct read fcf mbox cmd
SYNOPSIS int lpfc_sli4_mbx_read_fcf_rec (struct lpfc_hba *phba , struct lpfcMboxq *mboxq , uint16_t fcf_index );
ARGUMENTS phba pointer to lpfc hba data structure.
mboxq pointer to lpfc mbox command.
fcf_index in... |
lpfc_sli4_mbx_sge_get(9) | NAME lpfc_sli4_mbx_sge_get - Get a sge entry from non-embedded mailbox command
SYNOPSIS void lpfc_sli4_mbx_sge_get (struct lpfcMboxq *mbox , uint32_t sgentry , struct lpfc_mbx_sge *sge );
ARGUMENTS mbox pointer to lpfc mbox command.
sgentry sge entry index.
sge pointer to lpfc mailb... |
lpfc_sli4_mbx_sge_set(9) | NAME lpfc_sli4_mbx_sge_set - Set a sge entry in non-embedded mailbox command
SYNOPSIS void lpfc_sli4_mbx_sge_set (struct lpfcMboxq *mbox , uint32_t sgentry , dma_addr_t phyaddr , uint32_t length );
ARGUMENTS mbox pointer to lpfc mbox command.
sgentry sge entry index.
phyaddr physical ad... |
lpfc_sli4_mod_hba_eq_delay(9) | NAME lpfc_sli4_mod_hba_eq_delay - update EQ delay
SYNOPSIS void lpfc_sli4_mod_hba_eq_delay (struct lpfc_hba *phba , struct lpfc_queue *eq , u32 delay );
ARGUMENTS phba Pointer to HBA context object.
eq -- undescribed --
delay The delay value (in us) to be written.
SEE ALSO Kerne... |
lpfc_sli4_mq_put(9) | NAME lpfc_sli4_mq_put - Put a Mailbox Queue Entry on an Mailbox Queue
SYNOPSIS uint32_t lpfc_sli4_mq_put (struct lpfc_queue *q , struct lpfc_mqe *mqe );
ARGUMENTS q The Mailbox Queue to operate on.
mqe The Mailbox Queue Entry to put on the Work queue.
DESCRIPTION This routine will copy the... |
lpfc_sli4_mq_release(9) | NAME lpfc_sli4_mq_release - Updates internal hba index for MQ
SYNOPSIS uint32_t lpfc_sli4_mq_release (struct lpfc_queue *q );
ARGUMENTS q The Mailbox Queue to operate on.
DESCRIPTION This routine will update the HBA index of a queue to reflect consumption of a Mailbox Queue Entry by the HBA. When the HBA ... |
lpfc_sli4_new_fcf_random_select(9) | NAME lpfc_sli4_new_fcf_random_select - Randomly select an eligible new fcf record
SYNOPSIS bool lpfc_sli4_new_fcf_random_select (struct lpfc_hba *phba , uint32_t fcf_cnt );
ARGUMENTS phba pointer to lpfc hba data structure.
fcf_cnt number of eligible fcf record seen so far.
DESCRIPTION This funct... |
lpfc_sli4_next_xritag(9) | NAME lpfc_sli4_next_xritag - Get an xritag for the io
SYNOPSIS uint16_t lpfc_sli4_next_xritag (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function gets an xritag for the iocb. If there is no unused xritag it will return 0xffff. The function returns the allocated... |
lpfc_sli4_node_rpi_restore(9) | NAME lpfc_sli4_node_rpi_restore - Recover assigned RPIs for active nodes.
SYNOPSIS void lpfc_sli4_node_rpi_restore (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION Allocate RPIs for all active remote nodes. This is needed whenever an SLI4 adapter is reset and the driver... |
lpfc_sli4_nvme_pci_offline_aborted(9) | NAME lpfc_sli4_nvme_pci_offline_aborted - Fast-path process of NVME xri abort
SYNOPSIS void lpfc_sli4_nvme_pci_offline_aborted (struct lpfc_hba *phba , struct lpfc_io_buf *lpfc_ncmd );
ARGUMENTS phba pointer to lpfc hba data structure.
lpfc_ncmd The nvme job structure for the request being aborted.
... |
lpfc_sli4_nvme_xri_aborted(9) | NAME lpfc_sli4_nvme_xri_aborted - Fast-path process of NVME xri abort
SYNOPSIS void lpfc_sli4_nvme_xri_aborted (struct lpfc_hba *phba , struct sli4_wcqe_xri_aborted *axri , struct lpfc_io_buf *lpfc_ncmd );
ARGUMENTS phba pointer to lpfc hba data structure.
axri pointer to the fcp xri abort wcqe ... |
lpfc_sli4_nvmet_alloc(9) | NAME lpfc_sli4_nvmet_alloc - Allocate an SLI4 Receive buffer
SYNOPSIS struct rqb_dmabuf * lpfc_sli4_nvmet_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 i... |
lpfc_sli4_nvmet_free(9) | NAME lpfc_sli4_nvmet_free - Frees a receive buffer
SYNOPSIS void lpfc_sli4_nvmet_free (struct lpfc_hba *phba , struct rqb_dmabuf *dmab );
ARGUMENTS phba HBA buffer was allocated for
dmab DMA Buffer container returned by lpfc_sli4_rbq_alloc
DESCRIPTION Frees both the container and the DMA-mapped... |
lpfc_sli4_nvmet_handle_rcqe(9) | NAME lpfc_sli4_nvmet_handle_rcqe - Process a receive-queue completion queue entry
SYNOPSIS bool lpfc_sli4_nvmet_handle_rcqe (struct lpfc_hba *phba , struct lpfc_queue *cq , struct lpfc_rcqe *rcqe );
ARGUMENTS phba Pointer to HBA context object.
cq Pointer to completion queue.
rcqe ... |
lpfc_sli4_nvmet_sgl_update(9) | NAME lpfc_sli4_nvmet_sgl_update - update xri-sgl sizing and mapping
SYNOPSIS int lpfc_sli4_nvmet_sgl_update (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine first calculates the sizes of the current els and allocated scsi sgl lists, and then goes throug... |
lpfc_sli4_nvmet_xri_aborted(9) | NAME lpfc_sli4_nvmet_xri_aborted - Fast-path process of nvmet xri abort
SYNOPSIS void lpfc_sli4_nvmet_xri_aborted (struct lpfc_hba *phba , struct sli4_wcqe_xri_aborted *axri );
ARGUMENTS phba pointer to lpfc hba data structure.
axri pointer to the nvmet xri abort wcqe structure.
DESCRIPTION Thi... |
lpfc_sli4_oas_verify(9) | NAME lpfc_sli4_oas_verify - Verify OAS is supported by this adapter
SYNOPSIS void lpfc_sli4_oas_verify (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine checks to see if OAS is supported for this adapter. If supported, the configure Flash Optimized Fabric ... |
lpfc_sli4_offline_eratt(9) | NAME lpfc_sli4_offline_eratt - Bring lpfc offline on SLI4 hardware error attention
SYNOPSIS void lpfc_sli4_offline_eratt (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is called to bring a SLI4 HBA offline when HBA hardware error other than Port Error 6 h... |
lpfc_sli4_parse_latt_fault(9) | NAME lpfc_sli4_parse_latt_fault - Parse sli4 link-attention link fault code
SYNOPSIS void lpfc_sli4_parse_latt_fault (struct lpfc_hba *phba , struct lpfc_acqe_link *acqe_link );
ARGUMENTS phba pointer to lpfc hba data structure.
acqe_link pointer to the async link completion queue entry.
DESCRIPTION... |
lpfc_sli4_parse_latt_type(9) | NAME lpfc_sli4_parse_latt_type - Parse sli4 link attention type
SYNOPSIS uint8_t lpfc_sli4_parse_latt_type (struct lpfc_hba *phba , struct lpfc_acqe_link *acqe_link );
ARGUMENTS phba pointer to lpfc hba data structure.
acqe_link pointer to the async link completion queue entry.
DESCRIPTION This rout... |
lpfc_sli4_pci_mem_setup(9) | NAME lpfc_sli4_pci_mem_setup - Setup SLI4 HBA PCI memory space.
SYNOPSIS int lpfc_sli4_pci_mem_setup (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to set up the PCI device memory space for device with SLI-4 interface spec. Return codes 0 - su... |
lpfc_sli4_pci_mem_unset(9) | NAME lpfc_sli4_pci_mem_unset - Unset SLI4 HBA PCI memory space.
SYNOPSIS void lpfc_sli4_pci_mem_unset (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to unset the PCI device memory space for device with SLI-4 interface spec.
SEE ALSO Kernel f... |
lpfc_sli4_pcimem_bcopy(9) | NAME lpfc_sli4_pcimem_bcopy - SLI4 memory copy function
SYNOPSIS void lpfc_sli4_pcimem_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. Must be a multiple of sizeof... |
lpfc_sli4_pdev_reg_request(9) | NAME lpfc_sli4_pdev_reg_request - Request physical dev to perform a register acc
SYNOPSIS ssize_t lpfc_sli4_pdev_reg_request (struct lpfc_hba *phba , uint32_t opcode );
ARGUMENTS phba lpfc_hba pointer.
opcode The sli4 config command opcode.
DESCRIPTION Request SLI4 interface type-2 device to perf... |
lpfc_sli4_pdev_status_reg_wait(9) | NAME lpfc_sli4_pdev_status_reg_wait - Wait for pdev status register for readyness
SYNOPSIS int lpfc_sli4_pdev_status_reg_wait (struct lpfc_hba *phba );
ARGUMENTS phba lpfc_hba pointer.
DESCRIPTION SLI4 interface type-2 device to wait on the sliport status register for the readyness after performing a firmware... |
lpfc_sli4_perform_all_vport_cvl(9) | NAME lpfc_sli4_perform_all_vport_cvl - Perform clear virtual link on all vports
SYNOPSIS void lpfc_sli4_perform_all_vport_cvl (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is to perform Clear Virtual Link (CVL) on all vports in response to a FCF dead eve... |
lpfc_sli4_perform_vport_cvl(9) | NAME lpfc_sli4_perform_vport_cvl - Perform clear virtual link on a vport
SYNOPSIS struct lpfc_nodelist * lpfc_sli4_perform_vport_cvl (struct lpfc_vport *vport );
ARGUMENTS vport pointer to vport data structure.
DESCRIPTION This routine is to perform Clear Virtual Link (CVL) on a vport in response to a CVL even... |
lpfc_sli4_port_speed_parse(9) | NAME lpfc_sli4_port_speed_parse - Parse async evt link speed code to link speed
SYNOPSIS uint32_t lpfc_sli4_port_speed_parse (struct lpfc_hba *phba , uint32_t evt_code , uint8_t speed_code );
ARGUMENTS phba pointer to lpfc hba data structure.
evt_code asynchronous event code.
speed_code asy... |
lpfc_sli4_port_sta_fn_reset(9) | NAME lpfc_sli4_port_sta_fn_reset - The SLI4 function reset due to port status reg
SYNOPSIS int lpfc_sli4_port_sta_fn_reset (struct lpfc_hba *phba , int mbx_action , bool en_rn_msg );
ARGUMENTS phba pointer to lpfc hba data structure.
mbx_action flag for mailbox shutdown action.
en_rn_msg sen... |
lpfc_sli4_post_all_rpi_hdrs(9) | NAME lpfc_sli4_post_all_rpi_hdrs - Post the rpi header memory region to the port
SYNOPSIS int lpfc_sli4_post_all_rpi_hdrs (struct lpfc_hba *phba );
ARGUMENTS phba pointer to lpfc hba data structure.
DESCRIPTION This routine is invoked to post rpi header templates to the HBA consistent with the SLI-4 interfa... |
lpfc_sli4_post_async_mbox(9) | NAME lpfc_sli4_post_async_mbox - Post an SLI4 mailbox command to device
SYNOPSIS int lpfc_sli4_post_async_mbox (struct lpfc_hba *phba );
ARGUMENTS phba Pointer to HBA context object.
DESCRIPTION This function is called by worker thread to send a mailbox command to SLI4 HBA firmware.
SEE ALSO Kernel file ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.