scsi: qedf: Set WWNN and WWPN based on values from qed.
authorChad Dupuis <chad.dupuis@cavium.com>
Tue, 15 Aug 2017 17:08:16 +0000 (10:08 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:29:02 +0000 (22:29 -0400)
commit01fd76a76552b801897ac087e4e2d7667dd7c458
tree9d8ec0ea710e31f2354df5f32c101747e032e828
parentb4a028a57058754e30a1a5df2b980b95c13dac61
scsi: qedf: Set WWNN and WWPN based on values from qed.

If dev_info.wwpn and dev_info.wwnn are set by qed use these values to set
the WWNs of the port. Otherwise fall back to the old method using
fcoe_wwn_from_mac().

Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_main.c