[PATCH v2 0/6] qla2xxx: Add NVMe FC Fabric support in driver
Madhani, Himanshu
himanshu.madhani at cavium.com
Wed Jun 21 13:48:40 PDT 2017
From: Himanshu Madhani <himanshu.madhani at cavium.com>
Hi Martin,
This patch series adds NVMe FC fabric support for qla2xxx initiator mode
driver.
This series depends on the target multiqueue series that was sent out on
June 13,2017. (https://www.spinics.net/lists/linux-scsi/msg109827.html)
There are couple of new files qla_nvme.c and qla_nvme.h created to add
the changes needed for registration to NVMe FC transport template as well
as error handling logic.
Patch 1 adds NVMe bits to various driver resources to help with NVMe remote
port discovery and PRLI handling in the driver.
Patch 2 addes NVMe command handling in driver.
Patch 3 has bulk of NVMe changes which handles NVMe support based on a module
paramter which is used for firmware initialization and NVMe transport
registration. All the logic to handle NVMe command and error handling is also
included in qla_nvme.c file.
Patch 4 and 5 are trivial changes to FDMI registration to allow NVMe FC-4 type
to switch management server.
Please apply this series to for-next for inclusion in 4.13 merge window.
Note: Patch 2 does not compile due to change which are part of patch 3 needed
for sucessful compilation. Please apply patch 1-6 to be able to get
commpilable driver.
Changes from v1 --> v2
o Addressed review comments by Johannes and James Smart.
o Added Reviewed-by tags wherever applicable.
o Added Commit log for patches where applicable.
o Removed qla_nvme_hba_scan() as it turns out to be dead code until auto
discovery mechanism is implemeted in FC-NVMe.
o Remove un-needed while loop in qla_nvme_delete().
Thanks,
Himanshu
Duane Grigsby (5):
qla2xxx: Add FC-NVMe port discovery and PRLI handling
qla2xxx: Add FC-NVMe command handling
qla2xxx: Add FC-NVMe F/W initialization and transport registration
qla2xxx: Send FC4 type NVMe to the management server
qla2xxx: Use FC-NMVe FC4 type for FDMI registration
Himanshu Madhani (1):
qla2xxx: Update Driver version to 10.00.00.00-k
drivers/scsi/qla2xxx/Makefile | 2 +-
drivers/scsi/qla2xxx/qla_dbg.c | 9 +-
drivers/scsi/qla2xxx/qla_def.h | 54 ++-
drivers/scsi/qla2xxx/qla_fw.h | 35 +-
drivers/scsi/qla2xxx/qla_gbl.h | 18 +-
drivers/scsi/qla2xxx/qla_gs.c | 134 ++++++-
drivers/scsi/qla2xxx/qla_init.c | 187 ++++++++-
drivers/scsi/qla2xxx/qla_iocb.c | 57 +++
drivers/scsi/qla2xxx/qla_isr.c | 98 +++++
drivers/scsi/qla2xxx/qla_mbx.c | 54 ++-
drivers/scsi/qla2xxx/qla_nvme.c | 756 +++++++++++++++++++++++++++++++++++++
drivers/scsi/qla2xxx/qla_nvme.h | 132 +++++++
drivers/scsi/qla2xxx/qla_os.c | 60 ++-
drivers/scsi/qla2xxx/qla_target.c | 4 +-
drivers/scsi/qla2xxx/qla_version.h | 6 +-
15 files changed, 1559 insertions(+), 47 deletions(-)
create mode 100644 drivers/scsi/qla2xxx/qla_nvme.c
create mode 100644 drivers/scsi/qla2xxx/qla_nvme.h
--
2.12.0
More information about the Linux-nvme
mailing list