Searched refs:xri (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_bsg.h123 /* Used for menlo command or menlo data. The xri is only used for menlo data */
126 uint32_t xri; member in struct:menlo_command
130 uint32_t xri; /* return the xri of the iocb exchange */ member in struct:menlo_response
H A Dlpfc_sli.c633 * @xritag: xri used in this exchange.
721 * @xri: The xri used in the exchange.
725 * rrq = rrq for this xri and target.
728 lpfc_get_active_rrq(struct lpfc_vport *vport, uint16_t xri, uint32_t did) lpfc_get_active_rrq() argument
739 if (rrq->vport == vport && rrq->xritag == xri && lpfc_get_active_rrq()
790 * @xritag the xri in the bitmap to test.
793 * returns 0 = rrq not active for this xri
794 * 1 = rrq is valid for this xri.
814 * @xritag: xri used in this exchange.
822 * returns 0 rrq actived for this xri
864 "3155 Unable to allocate RRQ xri:0x%x rxid:0x%x" lpfc_set_rrq_active()
891 "2921 Can't set rrq active xri:0x%x rxid:0x%x" lpfc_set_rrq_active()
938 /* This xri has an rrq outstanding for this DID. __lpfc_sli_get_sglq()
939 * put it back in the list and get another xri. __lpfc_sli_get_sglq()
2779 * exchange busy so sgl (xri) lpfc_sli_process_sol_iocb()
2781 * the abort xri is received lpfc_sli_process_sol_iocb()
2812 * sgl (xri) process. lpfc_sli_process_sol_iocb()
5244 * @type - the extent type (rpi, xri, vfi, vpi).
5825 "xri:%d\n", count); lpfc_sli4_alloc_resource_identifiers()
6091 * buffer sgl with non-contiguous xri, if any, it shall use embedded SGL post
6125 /* a hole in xri block, form a sgl posting block */ lpfc_sli4_repost_els_sgl_list()
6201 /* don't reset xirtag due to hole in xri block */ lpfc_sli4_repost_els_sgl_list()
6375 /* Reset the DFT_LUN_Q_DEPTH to (max xri >> 3) */ lpfc_sli4_hba_setup()
6444 * Allocate all resources (xri,rpi,vpi,vfi) now. Subsequent lpfc_sli4_hba_setup()
6494 /* update host els and scsi xri-sgl sizes and mappings */ lpfc_sli4_hba_setup()
6498 "1400 Failed to update xri-sgl size and " lpfc_sli4_hba_setup()
8315 /* word6 iocb=ctxt_tag/io_tag wqe=ctxt_tag/xri */ lpfc_sli4_iocb2wqe()
9001 "vpi %d rpi %d xri x%x status 0x%x parameter x%x\n", lpfc_sli4_abts_err_handler()
9803 "0339 Abort xri x%x, original iotag x%x, " lpfc_sli_abort_iotag_issue()
11382 * lpfc_sli4_fcp_xri_abort_event_proc - Process fcp xri abort event
11392 /* First, declare the fcp xri abort event has been handled */ lpfc_sli4_fcp_xri_abort_event_proc()
11396 /* Now, handle all the fcp xri abort events */ lpfc_sli4_fcp_xri_abort_event_proc()
11411 * lpfc_sli4_els_xri_abort_event_proc - Process els xri abort event
11415 * SLI4 els abort xri events.
11421 /* First, declare the els xri abort event has been handled */ lpfc_sli4_els_xri_abort_event_proc()
11425 /* Now, handle all the els xri abort events */ lpfc_sli4_els_xri_abort_event_proc()
11858 * lpfc_sli4_sp_handle_abort_xri_wcqe - Handle a xri abort event
11884 /* Move the CQE into the proper xri abort event list */ lpfc_sli4_sp_handle_abort_xri_wcqe()
11891 /* Set the fcp xri abort event flag */ lpfc_sli4_sp_handle_abort_xri_wcqe()
11900 /* Set the els xri abort event flag */ lpfc_sli4_sp_handle_abort_xri_wcqe()
14288 unsigned long xri; lpfc_sli4_alloc_xri() local
14291 * Fetch the next logical xri. Because this index is logical, lpfc_sli4_alloc_xri()
14295 xri = find_next_zero_bit(phba->sli4_hba.xri_bmask, lpfc_sli4_alloc_xri()
14297 if (xri >= phba->sli4_hba.max_cfg_param.max_xri) { lpfc_sli4_alloc_xri()
14301 set_bit(xri, phba->sli4_hba.xri_bmask); lpfc_sli4_alloc_xri()
14305 return xri; lpfc_sli4_alloc_xri()
14309 * lpfc_sli4_free_xri - Release an xri for reuse.
14312 * This routine is invoked to release an xri to the pool of
14316 __lpfc_sli4_free_xri(struct lpfc_hba *phba, int xri) __lpfc_sli4_free_xri() argument
14318 if (test_and_clear_bit(xri, phba->sli4_hba.xri_bmask)) { __lpfc_sli4_free_xri()
14324 * lpfc_sli4_free_xri - Release an xri for reuse.
14327 * This routine is invoked to release an xri to the pool of
14331 lpfc_sli4_free_xri(struct lpfc_hba *phba, int xri) lpfc_sli4_free_xri() argument
14334 __lpfc_sli4_free_xri(phba, xri); lpfc_sli4_free_xri()
15023 * lpfc_sli4_xri_inrange - check xri is in range of xris owned by driver.
15025 * @xri: xri id in transaction.
15027 * This function validates the xri maps to the known range of XRIs allocated an
15032 uint16_t xri) lpfc_sli4_xri_inrange()
15037 if (xri == phba->sli4_hba.xri_ids[i]) lpfc_sli4_xri_inrange()
15058 uint16_t oxid, rxid, xri, lxri; lpfc_sli4_seq_abort_rsp() local
15126 xri = oxid; lpfc_sli4_seq_abort_rsp()
15128 xri = rxid; lpfc_sli4_seq_abort_rsp()
15129 lxri = lpfc_sli4_xri_inrange(phba, xri); lpfc_sli4_seq_abort_rsp()
15132 (xri == oxid) ? rxid : oxid, 0); lpfc_sli4_seq_abort_rsp()
15133 /* For BA_ABTS from exchange responder, if the logical xri with lpfc_sli4_seq_abort_rsp()
15182 "xri x%x, Data x%x\n", lpfc_sli4_seq_abort_rsp()
17003 /* The xri and iocb resources secured, lpfc_drain_txq()
17021 "xri 0x%x\n", lpfc_drain_txq()
15031 lpfc_sli4_xri_inrange(struct lpfc_hba *phba, uint16_t xri) lpfc_sli4_xri_inrange() argument
H A Dlpfc_els.c1742 * clear the xri's bit in the ndlp's xri_bitmap. If the ndlp does not
4063 "xri x%x, did x%x, nlp_flag x%x, nlp_state x%x, " lpfc_els_rsp_reject()
4127 "0130 Xmit ADISC ACC response iotag x%x xri: " lpfc_els_rsp_adisc_acc()
4203 "0131 Xmit PRLI ACC response tag x%x xri x%x, " lpfc_els_rsp_prli_acc()
4307 "0132 Xmit RNID ACC response tag x%x xri x%x\n", lpfc_els_rsp_rnid_acc()
4368 uint16_t xri; lpfc_els_clear_rrq() local
4390 xri = bf_get(rrq_oxid, rrq); lpfc_els_clear_rrq()
4392 xri = rxid; lpfc_els_clear_rrq()
4393 prrq = lpfc_get_active_rrq(vport, xri, ndlp->nlp_DID); lpfc_els_clear_rrq()
4395 lpfc_clr_rrq_active(phba, xri, prrq); lpfc_els_clear_rrq()
4437 "2876 Xmit ECHO ACC response tag x%x xri x%x\n", lpfc_els_rsp_echo_acc()
4804 "2171 Xmit RDP response tag x%x xri x%x, " lpfc_els_rdp_cmpl()
6104 "2874 Xmit ELS RLS ACC response tag x%x xri x%x, " lpfc_els_rsp_rls_acc()
6199 "0118 Xmit ELS RPS ACC response tag x%x xri x%x, " lpfc_els_rsp_rps_acc()
6321 /* use the command's xri in the response */ lpfc_els_rcv_rtv()
6336 "2875 Xmit ELS RTV ACC response tag x%x xri x%x, " lpfc_els_rcv_rtv()
6507 * still active for the xri. If this function returns a failure then
6582 "xri x%x, did x%x, nlp_flag x%x, nlp_state x%x, " lpfc_els_rsp_rpl_acc()
8805 * lpfc_sli4_els_xri_aborted - Slow-path process of els xri abort
8807 * @axri: pointer to the els xri abort wcqe structure.
8810 * ELS aborted xri.
8816 uint16_t xri = bf_get(lpfc_wcqe_xa_xri, axri); lpfc_sli4_els_xri_aborted() local
8829 if (sglq_entry->sli4_xritag == xri) { lpfc_sli4_els_xri_aborted()
8851 lxri = lpfc_sli4_xri_inrange(phba, xri); lpfc_sli4_els_xri_aborted()
8858 if (!sglq_entry || (sglq_entry->sli4_xritag != xri)) { lpfc_sli4_els_xri_aborted()
H A Dlpfc_scsi.c540 * lpfc_sli4_fcp_xri_aborted - Fast-path process of fcp xri abort
542 * @axri: pointer to the fcp xri abort wcqe structure.
545 * FCP aborted xri.
551 uint16_t xri = bf_get(lpfc_wcqe_xa_xri, axri); lpfc_sli4_fcp_xri_aborted() local
565 if (psb->cur_iocbq.sli4_xritag == xri) { lpfc_sli4_fcp_xri_aborted()
596 if (iocbq->sli4_xritag != xri) lpfc_sli4_fcp_xri_aborted()
617 * For single SCSI buffer sgl with non-contiguous xri, if any, it shall use
648 /* a hole in xri block, form a sgl posting block */ list_for_each_entry_safe()
674 /* last single sgl with non-contiguous xri */ list_for_each_entry_safe()
706 /* don't reset xirtag due to hole in xri block */ list_for_each_entry_safe()
4832 "for abortng I/O (xri:x%x) to complete: " lpfc_abort_handler()
H A Dlpfc_init.c475 /* Reset the DFT_HBA_Q_DEPTH to the max xri */ lpfc_config_port_post()
484 /* Reset the DFT_LUN_Q_DEPTH to (max xri >> 3) */ lpfc_config_port_post()
3079 * lpfc_sli4_xri_sgl_update - update xri-sgl sizing and mapping
3102 * update on pci function's els xri-sgl list lpfc_sli4_xri_sgl_update()
3106 /* els xri-sgl expanded */ lpfc_sli4_xri_sgl_update()
3109 "3157 ELS xri-sgl count increased from " lpfc_sli4_xri_sgl_update()
3145 /* els xri-sgl shrinked */ lpfc_sli4_xri_sgl_update()
3148 "3158 ELS xri-sgl count decreased from " lpfc_sli4_xri_sgl_update()
3173 "3163 ELS xri-sgl count unchanged: %d\n", lpfc_sli4_xri_sgl_update()
3185 "2400 Failed to allocate xri for " lpfc_sli4_xri_sgl_update()
3195 * update on pci function's allocated scsi xri-sgl list lpfc_sli4_xri_sgl_update()
3204 "2401 Current allocated SCSI xri-sgl count:%d, " lpfc_sli4_xri_sgl_update()
3205 "maximum SCSI xri count:%d\n", lpfc_sli4_xri_sgl_update()
3217 /* max scsi xri shrinked below the allocated scsi buffers */ lpfc_sli4_xri_sgl_update()
3242 "2560 Failed to allocate xri for " lpfc_sli4_xri_sgl_update()
3324 * max xri value determined in hba setup. lpfc_create_port()
5887 /* els xri-sgl book keeping */ lpfc_init_sgl_list()
5890 /* scsi xri-buffer book keeping */ lpfc_init_sgl_list()
6942 /* Reset the DFT_HBA_Q_DEPTH to the max xri */ lpfc_sli4_read_config()
H A Dlpfc_sli4.h632 uint16_t sli4_lxritag; /* logical pre-assigned xri. */
H A Dlpfc_bsg.c4967 /* always return the xri, this would be used in the case lpfc_bsg_menlo_cmd_cmp()
4974 menlo_resp->xri = rsp->ulpContext; lpfc_bsg_menlo_cmd_cmp()
5022 * all the command completions will return the xri for the command.
5024 * supplied in the menlo request header xri field.
5155 cmd->ulpContext = menlo_cmd->xri; lpfc_menlo_cmd()
H A Dlpfc_attr.c1132 * @mxri: max xri count.
1133 * @axri: available xri count.
1291 * lpfc_max_xri_show - Return maximum xri
1294 * @buf: on return contains the maximum xri count in decimal or "Unknown".
1322 * @buf: on return contains the used xri count in decimal or "Unknown".
H A Dlpfc_hw.h2551 uint16_t xri; member in struct:__anon9652::__anon9653
2553 uint16_t xri;
3846 A_MXRI64 amxri; /* abort multiple xri command overlay */

Completed in 535 milliseconds