Lines Matching defs:rrq
1920 * This routine will call the clear rrq function to free the rrq and
1922 * exist then the clear_rrq is still called because the rrq needs to
1933 struct lpfc_node_rrq *rrq;
1936 rrq = cmdiocb->context_un.rrq;
1946 if (!ndlp || !NLP_CHK_NODE_ACT(ndlp) || ndlp != rrq->ndlp) {
1956 /* rrq completes to NPort <nlp_DID> */
1961 irsp->ulpTimeout, rrq->xritag, rrq->rxid);
1977 if (rrq)
1978 lpfc_clr_rrq_active(phba, rrq->xritag, rrq);
5307 * lpfc_els_clear_rrq - Clear the rq that this rrq describes.
5320 struct RRQ *rrq;
5328 rrq = (struct RRQ *)pcmd;
5329 rrq->rrq_exchg = be32_to_cpu(rrq->rrq_exchg);
5330 rxid = bf_get(rrq_rxid, rrq);
5335 be32_to_cpu(bf_get(rrq_did, rrq)),
5336 bf_get(rrq_oxid, rrq),
5342 ndlp->nlp_DID, ndlp->nlp_flag, rrq->rrq_exchg);
5343 if (vport->fc_myDID == be32_to_cpu(bf_get(rrq_did, rrq)))
5344 xri = bf_get(rrq_oxid, rrq);
7267 * lpfc_els_rcv_rrq - Process an unsolicited rrq iocb
7526 /* lpfc_issue_els_rrq - Process an unsolicited rrq iocb
7530 * @rrq: Pointer to the rrq struct.
7536 * 0 - Successfully sent rrq els iocb.
7537 * 1 - Failed to send rrq els iocb.
7541 uint32_t did, struct lpfc_node_rrq *rrq)
7551 if (ndlp != rrq->ndlp)
7552 ndlp = rrq->ndlp;
7570 bf_set(rrq_oxid, els_rrq, phba->sli4_hba.xri_ids[rrq->xritag]);
7571 bf_set(rrq_rxid, els_rrq, rrq->rxid);
7573 els_rrq->rrq = cpu_to_be32(els_rrq->rrq);
7579 did, rrq->xritag, rrq->rxid);
7580 elsiocb->context_un.rrq = rrq;
7594 * @rrq: pointer to the active rrq.
7596 * This routine will call the lpfc_issue_els_rrq if the rrq is
7604 lpfc_send_rrq(struct lpfc_hba *phba, struct lpfc_node_rrq *rrq)
7606 struct lpfc_nodelist *ndlp = lpfc_findnode_did(rrq->vport,
7607 rrq->nlp_DID);
7611 if (lpfc_test_rrq_active(phba, ndlp, rrq->xritag))
7612 return lpfc_issue_els_rrq(rrq->vport, ndlp,
7613 rrq->nlp_DID, rrq);