1FC_REMOTE_PORT_ROLEC(9)         SCSI mid layer         FC_REMOTE_PORT_ROLEC(9)
2
3
4

NAME

6       fc_remote_port_rolechg - notifies the fc transport that the roles on a
7       remote may have changed.
8

SYNOPSIS

10       void fc_remote_port_rolechg(struct fc_rport * rport, u32 roles);
11

ARGUMENTS

13       rport
14           The remote port that changed.
15
16       roles
17           New roles for this port.
18

DESCRIPTION

20       The LLDD calls this routine to notify the transport that the roles on a
21       remote port may have changed. The largest effect of this is if a port
22       now becomes a FCP Target, it must be allocated a scsi target id. If the
23       port is no longer a FCP target, any scsi target id value assigned to it
24       will persist in case the role changes back to include FCP Target. No
25       changes in the scsi midlayer will be invoked if the role changes (in
26       the expectation that the role will be resumed. If it doesn't normal
27       error processing will take place).
28
29       Should not be called from interrupt context.
30

NOTES

32       This routine assumes no locks are held on entry.
33

AUTHORS

35       James Bottomley <James.Bottomley@hansenpartnership.com>
36           Author.
37
38       Rob Landley <rob@landley.net>
39           Author.
40
42Kernel Hackers Manual 3.10         June 2019           FC_REMOTE_PORT_ROLEC(9)
Impressum