]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: lpfc: Fix sysfs Speed value on CNA ports
authorJames Smart <jsmart2021@gmail.com>
Wed, 1 Aug 2018 00:23:19 +0000 (17:23 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Aug 2018 19:45:18 +0000 (15:45 -0400)
commitb615a20adf04cf3c8e9293851da3aac54792fb07
tree5bcd3f6316c634745d22c6011ea79f63ee10d670
parentfaa832e97a0c0d79838c3a6521a473d870217053
scsi: lpfc: Fix sysfs Speed value on CNA ports

CNA ports were showing speed as "unknown" even if the link is up.

Add speed decoding for FCOE-based adapters.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c