scsi: lpfc: Add 256 Gb link speed support
[linux-2.6-microblaze.git] / drivers / scsi / lpfc / lpfc_ct.c
index 1acb882..a1c85fa 100644 (file)
@@ -2846,6 +2846,8 @@ lpfc_fdmi_port_attr_support_speed(struct lpfc_vport *vport,
 
        ae->un.AttrInt = 0;
        if (!(phba->hba_flag & HBA_FCOE_MODE)) {
+               if (phba->lmt & LMT_256Gb)
+                       ae->un.AttrInt |= HBA_PORTSPEED_256GFC;
                if (phba->lmt & LMT_128Gb)
                        ae->un.AttrInt |= HBA_PORTSPEED_128GFC;
                if (phba->lmt & LMT_64Gb)
@@ -2927,6 +2929,9 @@ lpfc_fdmi_port_attr_speed(struct lpfc_vport *vport,
                case LPFC_LINK_SPEED_128GHZ:
                        ae->un.AttrInt = HBA_PORTSPEED_128GFC;
                        break;
+               case LPFC_LINK_SPEED_256GHZ:
+                       ae->un.AttrInt = HBA_PORTSPEED_256GFC;
+                       break;
                default:
                        ae->un.AttrInt = HBA_PORTSPEED_UNKNOWN;
                        break;