• Home
  • Raw
  • Download

Lines Matching full:nvme

54 /* NVME initiator-based functions */
69 /* Setup WQE templates for NVME IOs */
238 * @lpfc_pnvme: Pointer to the driver's nvme instance data
274 * NVME qidx == 0 is the admin queue, so both admin queue in lpfc_nvme_create_queue()
345 * @remoteport: Pointer to an nvme transport remoteport instance.
347 * This is a template downcall. NVME transport calls this function
370 * transport. Remove the ndlp reference for the NVME transport before in lpfc_nvme_remoteport_delete()
399 * lpfc_nvme_handle_lsreq - Process an unsolicited NVME LS request
401 * @axchg: pointer to exchange context for the NVME LS request
403 * This routine is used for processing an asychronously received NVME LS
405 * to the nvme-fc transport via nvme_fc_rcv_ls_req().
443 "6205 NVME Unsol rcv: sz %d rc %d: %08x %08x %08x " in lpfc_nvme_handle_lsreq()
456 * __lpfc_nvme_ls_req_cmp - Generic completion handler for a NVME
463 * This function is the generic completion handler for NVME LS requests.
647 lpfc_nvmeio_data(phba, "NVME LS XMIT: xri x%x iotag x%x to x%06x\n", in lpfc_nvme_gen_req()
673 * __lpfc_nvme_ls_req - Generic service routine to issue an NVME LS request
729 * in the nvme-fc layer. in __lpfc_nvme_ls_req()
791 * lpfc_nvme_ls_req - Issue an NVME Link Service request
797 * from the nvme_fc transport to a remote nvme-aware port.
834 * NVME LS request
931 * lpfc_nvme_ls_abort - Abort a prior NVME LS request
936 * Driver registers this routine to abort a NVME LS request that is
966 /* Fix up the existing sgls for NVME IO. */
979 * the cmd size to match NVME's 96 bytes and fix in lpfc_nvme_adj_fcp_sgls()
987 * match NVME. NVME sends 96 bytes. Also, use the in lpfc_nvme_adj_fcp_sgls()
988 * nvme commands command and response dma addresses in lpfc_nvme_adj_fcp_sgls()
998 /* Word 0-2 - NVME CMND IU (embedded payload) */ in lpfc_nvme_adj_fcp_sgls()
1008 * WQE words 16-30 get the NVME CMD IU payload in lpfc_nvme_adj_fcp_sgls()
1038 /* Word 0-2 - NVME CMND IU Inline BDE */ in lpfc_nvme_adj_fcp_sgls()
1065 * lpfc_nvme_io_cmd_wqe_cmpl - Complete an NVME-over-FCP IO
1132 lpfc_nvmeio_data(phba, "NVME FCP CMPL: xri x%x stat x%x parm x%x\n", in lpfc_nvme_io_cmd_wqe_cmpl()
1142 "6062 Ignoring NVME cmpl. No ndlp\n"); in lpfc_nvme_io_cmd_wqe_cmpl()
1153 * code is not needed in the next NVME Transport drop. in lpfc_nvme_io_cmd_wqe_cmpl()
1166 /* Now lets build the NVME ERSP IU */ in lpfc_nvme_io_cmd_wqe_cmpl()
1188 /* For NVME, the only failure path that results in an in lpfc_nvme_io_cmd_wqe_cmpl()
1197 * b. NVME ERSP in lpfc_nvme_io_cmd_wqe_cmpl()
1213 "6081 NVME Completion Protocol Error: " in lpfc_nvme_io_cmd_wqe_cmpl()
1226 "nvme cmd x%px, xri x%x, " in lpfc_nvme_io_cmd_wqe_cmpl()
1235 "6072 NVME Completion Error: xri %x " in lpfc_nvme_io_cmd_wqe_cmpl()
1277 /* NVME targets need completion held off until the abort exchange in lpfc_nvme_io_cmd_wqe_cmpl()
1278 * completes unless the NVME Rport is getting unregistered. in lpfc_nvme_io_cmd_wqe_cmpl()
1296 * lpfc_nvme_prep_io_cmd - Issue an NVME-over-FCP IO
1411 * lpfc_nvme_prep_io_dma - Issue an NVME-over-FCP IO
1461 "NVME Transport. Max %d, " in lpfc_nvme_prep_io_dma()
1472 * single nvme command. Just run through the seg_cnt and format in lpfc_nvme_prep_io_dma()
1584 "6063 NVME DMA Prep Err: sg_cnt %d " in lpfc_nvme_prep_io_dma()
1594 * lpfc_nvme_fcp_io_submit - Issue an NVME-over-FCP IO
1595 * @lpfc_pnvme: Pointer to the driver's nvme instance data
1598 * @lpfc_nvme_fcreq: IO request from nvme fc to driver.
1708 /* Currently only NVME Keep alive commands should be expedited in lpfc_nvme_fcp_io_submit()
1779 * the transport. We are trusting the upper NVME layers know which in lpfc_nvme_fcp_io_submit()
1798 lpfc_nvmeio_data(phba, "NVME FCP XMIT: xri x%x idx %d to %06x\n", in lpfc_nvme_fcp_io_submit()
1849 * lpfc_nvme_abort_fcreq_cmpl - Complete an NVME FCP abort request.
1854 * This is the callback function for any NVME FCP IO that was aborted.
1877 * lpfc_nvme_fcp_abort - Issue an NVME-over-FCP ABTS
1878 * @lpfc_pnvme: Pointer to the driver's nvme instance data
1881 * @lpfc_nvme_fcreq: IO request from nvme fc to driver.
1884 * Driver registers this routine as its nvme request io abort handler. This
1948 "NVME Req now. hba_flag x%x\n", in lpfc_nvme_fcp_abort()
1957 "6140 NVME IO req has no matching lpfc nvme " in lpfc_nvme_fcp_abort()
1963 "6141 lpfc NVME IO req has no nvme_fcreq " in lpfc_nvme_fcp_abort()
1974 * state must match the nvme_fcreq passed by the nvme in lpfc_nvme_fcp_abort()
1976 * has already completed the NVME IO and the nvme transport in lpfc_nvme_fcp_abort()
1981 "6143 NVME req mismatch: " in lpfc_nvme_fcp_abort()
1992 "6142 NVME IO req x%px not queued - skipping " in lpfc_nvme_fcp_abort()
1999 lpfc_nvmeio_data(phba, "NVME FCP ABORT: xri x%x idx %d to %06x\n", in lpfc_nvme_fcp_abort()
2006 "6144 Outstanding NVME I/O Abort Request " in lpfc_nvme_fcp_abort()
2046 "6138 Transport Abort NVME Request Issued for " in lpfc_nvme_fcp_abort()
2058 /* Declare and initialization an instance of the FC NVME template. */
2086 * lpfc_get_nvme_buf - Get a nvme buffer from io_buf_list of the HBA
2089 * This routine removes a nvme buffer from head of @hdwq io_buf_list
2121 * from the NVME Layer to be sent. in lpfc_get_nvme_buf()
2147 * lpfc_release_nvme_buf: Return a nvme buffer back to hba nvme buf list.
2149 * @lpfc_ncmd: The nvme buffer which is being released.
2151 * This routine releases @lpfc_ncmd nvme buffer by adding it to tail of @phba
2152 * lpfc_io_buf_list list. For SLI4 XRI's are tied to the nvme buffer
2186 * lpfc_nvme_create_localport - Create/Bind an nvme localport instance.
2189 * This routine is invoked to create an nvme localport instance to bind
2199 * other values - from nvme registration upcall
2241 "NVME port num %d, localP x%px, private " in lpfc_nvme_create_localport()
2276 * The driver has to wait for the host nvme transport to callback
2333 * lpfc_nvme_destroy_localport - Destroy lpfc_nvme bound to nvme transport.
2334 * @pnvme: pointer to lpfc nvme data structure.
2337 * The lport memory was allocated by the nvme fc transport and is
2358 "6011 Destroying NVME localport x%px\n", in lpfc_nvme_destroy_localport()
2402 "6710 Update NVME fail. No localport\n"); in lpfc_nvme_update_localport()
2408 "6171 Update NVME fail. localP x%px, No lport\n", in lpfc_nvme_update_localport()
2413 "6012 Update NVME lport x%px did x%x\n", in lpfc_nvme_update_localport()
2443 "6006 Register NVME PORT. DID x%06x nlptype x%x\n", in lpfc_nvme_register_port()
2452 /* NVME rports are not preserved across devloss. in lpfc_nvme_register_port()
2556 * If the ndlp represents an NVME Target, that we are logged into,
2557 * ping the NVME FC Transport layer to initiate a device rescan
2582 /* Only rescan if we are an NVME target in the MAPPED state */ in lpfc_nvme_rescan_port()
2588 "6172 NVME rescanned DID x%06x " in lpfc_nvme_rescan_port()
2595 "6169 Skip NVME Rport Rescan, NVME remoteport " in lpfc_nvme_rescan_port()
2643 "6033 Unreg nvme remoteport x%px, portname x%llx, " in lpfc_nvme_unregister_port()
2649 /* Sanity check ndlp type. Only call for NVME ports. Don't in lpfc_nvme_unregister_port()
2654 /* No concern about the role change on the nvme remoteport. in lpfc_nvme_unregister_port()
2659 /* Don't let the host nvme transport keep sending keep-alives in lpfc_nvme_unregister_port()
2671 "6167 NVME unregister failed %d " in lpfc_nvme_unregister_port()
2686 * lpfc_sli4_nvme_xri_aborted - Fast-path process of NVME xri abort
2689 * @lpfc_ncmd: The nvme job structure for the request being aborted.
2692 * NVME aborted xri. Aborted NVME IO commands are completed to the transport
2714 /* Aborted NVME commands are required to not complete in lpfc_sli4_nvme_xri_aborted()
2727 * lpfc_nvme_wait_for_io_drain - Wait for all NVME wqes to complete
2730 * This function flushes all wqes in the nvme rings and frees all resources
2766 "6178 NVME IO not empty, " in lpfc_nvme_wait_for_io_drain()
2802 "6194 NVME Cancel xri %x\n", in lpfc_nvme_cancel_iocb()