[SCSI] fcoe: Use LLD's WWPN and WWNN for lport if LLD supports ndo_fcoe_get_wwn
authorYi Zou <yi.zou@intel.com>
Fri, 20 Nov 2009 23:22:21 +0000 (15:22 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Dec 2009 15:45:53 +0000 (09:45 -0600)
commitdcece412da92aa619c0d891a17306b9adf86ab0e
tree4d7c49efc33ec71cd97904808cd2050a3798e54d
parente46b63b37c3296f0aca92d8b62bbf130f2bec7dd
[SCSI] fcoe: Use LLD's WWPN and WWNN for lport if LLD supports ndo_fcoe_get_wwn

If the LLD wants its own WWNN/WWPN to be used, it should implement the
netdev_ops.ndo_fcoe_get_wwn(). If that is the case, we query the LLD and use
the queried WWNN/WWPN from the 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>
drivers/scsi/fcoe/fcoe.c