Lines Matching refs:rrq
1930 * This routine will call the clear rrq function to free the rrq and
1932 * exist then the clear_rrq is still called because the rrq needs to
1942 struct lpfc_node_rrq *rrq;
1947 rrq = cmdiocb->context_un.rrq;
1956 /* rrq completes to NPort <nlp_DID> */
1961 get_wqe_tmo(cmdiocb), rrq->xritag, rrq->rxid);
1977 lpfc_clr_rrq_active(phba, rrq->xritag, rrq);
6366 * lpfc_els_clear_rrq - Clear the rq that this rrq describes.
6379 struct RRQ *rrq;
6387 rrq = (struct RRQ *)pcmd;
6388 rrq->rrq_exchg = be32_to_cpu(rrq->rrq_exchg);
6389 rxid = bf_get(rrq_rxid, rrq);
6394 be32_to_cpu(bf_get(rrq_did, rrq)),
6395 bf_get(rrq_oxid, rrq),
6402 ndlp->nlp_DID, ndlp->nlp_flag, rrq->rrq_exchg);
6403 if (vport->fc_myDID == be32_to_cpu(bf_get(rrq_did, rrq)))
6404 xri = bf_get(rrq_oxid, rrq);
8590 * lpfc_els_rcv_rrq - Process an unsolicited rrq iocb
8896 /* lpfc_issue_els_rrq - Process an unsolicited rrq iocb
8900 * @rrq: Pointer to the rrq struct.
8906 * 0 - Successfully sent rrq els iocb.
8907 * 1 - Failed to send rrq els iocb.
8911 uint32_t did, struct lpfc_node_rrq *rrq)
8937 bf_set(rrq_oxid, els_rrq, phba->sli4_hba.xri_ids[rrq->xritag]);
8938 bf_set(rrq_rxid, els_rrq, rrq->rxid);
8940 els_rrq->rrq = cpu_to_be32(els_rrq->rrq);
8946 did, rrq->xritag, rrq->rxid);
8947 elsiocb->context_un.rrq = rrq;
8969 * @rrq: pointer to the active rrq.
8971 * This routine will call the lpfc_issue_els_rrq if the rrq is
8979 lpfc_send_rrq(struct lpfc_hba *phba, struct lpfc_node_rrq *rrq)
8981 struct lpfc_nodelist *ndlp = lpfc_findnode_did(rrq->vport,
8982 rrq->nlp_DID);
8986 if (lpfc_test_rrq_active(phba, ndlp, rrq->xritag))
8987 return lpfc_issue_els_rrq(rrq->vport, ndlp,
8988 rrq->nlp_DID, rrq);