Lines Matching defs:rport_ids
5585 struct fc_rport_identifiers rport_ids;
5592 rport_ids.node_name = wwn_to_u64(fcport->node_name);
5593 rport_ids.port_name = wwn_to_u64(fcport->port_name);
5594 rport_ids.port_id = fcport->d_id.b.domain << 16 |
5596 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN;
5597 fcport->rport = rport = fc_remote_port_add(vha->host, 0, &rport_ids);
5610 rport_ids.roles = FC_PORT_ROLE_UNKNOWN;
5612 rport_ids.roles |= FC_PORT_ROLE_FCP_INITIATOR;
5614 rport_ids.roles |= FC_PORT_ROLE_FCP_TARGET;
5616 rport_ids.roles |= FC_PORT_ROLE_NVME_INITIATOR;
5618 rport_ids.roles |= FC_PORT_ROLE_NVME_TARGET;
5620 rport_ids.roles |= FC_PORT_ROLE_NVME_DISCOVERY;
5628 fc_remote_port_rolechg(rport, rport_ids.roles);