Lines Matching refs:rport_ids
3295 struct fc_rport_identifiers rport_ids;
3299 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn);
3300 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn);
3301 rport_ids.port_id = ndlp->nlp_DID;
3302 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN;
3319 ndlp->rport = rport = fc_remote_port_add(shost, 0, &rport_ids);
3333 rport_ids.roles |= FC_RPORT_ROLE_FCP_TARGET;
3335 rport_ids.roles |= FC_RPORT_ROLE_FCP_INITIATOR;
3338 if (rport_ids.roles != FC_RPORT_ROLE_UNKNOWN)
3339 fc_remote_port_rolechg(rport, rport_ids.roles);