.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FC_REMOTE_PORT_DELETE" "9" "09 October 2005" "" ""
.SH NAME
fc_remote_port_delete \- notifies the fc transport that a remote
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void fc_remote_port_delete (struct fc_rport * \fIrport\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIrport\fB\fR
The remote port that no longer exists
.SH "DESCRIPTION"
.PP
The LLDD calls this routine to notify the transport that a remote
port is no longer part of the topology. Note: Although a port
may no longer be part of the topology, it may persist in the remote
ports displayed by the fc_host. This is done so that target id
mappings (managed via the remote port structures), are always visible
as long as the mapping is valid, regardless of port state,
.PP
If the remote port is not an FCP Target, it will be fully torn down
and deallocated, including the fc_remote_port class device.
.PP
If the remote port is an FCP Target, the port structure will be
marked as Not Present, but will remain as long as there is a valid
SCSI target id mapping associated with the port structure. Validity
is determined by the binding type. If binding by wwpn, then the port
structure is always valid and will not be deallocated until the host
is removed. If binding by wwnn, then the port structure is valid
until another port with the same node name is found in the topology.
If binding by port id (fc address), then the port structure is valid
valid until another port with the same address is identified.
.PP
Called from interrupt or normal process context.
.SH "DESCRIPTION"
.PP
The LLDD calls this routine to notify the transport that a remote
port is no longer part of the topology. Note: Although a port
may no longer be part of the topology, it may persist in the remote
ports displayed by the fc_host. This is done so that target id
mappings (managed via the remote port structures), are always visible
as long as the mapping is valid, regardless of port state,
.PP
If the remote port is not an FCP Target, it will be fully torn down
and deallocated, including the fc_remote_port class device.
.PP
If the remote port is an FCP Target, the port structure will be
marked as Not Present, but will remain as long as there is a valid
SCSI target id mapping associated with the port structure. Validity
is determined by the binding type. If binding by wwpn, then the port
structure is always valid and will not be deallocated until the host
is removed. If binding by wwnn, then the port structure is valid
until another port with the same node name is found in the topology.
If binding by port id (fc address), then the port structure is valid
valid until another port with the same address is identified.
.PP
Called from interrupt or normal process context.
.SH "NOTES"
.PP
This routine assumes no locks are held on entry.