summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2012-12-06 07:23:58 +0100
committerRobert Love <robert.w.love@intel.com>2012-12-14 19:38:55 +0100
commit03702689fcc985e9cb45b57099ebd5066f674739 (patch)
tree10079124d57a604c30ccfbda79ac697e362391e2 /include
parentfcoe: add support to the get_netdev() for fcoe_interface (diff)
downloadlinux-03702689fcc985e9cb45b57099ebd5066f674739.tar.xz
linux-03702689fcc985e9cb45b57099ebd5066f674739.zip
libfcoe, fcoe: move fcoe_link_speed_update() to libfcoe and export it
With the previous patch, fcoe_link_speed_update() can be moved into libfcoe and exported to used by fcoe, bnx2fc, and etc. 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>
Diffstat (limited to 'include')
-rw-r--r--include/scsi/libfcoe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h
index 746bc587ae34..6c59ba7af28a 100644
--- a/include/scsi/libfcoe.h
+++ b/include/scsi/libfcoe.h
@@ -260,6 +260,7 @@ void __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb,
struct net_device *netdev);
void fcoe_wwn_to_str(u64 wwn, char *buf, int len);
int fcoe_validate_vport_create(struct fc_vport *vport);
+int fcoe_link_speed_update(struct fc_lport *);
/**
* is_fip_mode() - returns true if FIP mode selected.