]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[SCSI] fcoe, libfc: add get_lesb() to allow LLD to fill the link error status block...
authorYi Zou <yi.zou@intel.com>
Fri, 20 Nov 2009 22:55:19 +0000 (14:55 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:58 +0000 (12:01 -0600)
commitb84056bf68404a5fe06b452ea9790b9927e793a6
tree67e9129cd1cf94465f6845ee8f378c856b27bd04
parentb21a0c397eea722ff84bbeaf5e6e732a06b69896
[SCSI] fcoe, libfc: add get_lesb() to allow LLD to fill the link error status block (LESB)

Add a member function pointer as get_lesb to libfc_function_template so LLD
can fill the LESB based on its own statistics. For fcoe, it fills the LESB
as a fcoe_fc_els_lesb struct according to FC-BB-5.

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>
drivers/scsi/fcoe/fcoe.c
include/scsi/libfc.h