Skip to contentSkip to conversation

qla2xxx: Code Refactoring

PATCH In review Anirban Chakraborty 3 participants 3 messages Oct 16, 2008 SCSI

lore
Share & tools
lore
#0 lore raw

cover qla2xxx: Code Refactoring

Hi,

We have refactored the qla2xxx FC driver in preparation for the multi queue and future SR IOV hardware. Following changes are made to the driver.

1. scsi_qla_host structure has been changed to contain scsi host specific data only.
2. A new structure, qla_hw_data is created to contain HBA specific hardware data
3. Request and response IO specific data strucures are created.
4. Outstanding commands are now based to a request queue.
5. The global list of fcports for the hba is not maintained anymore, instead a fcport list is construted on per scsi_qla_host.
6. start_scsi function is now accessed via function pointer from the isp_ops struct.
7. Interrupt handler registrations are done with the rsp_que, instead of the device id.

Thank you,
Anirban

#1 lore raw
Quoted 17 lines · Anirban Chakraborty

Hi,

We have refactored the qla2xxx FC driver in preparation for the multi queue and future SR IOV hardware. Following changes are made to the driver.

1. scsi_qla_host structure has been changed to contain scsi host specific data only.
2. A new structure, qla_hw_data is created to contain HBA specific hardware data
3. Request and response IO specific data strucures are created.
4. Outstanding commands are now based to a request queue.
5. The global list of fcports for the hba is not maintained anymore, instead a fcport list is construted on per scsi_qla_host.
6. start_scsi function is now accessed via function pointer from the isp_ops struct.
7. Interrupt handler registrations are done with the rsp_que, instead of the device id.

Quoted 2 lines

Thank you,
Anirban

Please note that the "From" address in these patches was set incorrectly as [email protected]. It should be [email protected]. I am sorry if this has caused any inconvenience to anyone. Thanks a lot.
Anirban

#2 lore raw
Quoted 5 lines · Anirban Chakraborty

Please note that the "From" address in these patches was set incorrectly as [email protected]. It should be [email protected]. I am sorry if this has caused any inconvenience to anyone.
Thanks a lot.
Anirban

Also please note that the Subject: line of each patch was the same (except for the patch number). :(

Please read/study "The Perfect Patch" at
http://userweb.kernel.org/~akpm/stuff/tpp.txt

Signature · 1 line
~Randy