linux/drivers/scsi/fnic
Hiral Patel d3c995f1dc [SCSI] fnic: FIP VLAN Discovery Feature Support
FIP VLAN discovery discovers the FCoE VLAN that will be used by all other FIP
protocols as well as by the FCoE encapsulation for Fibre Channel payloads on
the established virtual link. One of the goals of FC-BB-5 was to be as
nonintrusive as possible on initiators and targets, and therefore FIP VLAN
discovery occurs in the native VLAN used by the initiator or target to
exchange Ethernet traffic. The FIP VLAN discovery protocol is the only FIP
protocol running on the native VLAN; all other FIP protocols run on the
discovered FCoE VLANs.

If an administrator has manually configured FCoE VLANs on ENodes and FCFs,
there is no need to use this protocol. FIP and FCoE will run over the
configured VLANs.

An ENode without FCoE VLANs configuration would use this automated discovery
protocol to discover over which VLANs FCoE is running.

The ENode sends a FIP VLAN discovery request to a multicast MAC address called
All-FCF-MACs, which is a multicast MAC address to which all FCFs listen.

All FCFs that can be reached in the native VLAN of the ENode are expected to
respond on the same VLAN with a response that lists one or more FCoE VLANs
that are available for the ENode's VN_Port login. This protocol has the sole
purpose of allowing the ENode to discover all the available FCoE VLANs.

Now the ENode may enable a subset of these VLANs for FCoE Running the FIP
protocol in these VLANs on a per VLAN basis. And FCoE data transactions also
would occur on this VLAN. Hence, Except for FIP VLAN discovery, all other FIP
and FCoE traffic runs on the selected FCoE VLAN.  Its only the FIP VLAN
Discovery protocol that is permitted to run on the Default native VLAN of the
system.

[**** NOTE ****]
We are working on moving this feature definitions and functionality to libfcoe
module. We need this patch to be approved, as Suse is looking forward to merge
this feature in SLES 11 SP3 release.  Once this patch is approved, we will
submit patch which should move vlan discovery feature to libfoce.

[Fengguang Wu <fengguang.wu@intel.com>: kmalloc cast removal]
Signed-off-by: Anantha Prakash T <atungara@cisco.com>
Signed-off-by: Hiral Patel <hiralpat@cisco.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-05-02 07:30:40 -07:00
..
cq_desc.h
cq_enet_desc.h
cq_exch_desc.h
fcpio.h
fnic_attrs.c
fnic_debugfs.c [SCSI] fnic: Fnic Trace Utility 2013-02-22 17:32:07 +00:00
fnic_fcs.c [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
fnic_fip.h [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
fnic_io.h [SCSI] fnic: New debug flags and debug log messages 2013-02-22 17:31:09 +00:00
fnic_isr.c [SCSI] fnic: Process all cq entries per ISR 2009-12-04 12:00:35 -06:00
fnic_main.c [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
fnic_res.c [SCSI] fnic: Add FIP support to the fnic driver 2009-12-04 12:01:19 -06:00
fnic_res.h [SCSI] fnic: Add FIP support to the fnic driver 2009-12-04 12:01:19 -06:00
fnic_scsi.c [SCSI] fnic: Fnic Trace Utility 2013-02-22 17:32:07 +00:00
fnic_trace.c [SCSI] fnic: Fnic Trace Utility 2013-02-22 17:32:07 +00:00
fnic_trace.h [SCSI] fnic: Fnic Trace Utility 2013-02-22 17:32:07 +00:00
fnic.h [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
Makefile [SCSI] fnic: Fnic Trace Utility 2013-02-22 17:32:07 +00:00
rq_enet_desc.h
vnic_cq_copy.h
vnic_cq.c
vnic_cq.h
vnic_dev.c [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
vnic_dev.h [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
vnic_devcmd.h [SCSI] fnic: FIP VLAN Discovery Feature Support 2013-05-02 07:30:40 -07:00
vnic_intr.c
vnic_intr.h
vnic_nic.h
vnic_resource.h
vnic_rq.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vnic_rq.h
vnic_scsi.h [SCSI] fnic: Add FIP support to the fnic driver 2009-12-04 12:01:19 -06:00
vnic_stats.h
vnic_wq_copy.c
vnic_wq_copy.h
vnic_wq.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vnic_wq.h
wq_enet_desc.h