FC_REMOTE_PORT_ADD - Online Linux Manual PageSection : 9
Updated : June 2018
Source : Kernel Hackers Manual 2​.6​.
Note : SCSI mid layer

NAMEfc_remote_port_add − notify fc transport of the existence of a remote FC port​.

SYNOPSISstruct fc_rport * fc_remote_port_add(struct Scsi_Host * shost, int channel, struct fc_rport_identifiers * ids);

ARGUMENTSshost scsi host the remote port is connected to​. channel Channel on shost port connected to​. ids The world wide names, fc address, and FC4 port roles for the remote port​.

DESCRIPTIONThe LLDD calls this routine to notify the transport of the existence of a remote port​. The LLDD provides the unique identifiers (wwpn,wwn) of the port, it´s FC address (port_id), and the FC4 roles that are active for the port​. For ports that are FCP targets (aka scsi targets), the FC transport maintains consistent target id bindings on behalf of the LLDD​. A consistent target id binding is an assignment of a target id to a remote port identifier, which persists while the scsi host is attached​. The remote port can disappear, then later reappear, and it´s target id assignment remains the same​. This allows for shifts in FC addressing (if binding by wwpn or wwnn) with no apparent changes to the scsi subsystem which is based on scsi host number and target id values​. Bindings are only valid during the attachment of the scsi host​. If the host detaches, then later re−attaches, target id bindings may change​. This routine is responsible for returning a remote port structure​. The routine will search the list of remote ports it maintains internally on behalf of consistent target id mappings​. If found, the remote port structure will be reused​. Otherwise, a new remote port structure will be allocated​. Whenever a remote port is allocated, a new fc_remote_port class device is created​. Should not be called from interrupt context​.

NOTESThis routine assumes no locks are held on entry​.

AUTHORSJames Bottomley <​James.Bottomley@hansenpartnership.com​> Author. Rob Landley <​rob@landley.net​> Author.

COPYRIGHT
0
Johanes Gumabo
Data Size   :   7,372 byte
man-fc_remote_port_add.9Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 166,430
Visitor ID   :     :  
Visitor IP   :   3.22.27.41   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.