Message ID | 20211224070712.17905-9-njavali@marvell.com |
---|---|
State | Superseded |
Headers | show |
Series | qla2xxx misc bug fixes and features | expand |
> On Dec 23, 2021, at 11:07 PM, Nilesh Javali <njavali@marvell.com> wrote: > > From: Bikash Hazarika <bhazarika@marvell.com> > > Corrected transmission speed mask values for FC. > Supported Speed: 16 32 20 Gb/s ===> It should be 64 instead of 20 > Supported Speed: 16G 32G 48G ===> It should be 64G instead of 48G > > Cc: stable@vger.kernel.org > Signed-off-by: Bikash Hazarika <bhazarika@marvell.com> > Signed-off-by: Nilesh Javali <njavali@marvell.com> > --- > drivers/scsi/qla2xxx/qla_def.h | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h > index a5fc01b4fa96..bc0c5df77801 100644 > --- a/drivers/scsi/qla2xxx/qla_def.h > +++ b/drivers/scsi/qla2xxx/qla_def.h > @@ -2891,7 +2891,11 @@ struct ct_fdmi2_hba_attributes { > #define FDMI_PORT_SPEED_8GB 0x10 > #define FDMI_PORT_SPEED_16GB 0x20 > #define FDMI_PORT_SPEED_32GB 0x40 > -#define FDMI_PORT_SPEED_64GB 0x80 > +#define FDMI_PORT_SPEED_20GB 0x80 > +#define FDMI_PORT_SPEED_40GB 0x100 > +#define FDMI_PORT_SPEED_128GB 0x200 > +#define FDMI_PORT_SPEED_64GB 0x400 > +#define FDMI_PORT_SPEED_256GB 0x800 > #define FDMI_PORT_SPEED_UNKNOWN 0x8000 > > #define FC_CLASS_2 0x04 > -- > 2.23.1 > Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> -- Himanshu Madhani Oracle Linux Engineering
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index a5fc01b4fa96..bc0c5df77801 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -2891,7 +2891,11 @@ struct ct_fdmi2_hba_attributes { #define FDMI_PORT_SPEED_8GB 0x10 #define FDMI_PORT_SPEED_16GB 0x20 #define FDMI_PORT_SPEED_32GB 0x40 -#define FDMI_PORT_SPEED_64GB 0x80 +#define FDMI_PORT_SPEED_20GB 0x80 +#define FDMI_PORT_SPEED_40GB 0x100 +#define FDMI_PORT_SPEED_128GB 0x200 +#define FDMI_PORT_SPEED_64GB 0x400 +#define FDMI_PORT_SPEED_256GB 0x800 #define FDMI_PORT_SPEED_UNKNOWN 0x8000 #define FC_CLASS_2 0x04