• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/lpfc/

Lines Matching refs:ndlp

2118  * Update all the ndlp's dev loss tmo with the vport devloss tmo value.
2124 struct lpfc_nodelist *ndlp;
2128 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp)
2129 if (NLP_CHK_NODE_ACT(ndlp) && ndlp->rport)
2130 ndlp->rport->dev_loss_tmo = vport->cfg_devloss_tmo;
2766 struct lpfc_nodelist *ndlp = NULL;
2775 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) {
2776 if (!NLP_CHK_NODE_ACT(ndlp) || !ndlp->lat_data)
2788 if (!ndlp->lat_data)
2793 ndlp->nlp_portname.u.wwn[0],
2794 ndlp->nlp_portname.u.wwn[1],
2795 ndlp->nlp_portname.u.wwn[2],
2796 ndlp->nlp_portname.u.wwn[3],
2797 ndlp->nlp_portname.u.wwn[4],
2798 ndlp->nlp_portname.u.wwn[5],
2799 ndlp->nlp_portname.u.wwn[6],
2800 ndlp->nlp_portname.u.wwn[7]);
2806 ndlp->lat_data[i].cmd_count);
3156 struct lpfc_nodelist *ndlp, *next_ndlp;
3165 list_for_each_entry_safe(ndlp, next_ndlp, &vport->fc_nodes, nlp_listp) {
3166 if (!NLP_CHK_NODE_ACT(ndlp))
3168 if (ndlp->nlp_state == NLP_STE_UNUSED_NODE)
3170 ndlp->cmd_qdepth = vport->cfg_tgt_queue_depth;
4315 struct lpfc_nodelist *ndlp;
4319 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) {
4320 if (NLP_CHK_NODE_ACT(ndlp) &&
4321 ndlp->nlp_state == NLP_STE_MAPPED_NODE &&
4322 starget->id == ndlp->nlp_sid) {
4324 return ndlp;
4332 * lpfc_get_starget_port_id - Set the target port id to the ndlp DID or -1
4338 struct lpfc_nodelist *ndlp = lpfc_get_node_by_target(starget);
4340 fc_starget_port_id(starget) = ndlp ? ndlp->nlp_DID : -1;
4347 * Description: Set the target node name to the ndlp node name wwn or zero.
4352 struct lpfc_nodelist *ndlp = lpfc_get_node_by_target(starget);
4355 ndlp ? wwn_to_u64(ndlp->nlp_nodename.u.wwn) : 0;
4362 * Description: set the target port name to the ndlp port name wwn or zero.
4367 struct lpfc_nodelist *ndlp = lpfc_get_node_by_target(starget);
4370 ndlp ? wwn_to_u64(ndlp->nlp_portname.u.wwn) : 0;