Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 308793 Details for
Bug 450645
[QLogic 4.7 bug] qla2xxx- several fixes: ioctl module and slab corruption (8.02.09-d0-rhel4.7-04)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
port speed reporting
qla2xxx_rhel4.7_84xx_port_speeds_patch17.txt (text/plain), 1.56 KB, created by
Marcus Barrow
on 2008-06-10 10:24:09 UTC
(
hide
)
Description:
port speed reporting
Filename:
MIME Type:
Creator:
Marcus Barrow
Created:
2008-06-10 10:24:09 UTC
Size:
1.56 KB
patch
obsolete
> > >BZ 450645 [9/11] several fixes: ioctl module and slab corruption > >This patch provides correct speed reporting. It is confined to the >IOCTL module. > >In the query_hba_port call currently the supported port >speed is set as either 1Gb or 2Gb. This fix would set the >supported port speed for 4G and 8G HBAs. > >Also modified case 4: to set port speed as 8G instead of 10G. >--- > drivers/scsi/qla2xxx/qim_xioct.c | 12 ++++++++++-- > 1 files changed, 10 insertions(+), 2 deletions(-) > >diff --git a/drivers/scsi/qla2xxx/qim_xioct.c b/drivers/scsi/qla2xxx/qim_xioct.c >index df3a623..8b57177 100644 >--- a/drivers/scsi/qla2xxx/qim_xioct.c >+++ b/drivers/scsi/qla2xxx/qim_xioct.c >@@ -1856,9 +1856,17 @@ qim_query_hba_port(struct qla_host_ioctl > /* Return supported speed depending on adapter type */ > if (IS_QLA2100(dr_ha) || IS_QLA2200(dr_ha)) > ptmp_hba_port->PortSupportedSpeed = EXT_DEF_PORTSPEED_1GBIT; >- else >+ >+ else if (IS_QLA23XX(dr_ha)) > ptmp_hba_port->PortSupportedSpeed = EXT_DEF_PORTSPEED_2GBIT; > >+ else if (IS_QLA24XX_TYPE(dr_ha)) >+ ptmp_hba_port->PortSupportedSpeed = EXT_DEF_PORTSPEED_4GBIT; >+ >+ else if (IS_QLA25XX(dr_ha)) >+ ptmp_hba_port->PortSupportedSpeed = EXT_DEF_PORTSPEED_8GBIT; >+ >+ > switch (dr_ha->link_data_rate) { > case 0: > ptmp_hba_port->PortSpeed = EXT_DEF_PORTSPEED_1GBIT; >@@ -1870,7 +1878,7 @@ qim_query_hba_port(struct qla_host_ioctl > ptmp_hba_port->PortSpeed = EXT_DEF_PORTSPEED_4GBIT; > break; > case 4: >- ptmp_hba_port->PortSpeed = EXT_DEF_PORTSPEED_10GBIT; >+ ptmp_hba_port->PortSpeed = EXT_DEF_PORTSPEED_8GBIT; > break; > default: > /* unknown */ >-- >1.4.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 450645
:
308785
|
308786
|
308787
|
308788
|
308789
|
308790
|
308791
|
308792
| 308793 |
308794
|
308795