void fc_remote_port_delete (struct fc_rport * rport);
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,
If the remote port is not an FCP Target, it will be fully torn down and deallocated, including the fc_remote_port class device.
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.
Called from interrupt or normal process context.
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,
If the remote port is not an FCP Target, it will be fully torn down and deallocated, including the fc_remote_port class device.
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.
Called from interrupt or normal process context.
This routine assumes no locks are held on entry.