libfcoe, fcoe: consolidate the fcoe_ctlr_get_lesb/fcoe_get_lesb
authorYi Zou <yi.zou@intel.com>
Thu, 6 Dec 2012 06:24:13 +0000 (06:24 +0000)
committerRobert Love <robert.w.love@intel.com>
Fri, 14 Dec 2012 18:38:55 +0000 (10:38 -0800)
commit57c2728fa806aff08703e5739620454d723bc865
tree4dda55f3f75f367a882718ff61b99a7e650a0e1c
parent03702689fcc985e9cb45b57099ebd5066f674739
libfcoe, fcoe: consolidate the fcoe_ctlr_get_lesb/fcoe_get_lesb

Similarly they can be moved into libfcoe instead of being private to fcoe now.
Also add comments particularly on the term LESB to the corresponding function.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Cc: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Tested-by: Marcus Dennis <marcusx.e.dennis@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
drivers/scsi/fcoe/fcoe.c
drivers/scsi/fcoe/fcoe_transport.c
include/scsi/libfcoe.h