Lines Matching +full:non +full:- +full:operational
1 .. SPDX-License-Identifier: GPL-2.0
40 --------
44 Virtualization (NPIV) mechanism, a point-to-point connection to a Fabric
48 unique view of the fabric based on fabric zoning and array lun-masking
49 (just like a normal non-NPIV adapter). Using the Virtual Fabric (VF)
57 The FC transport is now recognizing a new object - a vport. A vport is
58 an entity that has a world-wide unique World Wide Port Name (wwpn) and
72 At this time, the transport is written to create only NPIV-based
73 vports. However, consideration was given to VF-based vports and it
87 -------------------------------
95 as the non-NPIV case. The transport is written currently to easily
97 This could be used in the future to link the object onto a vm-specific
110 /sys/devices/.../host17/rport-17:0-0/target17:0:0/17:0:0:0:
114 /sys/devices/.../host17/vport-17:0-0
118 /sys/devices/.../host17/vport-17:0-0/host18
122 /sys/devices/.../host17/vport-17:0-0/host18/rport-18:0-0/target18:0:0/18:0:0:0:
133 /sys/class/fc_vports/vport-17:0-0 the vport's fc_vport
135 /sys/class/fc_remote_ports/rport-17:0-0 rport on the physical port
136 /sys/class/fc_remote_ports/rport-18:0-0 rport on the vport
140 ----------------
185 Indicates the maximum number of NPIV-based vports that the
189 Indicates how many NPIV-based vports have been instantiated on the
208 ------------
212 - Creation with the kernel and LLDD. This means all transport and
216 - Instantiation of the vport on the FC link via ELS traffic, etc.
225 FC_VPORT_UNKNOWN - Unknown
229 FC_VPORT_ACTIVE - Active
233 FC_VPORT_DISABLED - Disabled
238 FC_VPORT_LINKDOWN - Linkdown
239 The vport is not operational as the physical link is not operational.
241 FC_VPORT_INITIALIZING - Initializing
249 FC_VPORT_NO_FABRIC_SUPP - No Fabric Support
250 The vport is not operational. One of the following conditions were
253 - The FC topology is not Point-to-Point
254 - The FC port is not connected to an F_Port
255 - The F_Port has indicated that NPIV is not supported.
257 FC_VPORT_NO_FABRIC_RSCS - No Fabric Resources
258 The vport is not operational. The Fabric failed FDISC with a status
262 FC_VPORT_FABRIC_LOGOUT - Fabric Logout
263 The vport is not operational. The Fabric has LOGO'd the N_Port_ID
266 FC_VPORT_FABRIC_REJ_WWN - Fabric Rejected WWN
267 The vport is not operational. The Fabric failed FDISC with a status
270 FC_VPORT_FAILED - VPort Failed
271 The vport is not operational. This is a catchall for all other
277 +------------------+--------------------------------+---------------------+
281 +------------------+--------------------------------+---------------------+
283 | +--------------------------------+---------------------+
285 | +--------------------------------+---------------------+
287 | +--------------------------------+---------------------+
290 | +--------------------------------+---------------------+
292 | +--------------------------------+---------------------+
294 +------------------+--------------------------------+---------------------+
296 +------------------+--------------------------------+---------------------+
298 | +--------------------------------+---------------------+
300 | +--------------------------------+---------------------+
303 | +--------------------------------+---------------------+
306 | +--------------------------------+---------------------+
308 | +--------------------------------+---------------------+
310 +------------------+--------------------------------+---------------------+
312 +------------------+--------------------------------+---------------------+
314 | +--------------------------------+---------------------+
316 | +--------------------------------+---------------------+
318 +------------------+--------------------------------+---------------------+
320 +------------------+--------------------------------+---------------------+
332 Transport <-> LLDD Interfaces
333 -----------------------------
368 - Creation with the kernel and LLDD. This means all transport and
372 - Instantiation of the vport on the FC link via ELS traffic, etc.
379 hinge vport_create() on the link-side operation mainly because:
381 - The link may be down. It is not a failure if it is. It simply
384 - The vport may be created in a disabled state.
385 - This is consistent with a model where: the vport equates to a
396 - Validate Infrastructure:
398 - If the driver or adapter cannot support another vport, whether
400 some other resource - return VPCERR_UNSUPPORTED.
401 - If the driver validates the WWN's against those already active on
402 the adapter and detects an overlap - return VPCERR_BAD_WWN.
403 - If the driver detects the topology is loop, non-fabric, or the
404 FLOGI did not support NPIV - return VPCERR_NO_FABRIC_SUPP.
406 - Allocate data structures. If errors are encountered, such as out
408 - If the role is FCP Initiator, the LLDD is to :
410 - Call scsi_host_alloc() to allocate a scsi_host for the vport.
411 - Call scsi_add_host(new_shost, &vport->dev) to start the scsi_host
413 - Initializes the fc_host attribute values.
415 - Kick of further vport state transitions based on the disable flag and
416 link state - and return success (zero).
420 - It is suggested that there be a different fc_function_templates for
424 - It is suggested that there be different scsi_host_templates
456 The vport will remain in this state until it is deleted or re-enabled.
458 link - essentially restarting the LLDD statemachine (see Vport States
488 There is a new fc_host port_type value - FC_PORTTYPE_NPIV. This value
489 must be set on all vport-based fc_hosts. Normally, on a physical port,
503 ----------------------------
505 The following functions are supplied by the FC-transport for use by LLDs.
515 * fc_vport_create - Admin App or LLDD requests creation of a vport
527 * fc_vport_terminate - Admin App or LLDD requests termination of a vport