[PATCH 1/1] qla2xxx: Fix sparse warnings for N2N

2017-10-12 Thread Madhani, Madhani
From: Himanshu Madhani Fixes following warning reported by 0-day kernel test build drivers/scsi/qla2xxx/qla_iocb.c: In function 'qla2x00_els_dcmd2_iocb_timeout': drivers/scsi/qla2xxx/qla_iocb.c:2611:50: warning: format '%x' expects a matching 'unsigned int' argument [-Wformat=] "%s %d E

[PATCH v2 0/5] qla2xxx: Patches for scsi-misc

2017-10-13 Thread Madhani, Madhani
From: Himanshu Madhani Hi Martin, This series adds support for INTx mode for qla2xxx driver. Also, adds support for N2N login for FC-NVMe. Please apply to 4.15/scsi-queue at your earliest convenience. Changes from v1 -> v2 o Fixed warnings reported by 0-day kernel build. Thanks, Himanshu Du

[PATCH v2 1/5] qla2xxx: Add module param ql2xenablemsix

2017-10-13 Thread Madhani, Madhani
From: Himanshu Madhani Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_gbl.h | 1 + drivers/scsi/qla2xxx/qla_isr.c | 9 ++--- drivers/scsi/qla2xxx/qla_os.c | 9 + 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/s

[PATCH v2 2/5] qla2xxx: Add ATIO-Q processing for INTx mode

2017-10-13 Thread Madhani, Madhani
From: Himanshu Madhani Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_def.h| 1 + drivers/scsi/qla2xxx/qla_isr.c| 8 ++-- drivers/scsi/qla2xxx/qla_target.c | 12 +--- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_def

[PATCH v2 3/5] qla2xxx: Allow MBC_GET_PORT_DATABASE to query and save the port states

2017-10-13 Thread Madhani, Madhani
From: Duane Grigsby The MBC_GET_PORT_DATABASE command normally checks the port state informationi. This patch allows it to save that info in the fcport structure and ignore the check if the query flag is set. Signed-off-by: Duane Grigsby Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xx

[PATCH v2 5/5] qla2xxx: Update driver version to 10.00.00.02-k

2017-10-13 Thread Madhani, Madhani
From: Himanshu Madhani Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_version.h b/drivers/scsi/qla2xxx/qla_version.h index 8c4b505c9f66..b6ec02b96d3d 100644 --- a/drivers/scsi/q

[PATCH v2 4/5] qla2xxx: Changes to support N2N logins

2017-10-13 Thread Madhani, Madhani
From: Duane Grigsby If we discovered a topology that is N2N then we will issue a login to the target. If our WWPN is bigger than the target's WWPN then we will initiate login, otherwise we will just wait for the target to initiate login. Signed-off-by: Duane Grigsby Signed-off-by: Michael Herna

[PATCH 1/2] qla2xxx: Use ql2xnvmeenable to enable Q-Pair for FC-NVMe

2017-10-13 Thread Madhani, Madhani
From: Himanshu Madhani In some env, user can choose to not enable SCSI-MQ but wants to use FC-NVMe feature of the driver. Since driver relies on Q-Pairs to allocate FC-NVMe resources, use existing module parameter to create Q-Pairs when FC-NVMe is enabled. Signed-off-by: Himanshu Madhani --- d

[PATCH 2/2] qla2xxx: Query FC4 type during RSCN processing

2017-10-13 Thread Madhani, Madhani
From: Giridhar Malavali Based on the FC4 type, login will proceed to either FCP or FC-NVMe remote ports. Signed-off-by: Giridhar Malavali Signed-off-by: Himanshu Madhani --- drivers/scsi/qla2xxx/qla_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/

[PATCH 0/2] qla2xxx: Couple bug fixes for FC-NVMe

2017-10-13 Thread Madhani, Madhani
From: Himanshu Madhani Hi Martin, This series has couple bug fixes for FC-NVMe code path. Please apply them to 4.15/scsi-queue at your earliest convenience. Thanks, Himanshu Giridhar Malavali (1): qla2xxx: Query FC4 type during RSCN processing Himanshu Madhani (1): qla2xxx: Use ql2xnvme