Skip to content

qla2xxx: Code Refactoring

Anirban Chakraborty linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5qla2xxx: Code Refactoringdrivers/scsi/qla2xxx/qla_def.h drivers/scsi/qla2xxx/qla_gbl.h drivers/scsi/qla2xxx/qla_inline.h +1 more+299 -2700 replies
2/5qla2xxx: Code Refactoringdrivers/scsi/qla2xxx/qla_attr.c drivers/scsi/qla2xxx/qla_dbg.c drivers/scsi/qla2xxx/qla_dfs.c +1 more+451 -4080 replies
3/5qla2xxx: Code Refactoringdrivers/scsi/qla2xxx/qla_init.c drivers/scsi/qla2xxx/qla_iocb.c drivers/scsi/qla2xxx/qla_isr.c+1048 -9560 replies
4/5qla2xxx: Code Refactoringdrivers/scsi/qla2xxx/qla_mbx.c drivers/scsi/qla2xxx/qla_mid.c+462 -4700 replies
5/5qla2xxx: Code Refactoringdrivers/scsi/qla2xxx/qla_os.c drivers/scsi/qla2xxx/qla_sup.c+982 -8290 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] 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