id
stringlengths
4
63
text
stringlengths
153
8.81M
lpfc_bsg_issue_mbox_cmpl(9)
NAME lpfc_bsg_issue_mbox_cmpl - lpfc_bsg_issue_mbox mbox completion handler SYNOPSIS void lpfc_bsg_issue_mbox_cmpl (struct lpfc_hba *phba , LPFC_MBOXQ_t *pmboxq ); ARGUMENTS phba Pointer to HBA context object. pmboxq Pointer to mailbox command. DESCRIPTION This is completion handler function for ...
lpfc_bsg_issue_mbox_ext_handle_job(9)
NAME lpfc_bsg_issue_mbox_ext_handle_job - job handler for multi-buffer mbox cmpl SYNOPSIS struct bsg_job * lpfc_bsg_issue_mbox_ext_handle_job (struct lpfc_hba *phba , LPFC_MBOXQ_t *pmboxq ); ARGUMENTS phba Pointer to HBA context object. pmboxq Pointer to mailbox command. DESCRIPTION This is routi...
lpfc_bsg_issue_read_mbox_ext_cmpl(9)
NAME lpfc_bsg_issue_read_mbox_ext_cmpl - compl handler for multi-buffer read mbox SYNOPSIS void lpfc_bsg_issue_read_mbox_ext_cmpl (struct lpfc_hba *phba , LPFC_MBOXQ_t *pmboxq ); ARGUMENTS phba Pointer to HBA context object. pmboxq Pointer to mailbox command. DESCRIPTION This is completion handle...
lpfc_bsg_issue_write_mbox_ext_cmpl(9)
NAME lpfc_bsg_issue_write_mbox_ext_cmpl - cmpl handler for multi-buffer write mbox SYNOPSIS void lpfc_bsg_issue_write_mbox_ext_cmpl (struct lpfc_hba *phba , LPFC_MBOXQ_t *pmboxq ); ARGUMENTS phba Pointer to HBA context object. pmboxq Pointer to mailbox command. DESCRIPTION This is completion hand...
lpfc_bsg_mbox_cmd(9)
NAME lpfc_bsg_mbox_cmd - process an fc bsg LPFC_BSG_VENDOR_MBOX command SYNOPSIS int lpfc_bsg_mbox_cmd (struct bsg_job *job ); ARGUMENTS job MBOX fc_bsg_job for LPFC_BSG_VENDOR_MBOX. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc_bsg_rp...
lpfc_bsg_mbox_ext_abort(9)
NAME lpfc_bsg_mbox_ext_abort - request to abort mbox command with ext buffers SYNOPSIS void lpfc_bsg_mbox_ext_abort (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. DESCRIPTION This routine is for requesting to abort a pass-through mailbox command with multiple external buffers due to e...
lpfc_bsg_mbox_ext_session_reset(9)
NAME lpfc_bsg_mbox_ext_session_reset - clean up context of multi-buffer mbox session SYNOPSIS void lpfc_bsg_mbox_ext_session_reset (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. DESCRIPTION This is routine clean up and reset BSG handling of multi-buffer mbox command session. SEE ALSO...
lpfc_bsg_read_ebuf_get(9)
NAME lpfc_bsg_read_ebuf_get - get the next mailbox read external buffer SYNOPSIS int lpfc_bsg_read_ebuf_get (struct lpfc_hba *phba , struct bsg_job *job ); ARGUMENTS phba Pointer to HBA context object. job Pointer to the job object. DESCRIPTION This routine extracts the next mailbox read exter...
lpfc_bsg_request(9)
NAME lpfc_bsg_request - handle a bsg request from the FC transport SYNOPSIS int lpfc_bsg_request (struct bsg_job *job ); ARGUMENTS job bsg_job to handle SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc_bsg_rport_els_cmp(9), lpfc_bsg_rport...
lpfc_bsg_rport_els(9)
NAME lpfc_bsg_rport_els - send an ELS command from a bsg request SYNOPSIS int lpfc_bsg_rport_els (struct bsg_job *job ); ARGUMENTS job fc_bsg_job to handle SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc_bsg_rport_els_cmp(9), ...
lpfc_bsg_rport_els_cmp(9)
NAME lpfc_bsg_rport_els_cmp - lpfc_bsg_rport_els's completion handler SYNOPSIS void lpfc_bsg_rport_els_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...
lpfc_bsg_send_mgmt_cmd(9)
NAME lpfc_bsg_send_mgmt_cmd - send a CT command from a bsg request SYNOPSIS int lpfc_bsg_send_mgmt_cmd (struct bsg_job *job ); ARGUMENTS job fc_bsg_job to handle SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_rport_els_cmp(9), lpfc_bsg_rport_els(9), lpfc_bsg_ev...
lpfc_bsg_send_mgmt_cmd_cmp(9)
NAME lpfc_bsg_send_mgmt_cmd_cmp - lpfc_bsg_send_mgmt_cmd's completion handler SYNOPSIS void lpfc_bsg_send_mgmt_cmd_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. rspiocb...
lpfc_bsg_send_mgmt_rsp(9)
NAME lpfc_bsg_send_mgmt_rsp - process a SEND_MGMT_RESP bsg vendor command SYNOPSIS int lpfc_bsg_send_mgmt_rsp (struct bsg_job *job ); ARGUMENTS job SEND_MGMT_RESP fc_bsg_job SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), lpfc_bsg_send_mgmt_cmd(9), lpfc_bsg_rport_els_c...
lpfc_bsg_set_ras_config(9)
NAME lpfc_bsg_set_ras_config - Set FW logging parameters SYNOPSIS int lpfc_bsg_set_ras_config (struct bsg_job *job ); ARGUMENTS job fc_bsg_job to handle DESCRIPTION Set log-level parameters for FW-logging in host memory SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cmd_cmp(9), l...
lpfc_bsg_sli_cfg_read_cmd_ext(9)
NAME lpfc_bsg_sli_cfg_read_cmd_ext - sli_config non-embedded mailbox cmd read SYNOPSIS int lpfc_bsg_sli_cfg_read_cmd_ext (struct lpfc_hba *phba , struct bsg_job *job , enum nemb_type nemb_tp , struct lpfc_dmabuf *dmabuf ); ARGUMENTS phba Pointer to HBA context object. job Pointer to the job obj...
lpfc_bsg_sli_cfg_write_cmd_ext(9)
NAME lpfc_bsg_sli_cfg_write_cmd_ext - sli_config non-embedded mailbox cmd write SYNOPSIS int lpfc_bsg_sli_cfg_write_cmd_ext (struct lpfc_hba *phba , struct bsg_job *job , enum nemb_type nemb_tp , struct lpfc_dmabuf *dmabuf ); ARGUMENTS phba Pointer to HBA context object. job Pointer to the job ...
lpfc_bsg_timeout(9)
NAME lpfc_bsg_timeout - handle timeout of a bsg request from the FC transport SYNOPSIS int lpfc_bsg_timeout (struct bsg_job *job ); ARGUMENTS job bsg_job that has timed out DESCRIPTION This function just aborts the job's IOCB. The aborted IOCB will return to the waiting function which will handle passing th...
lpfc_bsg_write_ebuf_set(9)
NAME lpfc_bsg_write_ebuf_set - set the next mailbox write external buffer SYNOPSIS int lpfc_bsg_write_ebuf_set (struct lpfc_hba *phba , struct bsg_job *job , struct lpfc_dmabuf *dmabuf ); ARGUMENTS phba Pointer to HBA context object. job Pointer to the job object. dmabuf Pointer to...
lpfc_build_hbq_profile2(9)
NAME lpfc_build_hbq_profile2 - Set up the HBQ Selection Profile 2 SYNOPSIS void lpfc_build_hbq_profile2 (struct config_hbq_var *hbqmb , struct lpfc_hbq_init *hbq_desc ); ARGUMENTS hbqmb pointer to the HBQ configuration data structure in mailbox command. hbq_desc pointer to the HBQ selection profile d...
lpfc_build_hbq_profile3(9)
NAME lpfc_build_hbq_profile3 - Set up the HBQ Selection Profile 3 SYNOPSIS void lpfc_build_hbq_profile3 (struct config_hbq_var *hbqmb , struct lpfc_hbq_init *hbq_desc ); ARGUMENTS hbqmb pointer to the HBQ configuration data structure in mailbox command. hbq_desc pointer to the HBQ selection profile d...
lpfc_build_hbq_profile5(9)
NAME lpfc_build_hbq_profile5 - Set up the HBQ Selection Profile 5 SYNOPSIS void lpfc_build_hbq_profile5 (struct config_hbq_var *hbqmb , struct lpfc_hbq_init *hbq_desc ); ARGUMENTS hbqmb pointer to the HBQ configuration data structure in mailbox command. hbq_desc pointer to the HBQ selection profile d...
lpfc_calc_cmf_latency(9)
NAME lpfc_calc_cmf_latency - latency from start of rxate timer interval SYNOPSIS uint32_t lpfc_calc_cmf_latency (struct lpfc_hba *phba ); ARGUMENTS phba The Hba for which this call is being executed. DESCRIPTION The routine calculates the latency from the beginning of the CMF timer interval to the current poi...
lpfc_cancel_all_vport_retry_delay_timer(9)
NAME lpfc_cancel_all_vport_retry_delay_timer - Cancel all vport retry delay timer SYNOPSIS void lpfc_cancel_all_vport_retry_delay_timer (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine cancels the retry delay timers to all the vports. SEE ALSO Kernel file ...
lpfc_cancel_retry_delay_tmo(9)
NAME lpfc_cancel_retry_delay_tmo - Cancel the timer with delayed iocb-cmd retry SYNOPSIS void lpfc_cancel_retry_delay_tmo (struct lpfc_vport *vport , struct lpfc_nodelist *nlp ); ARGUMENTS vport pointer to a host virtual N_Port data structure. nlp pointer to a node-list data structure. DESCRIPT...
lpfc_cgn_params_parse(9)
NAME lpfc_cgn_params_parse - Process a FW cong parm change event SYNOPSIS void lpfc_cgn_params_parse (struct lpfc_hba *phba , struct lpfc_cgn_param *p_cgn_param , uint32_t len ); ARGUMENTS phba pointer to lpfc hba data structure. p_cgn_param pointer to a data buffer with the FW cong params. len...
lpfc_cgn_params_val(9)
NAME lpfc_cgn_params_val - Validate FW congestion parameters. SYNOPSIS void lpfc_cgn_params_val (struct lpfc_hba *phba , struct lpfc_cgn_param *p_cfg_param ); ARGUMENTS phba pointer to lpfc hba data structure. p_cfg_param pointer to FW provided congestion parameters. DESCRIPTION This routine validates...
lpfc_cgn_update_stat(9)
NAME lpfc_cgn_update_stat - Save data into congestion stats buffer SYNOPSIS void lpfc_cgn_update_stat (struct lpfc_hba *phba , uint32_t dtag ); ARGUMENTS phba pointer to lpfc hba data structure. dtag FPIN descriptor received DESCRIPTION Increment the FPIN received counter/time when it happens. ...
lpfc_cgn_update_tstamp(9)
NAME lpfc_cgn_update_tstamp - Update cmf timestamp SYNOPSIS void lpfc_cgn_update_tstamp (struct lpfc_hba *phba , struct lpfc_cgn_ts *ts ); ARGUMENTS phba pointer to lpfc hba data structure. ts structure to write the timestamp to. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_init.c lpfc...
lpfc_challenge_key(9)
NAME lpfc_challenge_key - Create challenge key based on WWPN of the HBA SYNOPSIS void lpfc_challenge_key (uint32_t * RandomChallenge , uint32_t * HashWorking ); ARGUMENTS RandomChallenge pointer to the entry of host challenge random number array. HashWorking pointer to the entry of the working hash array. DE...
lpfc_check_clean_addr_bit(9)
NAME lpfc_check_clean_addr_bit - Check whether assigned FCID is clean. SYNOPSIS uint8_t lpfc_check_clean_addr_bit (struct lpfc_vport *vport , struct serv_parm *sp ); ARGUMENTS vport pointer to a host virtual N_Port data structure. sp pointer to service parameter data structure. DESCRIPTION Thi...
lpfc_check_encryption(9)
NAME lpfc_check_encryption - Reports an ndlp's encryption information SYNOPSIS void lpfc_check_encryption (struct lpfc_hba *phba , struct lpfc_nodelist *ndlp , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. ndlp pointer to a node-lis...
lpfc_check_fcp_rsp(9)
NAME lpfc_check_fcp_rsp - check the returned fcp_rsp to see if task failed SYNOPSIS int lpfc_check_fcp_rsp (struct lpfc_vport *vport , struct lpfc_io_buf *lpfc_cmd ); ARGUMENTS vport The virtual port for which this call is being executed. lpfc_cmd Pointer to lpfc_io_buf data structure. DESCRIPTION T...
lpfc_check_fwlog_support(9)
NAME lpfc_check_fwlog_support - Check FW log support on the adapter SYNOPSIS int lpfc_check_fwlog_support (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. DESCRIPTION Check if FW Logging support by the adapter SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_send_mgmt_cm...
lpfc_check_inactive_vmid(9)
NAME lpfc_check_inactive_vmid - VMID inactivity checker SYNOPSIS void lpfc_check_inactive_vmid (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to hba context object. DESCRIPTION This function is called from the worker thread to determine if an entry in the VMID table can be released since there was no I/O ...
lpfc_check_inactive_vmid_one(9)
NAME lpfc_check_inactive_vmid_one - VMID inactivity checker for a vport SYNOPSIS void lpfc_check_inactive_vmid_one (struct lpfc_vport *vport ); ARGUMENTS vport Pointer to vport context object. DESCRIPTION This function checks for idle VMID entries related to a particular vport. If found unused/idle, free them ...
lpfc_check_next_fcf_pri_level(9)
NAME lpfc_check_next_fcf_pri_level - SYNOPSIS int lpfc_check_next_fcf_pri_level (struct lpfc_hba *phba ); ARGUMENTS phba pointer to the lpfc_hba struct for this port. This routine is called from the lpfc_sli4_fcf_rr_next_index_get routine when the rr_bmask is empty. The FCF indecies are put into the rr_bmask ...
lpfc_check_nlp_post_devloss(9)
NAME lpfc_check_nlp_post_devloss - Check to restore ndlp refcnt after devloss SYNOPSIS void lpfc_check_nlp_post_devloss (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp ); ARGUMENTS vport Pointer to vport object. ndlp Pointer to remote node object. DESCRIPTION If NLP_IN_RECOV_POST_DEV_LOSS...
lpfc_check_pci_resettable(9)
NAME lpfc_check_pci_resettable - Walks list of devices on pci_dev's bus to check if issuing a pci_bus_reset is possibly unsafe SYNOPSIS int lpfc_check_pci_resettable (struct lpfc_hba *phba ); ARGUMENTS phba lpfc_hba pointer. DESCRIPTION Walks the bus_list to ensure only PCI devices with Emulex vendor id, devi...
lpfc_check_pending_fcoe_event(9)
NAME lpfc_check_pending_fcoe_event - Check if there is pending fcoe event. SYNOPSIS int lpfc_check_pending_fcoe_event (struct lpfc_hba *phba , uint8_t unreg_fcf ); ARGUMENTS phba pointer to lpfc hba data structure. unreg_fcf Unregister FCF if FCF table need to be re-scaned. DESCRIPTION This function...
lpfc_chk_iocb_flg(9)
NAME lpfc_chk_iocb_flg - Test IOCB flag with lock held. SYNOPSIS int lpfc_chk_iocb_flg (struct lpfc_hba *phba , struct lpfc_iocbq *piocbq , uint32_t flag ); ARGUMENTS phba Pointer to HBA context object.. piocbq Pointer to command iocb. flag Flag to test. DESCRIPTION This routine gr...
lpfc_chk_tgt_mapped(9)
NAME lpfc_chk_tgt_mapped - SYNOPSIS int lpfc_chk_tgt_mapped (struct lpfc_vport *vport , struct fc_rport *rport ); ARGUMENTS vport The virtual port to check on rport Pointer to fc_rport data structure. DESCRIPTION This routine delays until the scsi target (aka rport) for the command exists (is pre...
lpfc_cleanup(9)
NAME lpfc_cleanup - Performs vport cleanups before deleting a vport SYNOPSIS void lpfc_cleanup (struct lpfc_vport *vport ); ARGUMENTS vport pointer to a virtual N_Port data structure. DESCRIPTION This routine performs the necessary cleanups before deleting the vport. It invokes the discovery state machine to ...
lpfc_cleanup_pending_mbox(9)
NAME lpfc_cleanup_pending_mbox - Free up vport discovery mailbox commands. SYNOPSIS void lpfc_cleanup_pending_mbox (struct lpfc_vport *vport ); ARGUMENTS vport pointer to vport data structure. DESCRIPTION This function iterate through the mailboxq and clean up all REG_LOGIN and REG_VPI mailbox commands associ...
lpfc_cleanup_rcv_buffers(9)
NAME lpfc_cleanup_rcv_buffers - Cleans up all outstanding receive sequences. SYNOPSIS void lpfc_cleanup_rcv_buffers (struct lpfc_vport *vport ); ARGUMENTS vport The vport that the received sequences were sent to. DESCRIPTION This function cleans up all outstanding received sequences. This is called by the driv...
lpfc_cleanup_vports_rrqs(9)
NAME lpfc_cleanup_vports_rrqs - Remove and clear the active RRQ for this vport. SYNOPSIS void lpfc_cleanup_vports_rrqs (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp ); ARGUMENTS vport Pointer to vport context object. ndlp Pointer to the lpfc_node_list structure. If ndlp is NULL Remo...
lpfc_clear_la(9)
NAME lpfc_clear_la - Prepare a mailbox command for clearing HBA link attention SYNOPSIS void lpfc_clear_la (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 cl...
lpfc_clr_rrq_active(9)
NAME lpfc_clr_rrq_active - Clears RRQ active bit in xri_bitmap. SYNOPSIS void lpfc_clr_rrq_active (struct lpfc_hba *phba , uint16_t xritag , struct lpfc_node_rrq *rrq ); ARGUMENTS phba Pointer to HBA context object. xritag xri used in this exchange. rrq The RRQ to be cleared. SEE ...
lpfc_cmd_iocb(9)
NAME lpfc_cmd_iocb - Get next command iocb entry in the ring SYNOPSIS IOCB_t * lpfc_cmd_iocb (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 returns pointer to next command io...
lpfc_cmf_setup(9)
NAME lpfc_cmf_setup - Initialize idle_stat tracking SYNOPSIS int lpfc_cmf_setup (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. DESCRIPTION This is called from HBA setup during driver load or when the HBA comes online. this does all the initialization to support CMF and MI. SEE ALSO K...
lpfc_cmf_start(9)
NAME lpfc_cmf_start - Start CMF processing SYNOPSIS void lpfc_cmf_start (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This is called when the link comes up or if CMF mode is turned OFF to Monitor or Managed. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_init.c ...
lpfc_cmf_stats_timer(9)
NAME lpfc_cmf_stats_timer - Save data into registered congestion buffer SYNOPSIS enum hrtimer_restart lpfc_cmf_stats_timer (struct hrtimer *timer ); ARGUMENTS timer Timer cookie to access lpfc private data DESCRIPTION Save the congestion event data every minute. On the hour collapse all the minute data into h...
lpfc_cmf_stop(9)
NAME lpfc_cmf_stop - Stop CMF processing SYNOPSIS void lpfc_cmf_stop (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This is called when the link goes down or if CMF mode is turned OFF. It is also called when going offline or unloaded just before the congestion info b...
lpfc_cmf_sync_cmpl(9)
NAME lpfc_cmf_sync_cmpl - Process a CMF_SYNC_WQE cmpl SYNOPSIS void lpfc_cmf_sync_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 Pointer to driv...
lpfc_cmf_timer(9)
NAME lpfc_cmf_timer - This is the timer function for one congestion rate interval. SYNOPSIS enum hrtimer_restart lpfc_cmf_timer (struct hrtimer *timer ); ARGUMENTS timer Pointer to the high resolution timer that expired SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_init.c lpfc_config_port_prep(9), lpfc...
lpfc_cmpl_ct_disc_fdmi(9)
NAME lpfc_cmpl_ct_disc_fdmi - Handle a discovery FDMI completion SYNOPSIS void lpfc_cmpl_ct_disc_fdmi (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba Pointer to HBA context object. cmdiocb Pointer to the command IOCBQ. rspiocb Pointer t...
lpfc_cmpl_els_adisc(9)
NAME lpfc_cmpl_els_adisc - Completion callback function for adisc SYNOPSIS void lpfc_cmpl_els_adisc (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. rsp...
lpfc_cmpl_els_cmd(9)
NAME lpfc_cmpl_els_cmd - Completion callback function for generic els command SYNOPSIS void lpfc_cmpl_els_cmd (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. ...
lpfc_cmpl_els_disc_cmd(9)
NAME lpfc_cmpl_els_disc_cmd - Completion callback function for Discovery ELS cmd SYNOPSIS void lpfc_cmpl_els_disc_cmd (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data stru...
lpfc_cmpl_els_edc(9)
NAME lpfc_cmpl_els_edc - Completion callback function for EDC SYNOPSIS void lpfc_cmpl_els_edc (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. rspiocb ...
lpfc_cmpl_els_fdisc(9)
NAME lpfc_cmpl_els_fdisc - Completion function for fdisc iocb command SYNOPSIS void lpfc_cmpl_els_fdisc (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. ...
lpfc_cmpl_els_flogi(9)
NAME lpfc_cmpl_els_flogi - Completion callback function for flogi SYNOPSIS void lpfc_cmpl_els_flogi (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. rsp...
lpfc_cmpl_els_flogi_fabric(9)
NAME lpfc_cmpl_els_flogi_fabric - Completion function for flogi to a fabric port SYNOPSIS int lpfc_cmpl_els_flogi_fabric (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp , struct serv_parm *sp , uint32_t ulp_word4 ); ARGUMENTS vport pointer to a host virtual N_Port data structure. ndlp poin...
lpfc_cmpl_els_flogi_nport(9)
NAME lpfc_cmpl_els_flogi_nport - Completion function for flogi to an N_Port SYNOPSIS int lpfc_cmpl_els_flogi_nport (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp , struct serv_parm *sp ); ARGUMENTS vport pointer to a host virtual N_Port data structure. ndlp pointer to a node-list data str...
lpfc_cmpl_els_link_down(9)
NAME lpfc_cmpl_els_link_down - Completion callback function for ELS command aborted during a link down SYNOPSIS void lpfc_cmpl_els_link_down (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc...
lpfc_cmpl_els_logo(9)
NAME lpfc_cmpl_els_logo - Completion callback function for logo SYNOPSIS void lpfc_cmpl_els_logo (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. rspioc...
lpfc_cmpl_els_logo_acc(9)
NAME lpfc_cmpl_els_logo_acc - Completion callback function to logo acc response SYNOPSIS void lpfc_cmpl_els_logo_acc (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data struc...
lpfc_cmpl_els_npiv_logo(9)
NAME lpfc_cmpl_els_npiv_logo - Completion function with vport logo SYNOPSIS void lpfc_cmpl_els_npiv_logo (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. ...
lpfc_cmpl_els_plogi(9)
NAME lpfc_cmpl_els_plogi - Completion callback function for plogi SYNOPSIS void lpfc_cmpl_els_plogi (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. rsp...
lpfc_cmpl_els_prli(9)
NAME lpfc_cmpl_els_prli - Completion callback function for prli SYNOPSIS void lpfc_cmpl_els_prli (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. rspioc...
lpfc_cmpl_els_rrq(9)
NAME lpfc_cmpl_els_rrq - Completion handled for els RRQs. SYNOPSIS void lpfc_cmpl_els_rrq (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. rspiocb p...
lpfc_cmpl_els_rsp(9)
NAME lpfc_cmpl_els_rsp - Completion callback function for els response iocb cmd SYNOPSIS void lpfc_cmpl_els_rsp (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure....
lpfc_cmpl_fabric_iocb(9)
NAME lpfc_cmpl_fabric_iocb - Completion callback function for fabric iocb SYNOPSIS void lpfc_cmpl_fabric_iocb (struct lpfc_hba *phba , struct lpfc_iocbq *cmdiocb , struct lpfc_iocbq *rspiocb ); ARGUMENTS phba pointer to lpfc hba data structure. cmdiocb pointer to lpfc command iocb data structure. ...
lpfc_cmpl_reg_new_vport(9)
NAME lpfc_cmpl_reg_new_vport - Completion callback function to register new vport SYNOPSIS void lpfc_cmpl_reg_new_vport (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. DESCRIP...
lpfc_complete_unsol_iocb(9)
NAME lpfc_complete_unsol_iocb - Complete an unsolicited sequence SYNOPSIS int lpfc_complete_unsol_iocb (struct lpfc_hba *phba , struct lpfc_sli_ring *pring , struct lpfc_iocbq *saveq , uint32_t fch_r_ctl , uint32_t fch_type ); ARGUMENTS phba Pointer to HBA context object. pring Pointer to driver ...
lpfc_config_async(9)
NAME lpfc_config_async - Prepare a mailbox command for enabling HBA async event SYNOPSIS void lpfc_config_async (struct lpfc_hba * phba , LPFC_MBOXQ_t * pmb , uint32_t ring ); ARGUMENTS phba pointer to lpfc hba data structure. pmb pointer to the driver internal queue element for mailbox command...
lpfc_config_async_cmpl(9)
NAME lpfc_config_async_cmpl - Completion handler for config async event mbox cmd SYNOPSIS void lpfc_config_async_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. DESC...
lpfc_config_hbq(9)
NAME lpfc_config_hbq - Prepare a mailbox command for configuring an HBQ SYNOPSIS void lpfc_config_hbq (struct lpfc_hba *phba , uint32_t id , struct lpfc_hbq_init *hbq_desc , uint32_t hbq_entry_index , LPFC_MBOXQ_t *pmb ); ARGUMENTS phba pointer to lpfc hba data structure. id HBQ identifier. ...
lpfc_config_link(9)
NAME lpfc_config_link - Prepare a mailbox command for configuring link on a HBA SYNOPSIS void lpfc_config_link (struct lpfc_hba * phba , LPFC_MBOXQ_t * pmb ); ARGUMENTS phba pointer to lpfc hba data structure. pmb pointer to the driver internal queue element for mailbox command. DESCRIPTION Th...
lpfc_config_msi(9)
NAME lpfc_config_msi - Prepare a mailbox command for configuring msi-x SYNOPSIS int lpfc_config_msi (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 configure M...
lpfc_config_pcb_setup(9)
NAME lpfc_config_pcb_setup - Set up IOCB rings in the Port Control Block (PCB) SYNOPSIS void lpfc_config_pcb_setup (struct lpfc_hba * phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine sets up and initializes the IOCB rings in the Port Control Block (PCB). SEE ALSO Kernel fi...
lpfc_config_port(9)
NAME lpfc_config_port - Prepare a mailbox command for configuring port SYNOPSIS void lpfc_config_port (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 configur...
lpfc_config_port_post(9)
NAME lpfc_config_port_post - Perform lpfc initialization after config port SYNOPSIS int lpfc_config_port_post (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine will do LPFC initialization after the CONFIG_PORT mailbox command call. It performs all intern...
lpfc_config_port_prep(9)
NAME lpfc_config_port_prep - Perform lpfc initialization prior to config port SYNOPSIS int lpfc_config_port_prep (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine will do LPFC initialization prior to issuing the CONFIG_PORT mailbox command. It retrieves the...
lpfc_config_ring(9)
NAME lpfc_config_ring - Prepare a mailbox command for configuring an IOCB ring SYNOPSIS void lpfc_config_ring (struct lpfc_hba * phba , int ring , LPFC_MBOXQ_t * pmb ); ARGUMENTS phba pointer to lpfc hba data structure. ring ring number/index pmb pointer to the driver internal qu...
lpfc_copy_fcf_record(9)
NAME lpfc_copy_fcf_record - Copy fcf information to lpfc_hba. SYNOPSIS void lpfc_copy_fcf_record (struct lpfc_fcf_rec *fcf_rec , struct fcf_record *new_fcf_record ); ARGUMENTS fcf_rec pointer to driver fcf record. new_fcf_record pointer to fcf record. DESCRIPTION This routine copies th...
lpfc_cpu_affinity_check(9)
NAME lpfc_cpu_affinity_check - Check vector CPU affinity mappings SYNOPSIS void lpfc_cpu_affinity_check (struct lpfc_hba *phba , int vectors ); ARGUMENTS phba pointer to lpfc hba data structure. vectors number of msix vectors allocated. DESCRIPTION The routine will figure out the CPU affinity assi...
lpfc_cpu_map_array_init(9)
NAME lpfc_cpu_map_array_init - Initialize cpu_map structure SYNOPSIS void lpfc_cpu_map_array_init (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION The routine initializes the cpu_map array structure SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_init.c lpfc_config...
lpfc_cpuhp_get_eq(9)
NAME lpfc_cpuhp_get_eq - SYNOPSIS int lpfc_cpuhp_get_eq (struct lpfc_hba *phba , unsigned int cpu , struct list_head *eqlist ); ARGUMENTS phba pointer to lpfc hba data structure. cpu cpu going offline eqlist eq list to append to SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_init...
lpfc_cpumask_irq_mode_init(9)
NAME lpfc_cpumask_irq_mode_init - initalizes cpumask of phba based on irq_chann_mode SYNOPSIS void lpfc_cpumask_irq_mode_init (struct lpfc_hba *phba ); ARGUMENTS phba Pointer to HBA context object. SEE ALSO Kernel file ./drivers/scsi/lpfc/lpfc_attr.c lpfc_jedec_to_ascii(9), lpfc_drvr_version_show(9), lpf...
lpfc_cq_create(9)
NAME lpfc_cq_create - Create a Completion Queue on the HBA SYNOPSIS int lpfc_cq_create (struct lpfc_hba *phba , struct lpfc_queue *cq , struct lpfc_queue *eq , uint32_t type , uint32_t subtype ); ARGUMENTS phba HBA structure that indicates port to create a queue on. cq The queue structure to u...
lpfc_cq_create_set(9)
NAME lpfc_cq_create_set - Create a set of Completion Queues on the HBA for MRQ SYNOPSIS int lpfc_cq_create_set (struct lpfc_hba *phba , struct lpfc_queue **cqp , struct lpfc_sli4_hdw_queue *hdwq , uint32_t type , uint32_t subtype ); ARGUMENTS phba HBA structure that indicates port to create a queue on. ...
lpfc_cq_destroy(9)
NAME lpfc_cq_destroy - Destroy a Completion Queue on the HBA SYNOPSIS int lpfc_cq_destroy (struct lpfc_hba *phba , struct lpfc_queue *cq ); ARGUMENTS phba HBA structure that indicates port to destroy a queue on. cq The queue structure associated with the queue to destroy. DESCRIPTION This fu...
lpfc_cq_max_proc_limit_init(9)
NAME lpfc_cq_max_proc_limit_init - Set the initial cq max_proc_limit SYNOPSIS int lpfc_cq_max_proc_limit_init (struct lpfc_hba *phba , int val ); ARGUMENTS phba lpfc_hba pointer. val entry limit DESCRIPTION If val is in a valid range, then initialize the adapter's maximum value. RETURN Always...
lpfc_cq_max_proc_limit_store(9)
NAME lpfc_cq_max_proc_limit_store - SYNOPSIS ssize_t lpfc_cq_max_proc_limit_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev class device that is converted into a Scsi_host. attr device attribute, not used. buf string wi...
lpfc_create_bootstrap_mbox(9)
NAME lpfc_create_bootstrap_mbox - Create the bootstrap mailbox SYNOPSIS int lpfc_create_bootstrap_mbox (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine is invoked to create the bootstrap mailbox region consistent with the SLI-4 interface spec. This routi...
lpfc_create_device_data(9)
NAME lpfc_create_device_data - creates and initializes device data structure for OAS SYNOPSIS struct lpfc_device_data* lpfc_create_device_data (struct lpfc_hba *phba , struct lpfc_name *vport_wwpn , struct lpfc_name *target_wwpn , uint64_t lun , uint32_t pri , bool atomic_create ); ARGUMENTS phba Pointer to ho...
lpfc_create_expedite_pool(9)
NAME lpfc_create_expedite_pool - create expedite pool SYNOPSIS void lpfc_create_expedite_pool (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine moves a batch of XRIs from lpfc_io_buf_list_put of HWQ 0 to expedite pool. Mark them as expedite. SEE ALSO Kernel...
lpfc_create_multixri_pools(9)
NAME lpfc_create_multixri_pools - create multi-XRI pools SYNOPSIS void lpfc_create_multixri_pools (struct lpfc_hba *phba ); ARGUMENTS phba pointer to lpfc hba data structure. DESCRIPTION This routine initialize public, private per HWQ. Then, move XRIs from lpfc_io_buf_list_put to public pool. High and low wat...
lpfc_create_port(9)
NAME lpfc_create_port - Create an FC port SYNOPSIS struct lpfc_vport * lpfc_create_port (struct lpfc_hba *phba , int instance , struct device *dev ); ARGUMENTS phba pointer to lpfc hba data structure. instance a unique integer ID to this FC port. dev pointer to the device data struct...