Lines Matching refs:rdp_context
6992 lpfc_els_rdp_cmpl(struct lpfc_hba *phba, struct lpfc_rdp_context *rdp_context, in lpfc_els_rdp_cmpl() argument
6995 struct lpfc_nodelist *ndlp = rdp_context->ndlp; in lpfc_els_rdp_cmpl()
7016 lpfc_max_els_tries, rdp_context->ndlp, in lpfc_els_rdp_cmpl()
7017 rdp_context->ndlp->nlp_DID, ELS_CMD_ACC); in lpfc_els_rdp_cmpl()
7026 rdp_context->ox_id); in lpfc_els_rdp_cmpl()
7028 rdp_context->rx_id); in lpfc_els_rdp_cmpl()
7031 icmd->ulpContext = rdp_context->rx_id; in lpfc_els_rdp_cmpl()
7032 icmd->unsli3.rcvsli3.ox_id = rdp_context->ox_id; in lpfc_els_rdp_cmpl()
7047 flag_ptr = (uint16_t *)(rdp_context->page_a2 + SSF_ALARM_FLAGS); in lpfc_els_rdp_cmpl()
7049 flag_ptr = (uint16_t *)(rdp_context->page_a2 + SSF_WARNING_FLAGS); in lpfc_els_rdp_cmpl()
7058 rdp_context->page_a0, rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7062 (len + pcmd), &rdp_context->link_stat); in lpfc_els_rdp_cmpl()
7068 &rdp_context->link_stat); in lpfc_els_rdp_cmpl()
7070 &rdp_context->link_stat, vport); in lpfc_els_rdp_cmpl()
7073 rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7076 rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7079 rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7082 rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7085 rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7087 rdp_context->page_a0, vport); in lpfc_els_rdp_cmpl()
7124 rdp_context->ox_id); in lpfc_els_rdp_cmpl()
7127 rdp_context->rx_id); in lpfc_els_rdp_cmpl()
7130 icmd->ulpContext = rdp_context->rx_id; in lpfc_els_rdp_cmpl()
7131 icmd->unsli3.rcvsli3.ox_id = rdp_context->ox_id; in lpfc_els_rdp_cmpl()
7159 kfree(rdp_context); in lpfc_els_rdp_cmpl()
7163 lpfc_get_rdp_info(struct lpfc_hba *phba, struct lpfc_rdp_context *rdp_context) in lpfc_get_rdp_info() argument
7177 mbox->vport = rdp_context->ndlp->vport; in lpfc_get_rdp_info()
7179 mbox->ctx_ndlp = (struct lpfc_rdp_context *)rdp_context; in lpfc_get_rdp_info()
7218 struct lpfc_rdp_context *rdp_context; in lpfc_els_rcv_rdp() local
7255 rdp_context = kzalloc(sizeof(struct lpfc_rdp_context), GFP_KERNEL); in lpfc_els_rcv_rdp()
7256 if (!rdp_context) { in lpfc_els_rcv_rdp()
7262 rdp_context->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rcv_rdp()
7263 if (!rdp_context->ndlp) { in lpfc_els_rcv_rdp()
7264 kfree(rdp_context); in lpfc_els_rcv_rdp()
7268 rdp_context->ox_id = bf_get(wqe_rcvoxid, in lpfc_els_rcv_rdp()
7270 rdp_context->rx_id = bf_get(wqe_ctxt_tag, in lpfc_els_rcv_rdp()
7272 rdp_context->cmpl = lpfc_els_rdp_cmpl; in lpfc_els_rcv_rdp()
7273 if (lpfc_get_rdp_info(phba, rdp_context)) { in lpfc_els_rcv_rdp()
7276 kfree(rdp_context); in lpfc_els_rcv_rdp()