Lines Matching refs:pwqe
18987 union lpfc_wqe128 *pwqe; in lpfc_sli4_handle_mds_loopback() local
19028 pwqe = &iocbq->wqe; in lpfc_sli4_handle_mds_loopback()
19030 pwqe->gen_req.bde.addrHigh = putPaddrHigh(pcmd->phys); in lpfc_sli4_handle_mds_loopback()
19031 pwqe->gen_req.bde.addrLow = putPaddrLow(pcmd->phys); in lpfc_sli4_handle_mds_loopback()
19032 pwqe->gen_req.bde.tus.f.bdeSize = frame_len; in lpfc_sli4_handle_mds_loopback()
19033 pwqe->gen_req.bde.tus.f.bdeFlags = BUFF_TYPE_BDE_64; in lpfc_sli4_handle_mds_loopback()
19035 pwqe->send_frame.frame_len = frame_len; in lpfc_sli4_handle_mds_loopback()
19036 pwqe->send_frame.fc_hdr_wd0 = be32_to_cpu(*((__be32 *)fc_hdr)); in lpfc_sli4_handle_mds_loopback()
19037 pwqe->send_frame.fc_hdr_wd1 = be32_to_cpu(*((__be32 *)fc_hdr + 1)); in lpfc_sli4_handle_mds_loopback()
19038 pwqe->send_frame.fc_hdr_wd2 = be32_to_cpu(*((__be32 *)fc_hdr + 2)); in lpfc_sli4_handle_mds_loopback()
19039 pwqe->send_frame.fc_hdr_wd3 = be32_to_cpu(*((__be32 *)fc_hdr + 3)); in lpfc_sli4_handle_mds_loopback()
19040 pwqe->send_frame.fc_hdr_wd4 = be32_to_cpu(*((__be32 *)fc_hdr + 4)); in lpfc_sli4_handle_mds_loopback()
19041 pwqe->send_frame.fc_hdr_wd5 = be32_to_cpu(*((__be32 *)fc_hdr + 5)); in lpfc_sli4_handle_mds_loopback()
19043 pwqe->generic.wqe_com.word7 = 0; in lpfc_sli4_handle_mds_loopback()
19044 pwqe->generic.wqe_com.word10 = 0; in lpfc_sli4_handle_mds_loopback()
19046 bf_set(wqe_cmnd, &pwqe->generic.wqe_com, CMD_SEND_FRAME); in lpfc_sli4_handle_mds_loopback()
19047 bf_set(wqe_sof, &pwqe->generic.wqe_com, 0x2E); /* SOF byte */ in lpfc_sli4_handle_mds_loopback()
19048 bf_set(wqe_eof, &pwqe->generic.wqe_com, 0x41); /* EOF byte */ in lpfc_sli4_handle_mds_loopback()
19049 bf_set(wqe_lenloc, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19050 bf_set(wqe_xbl, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19051 bf_set(wqe_dbde, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19052 bf_set(wqe_xc, &pwqe->generic.wqe_com, 1); in lpfc_sli4_handle_mds_loopback()
19053 bf_set(wqe_cmd_type, &pwqe->generic.wqe_com, 0xA); in lpfc_sli4_handle_mds_loopback()
19054 bf_set(wqe_cqid, &pwqe->generic.wqe_com, LPFC_WQE_CQ_ID_DEFAULT); in lpfc_sli4_handle_mds_loopback()
19055 bf_set(wqe_xri_tag, &pwqe->generic.wqe_com, iocbq->sli4_xritag); in lpfc_sli4_handle_mds_loopback()
19056 bf_set(wqe_reqtag, &pwqe->generic.wqe_com, iocbq->iotag); in lpfc_sli4_handle_mds_loopback()
19057 bf_set(wqe_class, &pwqe->generic.wqe_com, CLASS3); in lpfc_sli4_handle_mds_loopback()
19058 pwqe->generic.wqe_com.abort_tag = iocbq->iotag; in lpfc_sli4_handle_mds_loopback()
20974 struct lpfc_iocbq *pwqe) in lpfc_sli4_issue_wqe() argument
20976 union lpfc_wqe128 *wqe = &pwqe->wqe; in lpfc_sli4_issue_wqe()
20985 if (pwqe->cmd_flag & LPFC_IO_NVME_LS) { in lpfc_sli4_issue_wqe()
20989 sglq = __lpfc_sli_get_els_sglq(phba, pwqe); in lpfc_sli4_issue_wqe()
20994 pwqe->sli4_lxritag = sglq->sli4_lxritag; in lpfc_sli4_issue_wqe()
20995 pwqe->sli4_xritag = sglq->sli4_xritag; in lpfc_sli4_issue_wqe()
20996 if (lpfc_wqe_bpl2sgl(phba, pwqe, sglq) == NO_XRI) { in lpfc_sli4_issue_wqe()
21000 bf_set(wqe_xri_tag, &pwqe->wqe.xmit_bls_rsp.wqe_com, in lpfc_sli4_issue_wqe()
21001 pwqe->sli4_xritag); in lpfc_sli4_issue_wqe()
21008 lpfc_sli_ringtxcmpl_put(phba, pring, pwqe); in lpfc_sli4_issue_wqe()
21016 if (pwqe->cmd_flag & (LPFC_IO_NVME | LPFC_IO_FCP | LPFC_IO_CMF)) { in lpfc_sli4_issue_wqe()
21030 lpfc_sli_ringtxcmpl_put(phba, pring, pwqe); in lpfc_sli4_issue_wqe()
21038 if (pwqe->cmd_flag & LPFC_IO_NVMET) { in lpfc_sli4_issue_wqe()
21043 ctxp = pwqe->context_un.axchg; in lpfc_sli4_issue_wqe()
21045 if (pwqe->sli4_xritag == NO_XRI) { in lpfc_sli4_issue_wqe()
21046 pwqe->sli4_lxritag = sglq->sli4_lxritag; in lpfc_sli4_issue_wqe()
21047 pwqe->sli4_xritag = sglq->sli4_xritag; in lpfc_sli4_issue_wqe()
21049 bf_set(wqe_xri_tag, &pwqe->wqe.xmit_bls_rsp.wqe_com, in lpfc_sli4_issue_wqe()
21050 pwqe->sli4_xritag); in lpfc_sli4_issue_wqe()
21060 lpfc_sli_ringtxcmpl_put(phba, pring, pwqe); in lpfc_sli4_issue_wqe()