[SCSI] libfc: add FC-BB-5 LESB counters to fcoe_dev_stats
authorYi Zou <yi.zou@intel.com>
Fri, 20 Nov 2009 22:54:52 +0000 (14:54 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:55 +0000 (12:01 -0600)
commit6580bbd0afe6ba1be5d53b331e92a7690046c923
treea628a6ce7c52634cced5957d57a979338ce102f3
parent859b7b649ab58ee5cbfb761491317d5b315c1b0f
[SCSI] libfc: add FC-BB-5 LESB counters to fcoe_dev_stats

FC-BB-5 Rev2.0, Clause 7.10 extends the FC-LS-3 LESB for FC-BB_E. We are
already tracking Link Failure Count so add the rest in this patch.

For VLinkFailureCount and MissDiscAdvCount, they are part of the per-cpu
fcoe_dev_stats. For SymbolErrorCount, ErroredBlockCount, and FCSErrorCount,
they are defined in IEEE 802.3-2008 and are per LLD. They are expected to
come from LLD.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
include/scsi/libfc.h