[PATCH v6 3/9] snic:Add meta request, handling of meta requests.

2015-05-27 Thread Narsimhulu Musini
-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v6 - Fixed bit width and endianness. * v3 - Removed request alignment functionality. drivers/scsi/snic/snic_io.c | 518 drivers/scsi/snic/snic_io.h | 118 ++ 2 files changed, 636

[PATCH v6 5/9] snic:add SCSI handling, AEN, and fwreset handling

2015-05-27 Thread Narsimhulu Musini
snic_scsi.c contains scsi handling, includes queuing io, abort, lun reset, and host reset. Also it handles asynchronous event notifications from FW. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v6 - Fixed bit width and endianness. * v5 - Fixed host byte codes for the

[PATCH v6 6/9] snic:Add low level queuing interfaces

2015-05-27 Thread Narsimhulu Musini
These files contain low level queueing interfaces includes hardware queues, and management of hardware features. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v6 - Fixed bit width and endianness. * v5 - removed macro definitions that rename function names. * v3

[PATCH v6 4/9] snic:Add snic target discovery

2015-05-27 Thread Narsimhulu Musini
snic_disc.h contains snic target structure definition. snic_disc.c contains target discovery, setup, lookup, and cleanup snic_ctl.c contains retrieval of snic capabilities includes max ios, size, SGs per request, and max concurrent requests. Signed-off-by: Narsimhulu Musini Signed-off-by

[PATCH v6 7/9] snic:Add sysfs entries to list stats and trace data

2015-05-27 Thread Narsimhulu Musini
snic_stats.h contains stats structre definitions for various events in snic driver. snic_debugfs.c contains setup and cleanup of sysfs entries for listing stats, resetting stats, enabling/disabling trace, and listing trace data. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela

[PATCH v6 2/9] snic:Add interrupt, resource firmware interfaces

2015-05-27 Thread Narsimhulu Musini
: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v6 - Fixed bit width and endianness. * v4 - Updated comment on future changes when hardware supports multiple queues. * v3 - Cleaned up unused structure definitions and functions. drivers/scsi/snic/snic_fwint.h | 525

[PATCH v6 8/9] snic:Add event tracing to capture IO events.

2015-05-27 Thread Narsimhulu Musini
, panic, etc,. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v6 - Fixed compilation issues on ppc64. * v2 - Added compile time macro SNIC_DEBUG_FS to handle debugfs dependent functionality. drivers/scsi/snic/snic_trc.c | 181

[PATCH v6 1/9] snic: snic module infrastructure

2015-05-27 Thread Narsimhulu Musini
, and driver version under /sys/class/scsi_host/host/ Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v4 - Replaced scratch pad usage with private data structure for internal use. - Changed cmd_per_lun to default queue depth. - Removed snic_os.h file and replaced the wrappers

[PATCH v6 0/9] snic:initial submission of snic driver for Cisco SCSI HBA

2015-05-27 Thread Narsimhulu Musini
ke's review comments. Thanks Narsimhulu Musini & Sesidhar Baddela Narsimhulu Musini (9): snic: snic module infrastructure snic:Add interrupt, resource firmware interfaces snic:Add meta request, handling of meta requests. snic:Add snic target discovery snic:add SCSI handli

[PATCH v6 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-05-27 Thread Narsimhulu Musini
Kconfig for kbuild Makefile to build snic module Updated MAINTAINERS file Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Added additional config section (CONFIG_SNIC_DEBUG_FS) for enabling debugging functionality. * v2 - Added compile time flags for debugfs

[PATCH v7 2/9] snic:Add interrupt, resource firmware interfaces

2015-05-29 Thread Narsimhulu Musini
: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v7 - Fixed comments. * v6 - Fixed bit width and endianness. * v4 - Updated comment on future changes when hardware supports multiple queues. * v3 - Cleaned up unused structure definitions and functions. drivers/scsi/snic/snic_fwint.h | 525

[PATCH v7 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-05-29 Thread Narsimhulu Musini
Kconfig for kbuild Makefile to build snic module Updated MAINTAINERS file Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Added additional config section (CONFIG_SNIC_DEBUG_FS) for enabling debugging functionality. * v2 - Added compile time flags for debugfs

[PATCH v7 5/9] snic:add SCSI handling, AEN, and fwreset handling

2015-05-29 Thread Narsimhulu Musini
snic_scsi.c contains scsi handling, includes queuing io, abort, lun reset, and host reset. Also it handles asynchronous event notifications from FW. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v7 - Removed SNIC_DEBUG macro. * v6 - Fixed bit width and endianness

[PATCH v7 0/9] snic:initial submission of snic driver for Cisco SCSI HBA

2015-05-29 Thread Narsimhulu Musini
rated Christoph Hellwig's comments. * v3 - Incorporated Dr. Hannes Reinecke's review comments. * v2 - Incorporated Dr. Hannes Reinecke's review comments. Thanks Narsimhulu Musini & Sesidhar Baddela Narsimhulu Musini (9): snic: snic module infrastructure snic

[PATCH v7 8/9] snic:Add event tracing to capture IO events.

2015-05-29 Thread Narsimhulu Musini
, panic, etc,. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v7 - Removed SNIC_DEBUG_FS macro, and replaced it with CONFIG_SCSI_SNIC_DEBUG_FS * v6 - Fixed compilation issues on ppc64. * v2 - Added compile time macro SNIC_DEBUG_FS to handle debugfs dependent

[PATCH v7 7/9] snic:Add sysfs entries to list stats and trace data

2015-05-29 Thread Narsimhulu Musini
snic_stats.h contains stats structre definitions for various events in snic driver. snic_debugfs.c contains setup and cleanup of sysfs entries for listing stats, resetting stats, enabling/disabling trace, and listing trace data. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela

[PATCH v7 1/9] snic: snic module infrastructure

2015-05-29 Thread Narsimhulu Musini
, and driver version under /sys/class/scsi_host/host/ Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v7 - Removed SNIC_DEBUG_FS macro, and replaced it with CONFIG_SCSI_SNIC_DEBUG_FS * v4 - Replaced scratch pad usage with private data structure for internal use. - Changed

[PATCH v7 3/9] snic:Add meta request, handling of meta requests.

2015-05-29 Thread Narsimhulu Musini
-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v6 - Fixed bit width and endianness. * v3 - Removed request alignment functionality. drivers/scsi/snic/snic_io.c | 518 drivers/scsi/snic/snic_io.h | 118 ++ 2 files changed, 636

[PATCH v7 6/9] snic:Add low level queuing interfaces

2015-05-29 Thread Narsimhulu Musini
These files contain low level queueing interfaces includes hardware queues, and management of hardware features. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v6 - Fixed bit width and endianness. * v5 - removed macro definitions that rename function names. * v3

[PATCH v7 4/9] snic:Add snic target discovery

2015-05-29 Thread Narsimhulu Musini
snic_disc.h contains snic target structure definition. snic_disc.c contains target discovery, setup, lookup, and cleanup snic_ctl.c contains retrieval of snic capabilities includes max ios, size, SGs per request, and max concurrent requests. Signed-off-by: Narsimhulu Musini Signed-off-by

[PATCH v7 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-05-29 Thread Narsimhulu Musini
Kconfig for kbuild Makefile to build snic module Updated MAINTAINERS file Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v7 - Removed SNIC_DEBUG_FS macro, and replaced it with CONFIG_SCSI_SNIC_DEBUG_FS * v3 - Added additional config section (CONFIG_SNIC_DEBUG_FS) for

[PATCH 1/1] snic: Fixing duplicate cache names

2015-06-25 Thread Narsimhulu Musini
This patch fixes duplicate cache names. Signed-off-by: Narsimhulu Musini --- drivers/scsi/snic/snic_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/snic/snic_main.c b/drivers/scsi/snic/snic_main.c index b2b87ce..47ed593 100644 --- a/drivers/scsi/snic

[PATCH 6/8] snic: Fixing race in the hba reset and IO/TM completion

2016-03-18 Thread Narsimhulu Musini
While HBA reset is in progress, if IO/TM completion is received for the same IO then IO/TM completion path releases the driver private resources associated with IO. This fix prevents releasing the resources in IO and TM completion path if HBA reset is in progress. Signed-off-by: Narsimhulu Musini

[PATCH 1/8] snic: Added additional stats

2016-03-19 Thread Narsimhulu Musini
Adding additional stats, and fixed logging messages. - Added qdepth change stats - Added separate isr stats for each type of interrupt - Fixed race in updating active IOs - Suppressed Link event message for DAS backend. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela

[PATCH 4/8] snic: target cleanup in driver unload path

2016-03-19 Thread Narsimhulu Musini
Fix deletes the snic targets synchronously prior to deletion of host. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_disc.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/snic/snic_disc.c b

[PATCH 7/8] snic: add scsi host after determining max IOs.

2016-03-19 Thread Narsimhulu Musini
scsi host is added after negotiating the max number of IOs with Firmware. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_main.c | 35 +-- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/drivers/scsi

[PATCH 2/8] snic: LUN goes offline due to scsi cmd timeouts

2016-03-19 Thread Narsimhulu Musini
- LUN goes offline, if there are atleast two scsi command timeouts Completing the IO with scsi_done() fixes the issue. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_scsi.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a

[PATCH 5/8] snic: Fix for missing interrupts

2016-03-19 Thread Narsimhulu Musini
condition. - The fix also reserves a slot in transmit queue for hba reset. when queue full is observed during IO, there will always be room to post hba reset command. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_fwint.h | 4 ++- drivers/scsi/snic

[PATCH 8/8] snic: updating driver version

2016-03-19 Thread Narsimhulu Musini
updated driver version to 0.0.1.26 Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/snic/snic.h b/drivers/scsi/snic/snic.h index 8ed778d..31cb20b 100644 --- a/drivers

[PATCH 3/8] snic: Handling control path queue issues

2016-03-19 Thread Narsimhulu Musini
Fix handles control path queue issues such as queue full, and sudden removal of hardware. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/vnic_dev.c | 44 ++-- 1 file changed, 30 insertions(+), 14 deletions(-) diff

[PATCH 3/9] snic:Add meta request, handling of meta requests.

2015-02-10 Thread Narsimhulu Musini
-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_io.c | 546 drivers/scsi/snic/snic_io.h | 111 + 2 files changed, 657 insertions(+) create mode 100644 drivers/scsi/snic/snic_io.c create mode 100644 drivers

[PATCH 5/9] snic:add SCSI handling, AEN, and fwreset handling

2015-02-10 Thread Narsimhulu Musini
snic_scsi.c contains scsi handling, includes queuing io, abort, lun reset, and host reset. Also it handles asynchronous event notifications from FW. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_scsi.c | 2630

[PATCH 8/9] snic:Add event tracing to capture IO events.

2015-02-10 Thread Narsimhulu Musini
, panic, etc,. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_trc.c | 183 +++ drivers/scsi/snic/snic_trc.h | 102 2 files changed, 285 insertions(+) create mode 100644 drivers/scsi/snic

[PATCH 4/9] snic:Add snic target discovery

2015-02-10 Thread Narsimhulu Musini
snic_disc.h contains snic target structure definition. snic_disc.c contains target discovery, setup, lookup, and cleanup snic_ctl.c contains retrieval of snic capabilities includes max ios, size, SGs per request, and max concurrent requests. Signed-off-by: Narsimhulu Musini Signed-off-by

[PATCH 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-02-10 Thread Narsimhulu Musini
Kconfig for kbuild Makefile to build snic module Updated MAINTAINERS file Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- MAINTAINERS| 7 +++ drivers/scsi/Kconfig | 10 ++ drivers/scsi/Makefile | 1 + drivers/scsi/snic/Makefile

[PATCH 7/9] snic:Add sysfs entries to list stats and trace data

2015-02-10 Thread Narsimhulu Musini
snic_stats.h contains stats structre definitions for various events in snic driver. snic_debugfs.c contains setup and cleanup of sysfs entries for listing stats, resetting stats, enabling/disabling trace, and listing trace data. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela

[PATCH 2/9] snic:Add interrupt, resource firmware interfaces

2015-02-10 Thread Narsimhulu Musini
: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_fwint.h | 567 + drivers/scsi/snic/snic_isr.c | 206 +++ drivers/scsi/snic/snic_res.c | 318 +++ drivers/scsi/snic/snic_res.h | 96 +++ 4 files

[PATCH 0/9] snic:initial submission of snic driver for Cisco SCSI HBA

2015-02-10 Thread Narsimhulu Musini
storage. We would appreciate any review comments. Thanks Narsimhulu Musini and Sesidhar Baddela Narsimhulu Musini (9): snic: snic module infrastructure snic:Add interrupt, resource firmware interfaces snic:Add meta request, handling of meta requests. snic:Add snic target

[PATCH 6/9] snic:Add low level queuing interfaces

2015-02-10 Thread Narsimhulu Musini
These files contain low level queueing interfaces includes hardware queues, and management of hardware features. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/cq_desc.h | 77 drivers/scsi/snic/cq_enet_desc.h | 38 ++ drivers/scsi/snic

[PATCH 1/9] snic: snic module infrastructure

2015-02-10 Thread Narsimhulu Musini
attributes to list snic state, link state, and driver version under /sys/class/scsi_host/host/ Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic.h | 422 + drivers/scsi/snic/snic_attrs.c | 80 drivers/scsi/snic/snic_main.c

[PATCH v2 3/9] snic:Add meta request, handling of meta requests.

2015-03-11 Thread Narsimhulu Musini
-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_io.c | 546 drivers/scsi/snic/snic_io.h | 111 + 2 files changed, 657 insertions(+) create mode 100644 drivers/scsi/snic/snic_io.c create mode 100644 drivers

[PATCH v2 6/9] snic:Add low level queuing interfaces

2015-03-11 Thread Narsimhulu Musini
These files contain low level queueing interfaces includes hardware queues, and management of hardware features. v2 driver supports x86-64 arch, so removed cpu_to_XX API to maintain consistency. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/cq_desc.h

[PATCH v2 5/9] snic:add SCSI handling, AEN, and fwreset handling

2015-03-11 Thread Narsimhulu Musini
snic_scsi.c contains scsi handling, includes queuing io, abort, lun reset, and host reset. Also it handles asynchronous event notifications from FW. v2 Changed queuecommand to lock-free version. Converted custom error codes to standard error codes. Signed-off-by: Narsimhulu Musini Signed-off-by

[PATCH v2 0/9] snic:initial submission of snic driver for Cisco SCSI HBA

2015-03-11 Thread Narsimhulu Musini
storage. We would appreciate any review comments. v2 Incorporated Dr. Hannes Reinecke's review comments. Thanks Narsimhulu Musini and Sesidhar Baddela Narsimhulu Musini (9): snic: snic module infrastructure snic:Add interrupt, resource firmware interfaces snic:Add meta re

[PATCH v2 8/9] snic:Add event tracing to capture IO events.

2015-03-11 Thread Narsimhulu Musini
, panic, etc,. v2 Added compile time macro SNIC_DEBUG_FS to handle debugfs dependent functionality. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_trc.c | 183 +++ drivers/scsi/snic/snic_trc.h | 121

[PATCH v2 2/9] snic:Add interrupt, resource firmware interfaces

2015-03-12 Thread Narsimhulu Musini
: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic_fwint.h | 567 + drivers/scsi/snic/snic_isr.c | 206 +++ drivers/scsi/snic/snic_res.c | 318 +++ drivers/scsi/snic/snic_res.h | 96 +++ 4 files

[PATCH v2 1/9] snic: snic module infrastructure

2015-03-12 Thread Narsimhulu Musini
attributes to list snic state, link state, and driver version under /sys/class/scsi_host/host/ v2 Added Compile time macro for debugfs dependent functionality. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- drivers/scsi/snic/snic.h | 421 + drivers

[PATCH v2 7/9] snic:Add sysfs entries to list stats and trace data

2015-03-12 Thread Narsimhulu Musini
snic_stats.h contains stats structre definitions for various events in snic driver. snic_debugfs.c contains setup and cleanup of sysfs entries for listing stats, resetting stats, enabling/disabling trace, and listing trace data. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela

[PATCH v2 4/9] snic:Add snic target discovery

2015-03-12 Thread Narsimhulu Musini
snic_disc.h contains snic target structure definition. snic_disc.c contains target discovery, setup, lookup, and cleanup snic_ctl.c contains retrieval of snic capabilities includes max ios, size, SGs per request, and max concurrent requests. Signed-off-by: Narsimhulu Musini Signed-off-by

[PATCH v2 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-03-12 Thread Narsimhulu Musini
Kconfig for kbuild Makefile to build snic module Updated MAINTAINERS file v2 Added compile time flags for debugfs dependent functionality. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- MAINTAINERS| 7 +++ drivers/scsi/Kconfig | 10

[PATCH v3 3/9] snic:Add meta request, handling of meta requests.

2015-04-02 Thread Narsimhulu Musini
-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Removed request alignment functionality. drivers/scsi/snic/snic_io.c | 520 drivers/scsi/snic/snic_io.h | 109 ++ 2 files changed, 629 insertions(+) create mode 100644 drivers

[PATCH v3 0/9] snic:initial submission of snic driver for Cisco SCSI HBA

2015-04-02 Thread Narsimhulu Musini
storage. * v3 - Incorporated Dr. Hannes Reinecke's review comments. * v2 - Incorporated Dr. Hannes Reinecke's review comments. Thanks Narsimhulu Musini & Sesidhar Baddela Narsimhulu Musini (9): snic: snic module infrastructure snic:Add interrupt, resource firmw

[PATCH v3 2/9] snic:Add interrupt, resource firmware interfaces

2015-04-02 Thread Narsimhulu Musini
: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Cleaned up unused structure definitions and functions. drivers/scsi/snic/snic_fwint.h | 525 + drivers/scsi/snic/snic_isr.c | 202 drivers/scsi/snic/snic_res.c | 297

[PATCH v3 7/9] snic:Add sysfs entries to list stats and trace data

2015-04-02 Thread Narsimhulu Musini
snic_stats.h contains stats structre definitions for various events in snic driver. snic_debugfs.c contains setup and cleanup of sysfs entries for listing stats, resetting stats, enabling/disabling trace, and listing trace data. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela

[PATCH v3 6/9] snic:Add low level queuing interfaces

2015-04-02 Thread Narsimhulu Musini
These files contain low level queueing interfaces includes hardware queues, and management of hardware features. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Cleaned up unused functions. * v2 - driver supports x86-64 arch, so removed cpu_to_XX API to maintain

[PATCH v3 1/9] snic: snic module infrastructure

2015-04-02 Thread Narsimhulu Musini
attributes to list snic state, link state, and driver version under /sys/class/scsi_host/host/ Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Cleaned up unused functions, structure members, and redundant comments. - Fixed a typo in time computation. * v2 - Added

[PATCH v3 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-04-02 Thread Narsimhulu Musini
Kconfig for kbuild Makefile to build snic module Updated MAINTAINERS file Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Added additional config section (CONFIG_SNIC_DEBUG_FS) for enabling debugging functionality. * v2 - Added compile time flags for debugfs

[PATCH v3 4/9] snic:Add snic target discovery

2015-04-02 Thread Narsimhulu Musini
snic_disc.h contains snic target structure definition. snic_disc.c contains target discovery, setup, lookup, and cleanup snic_ctl.c contains retrieval of snic capabilities includes max ios, size, SGs per request, and max concurrent requests. Signed-off-by: Narsimhulu Musini Signed-off-by

[PATCH v3 8/9] snic:Add event tracing to capture IO events.

2015-04-02 Thread Narsimhulu Musini
, panic, etc,. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v2 - Added compile time macro SNIC_DEBUG_FS to handle debugfs dependent functionality. drivers/scsi/snic/snic_trc.c | 183 +++ drivers/scsi/snic/snic_trc.h | 121

[PATCH v3 5/9] snic:add SCSI handling, AEN, and fwreset handling

2015-04-02 Thread Narsimhulu Musini
snic_scsi.c contains scsi handling, includes queuing io, abort, lun reset, and host reset. Also it handles asynchronous event notifications from FW. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v2 - Changed queuecommand to lock-free version. - Converted custom error

[PATCH v4 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-04-09 Thread Narsimhulu Musini
Kconfig for kbuild Makefile to build snic module Updated MAINTAINERS file Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Added additional config section (CONFIG_SNIC_DEBUG_FS) for enabling debugging functionality. * v2 - Added compile time flags for debugfs

[PATCH v4 4/9] snic:Add snic target discovery

2015-04-09 Thread Narsimhulu Musini
snic_disc.h contains snic target structure definition. snic_disc.c contains target discovery, setup, lookup, and cleanup snic_ctl.c contains retrieval of snic capabilities includes max ios, size, SGs per request, and max concurrent requests. Signed-off-by: Narsimhulu Musini Signed-off-by

[PATCH v4 1/9] snic: snic module infrastructure

2015-04-09 Thread Narsimhulu Musini
, and driver version under /sys/class/scsi_host/host/ Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v4 - Replaced scratch pad usage with private data structure for internal use. - Changed cmd_per_lun to default queue depth. - Removed snic_os.h file and replaced the wrappers

[PATCH v4 0/9] snic:initial submission of snic driver for Cisco SCSI HBA

2015-04-09 Thread Narsimhulu Musini
storage. * v4 - Incorporated Christoph Hellwig's comments. * v3 - Incorporated Dr. Hannes Reinecke's review comments. * v2 - Incorporated Dr. Hannes Reinecke's review comments. Thanks Narsimhulu Musini & Sesidhar Baddela Narsimhulu Musini (9): snic: snic mo

[PATCH v4 3/9] snic:Add meta request, handling of meta requests.

2015-04-09 Thread Narsimhulu Musini
-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Removed request alignment functionality. drivers/scsi/snic/snic_io.c | 519 drivers/scsi/snic/snic_io.h | 118 ++ 2 files changed, 637 insertions(+) create mode 100644 drivers

[PATCH v4 6/9] snic:Add low level queuing interfaces

2015-04-09 Thread Narsimhulu Musini
These files contain low level queueing interfaces includes hardware queues, and management of hardware features. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Cleaned up unused functions. * v2 - driver supports x86-64 arch, so removed cpu_to_XX API to maintain

[PATCH v4 5/9] snic:add SCSI handling, AEN, and fwreset handling

2015-04-09 Thread Narsimhulu Musini
snic_scsi.c contains scsi handling, includes queuing io, abort, lun reset, and host reset. Also it handles asynchronous event notifications from FW. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v2 - Changed queuecommand to lock-free version. - Converted custom error

[PATCH v4 2/9] snic:Add interrupt, resource firmware interfaces

2015-04-09 Thread Narsimhulu Musini
: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v4 - Updated comment on future changes when hardware supports multiple queues. * v3 - Cleaned up unused structure definitions and functions. drivers/scsi/snic/snic_fwint.h | 525 + drivers/scsi/snic

[PATCH v4 7/9] snic:Add sysfs entries to list stats and trace data

2015-04-09 Thread Narsimhulu Musini
snic_stats.h contains stats structre definitions for various events in snic driver. snic_debugfs.c contains setup and cleanup of sysfs entries for listing stats, resetting stats, enabling/disabling trace, and listing trace data. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela

[PATCH v4 8/9] snic:Add event tracing to capture IO events.

2015-04-09 Thread Narsimhulu Musini
, panic, etc,. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v2 - Added compile time macro SNIC_DEBUG_FS to handle debugfs dependent functionality. drivers/scsi/snic/snic_trc.c | 182 +++ drivers/scsi/snic/snic_trc.h | 121

[PATCH v5 3/9] snic:Add meta request, handling of meta requests.

2015-04-22 Thread Narsimhulu Musini
-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Removed request alignment functionality. drivers/scsi/snic/snic_io.c | 519 drivers/scsi/snic/snic_io.h | 118 ++ 2 files changed, 637 insertions(+) create mode 100644 drivers

[PATCH v5 1/9] snic: snic module infrastructure

2015-04-22 Thread Narsimhulu Musini
, and driver version under /sys/class/scsi_host/host/ Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v4 - Replaced scratch pad usage with private data structure for internal use. - Changed cmd_per_lun to default queue depth. - Removed snic_os.h file and replaced the wrappers

[PATCH v5 2/9] snic:Add interrupt, resource firmware interfaces

2015-04-22 Thread Narsimhulu Musini
: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v4 - Updated comment on future changes when hardware supports multiple queues. * v3 - Cleaned up unused structure definitions and functions. drivers/scsi/snic/snic_fwint.h | 525 + drivers/scsi/snic

[PATCH v5 7/9] snic:Add sysfs entries to list stats and trace data

2015-04-22 Thread Narsimhulu Musini
snic_stats.h contains stats structre definitions for various events in snic driver. snic_debugfs.c contains setup and cleanup of sysfs entries for listing stats, resetting stats, enabling/disabling trace, and listing trace data. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela

[PATCH v5 4/9] snic:Add snic target discovery

2015-04-22 Thread Narsimhulu Musini
snic_disc.h contains snic target structure definition. snic_disc.c contains target discovery, setup, lookup, and cleanup snic_ctl.c contains retrieval of snic capabilities includes max ios, size, SGs per request, and max concurrent requests. Signed-off-by: Narsimhulu Musini Signed-off-by

[PATCH v5 6/9] snic:Add low level queuing interfaces

2015-04-22 Thread Narsimhulu Musini
These files contain low level queueing interfaces includes hardware queues, and management of hardware features. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v5 - removed macro definitions that rename function names. * v3 - Cleaned up unused functions. * v2 - driver

[PATCH v5 8/9] snic:Add event tracing to capture IO events.

2015-04-22 Thread Narsimhulu Musini
, panic, etc,. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v2 - Added compile time macro SNIC_DEBUG_FS to handle debugfs dependent functionality. drivers/scsi/snic/snic_trc.c | 182 +++ drivers/scsi/snic/snic_trc.h | 121

[PATCH v5 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-04-22 Thread Narsimhulu Musini
Kconfig for kbuild Makefile to build snic module Updated MAINTAINERS file Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Added additional config section (CONFIG_SNIC_DEBUG_FS) for enabling debugging functionality. * v2 - Added compile time flags for debugfs

[PATCH v5 5/9] snic:add SCSI handling, AEN, and fwreset handling

2015-04-22 Thread Narsimhulu Musini
snic_scsi.c contains scsi handling, includes queuing io, abort, lun reset, and host reset. Also it handles asynchronous event notifications from FW. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v5 - Fixed host byte codes for the failed IOs. * v2 - Changed queuecommand

[PATCH v5 0/9] snic:initial submission of snic driver for Cisco SCSI HBA

2015-04-22 Thread Narsimhulu Musini
storage. * v5 - Incorporated Dr. Hannes Reinecke's review comments. * v4 - Incorporated Christoph Hellwig's comments. * v3 - Incorporated Dr. Hannes Reinecke's review comments. * v2 - Incorporated Dr. Hannes Reinecke's review comments. Thanks Narsimhulu Musin

Re: [PATCH v6 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-05-27 Thread Narsimhulu Musini (nmusini)
Hi Boaz, Thank you for reviewing patch. Please find responses inline. On 27/05/15 2:47 pm, "Boaz Harrosh" wrote: >On 05/27/2015 10:19 AM, Narsimhulu Musini wrote: >> Kconfig for kbuild >> Makefile to build snic module >> >> Updated MAINTAINERS file &g

Re: [PATCH v6 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-05-28 Thread Narsimhulu Musini (nmusini)
Hi Boaz, Sure, I will incorporate the comments and suggestions in next patch submittal. Thanks Narsimhulu On 27/05/15 4:55 pm, "Boaz Harrosh" wrote: >On 05/27/2015 01:02 PM, Narsimhulu Musini (nmusini) wrote: ><> >>>> +ifeq ($(CONFIG_SCSI_

Re: [PATCH v6 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-05-28 Thread Narsimhulu Musini (nmusini)
Hi Johannes, Thank you for reviewing the patches. I will incorporate your comments in next patch submittal. On 28/05/15 7:12 pm, "Johannes Thumshirn" wrote: >On Thu, May 28, 2015 at 09:49:08AM +0000, Narsimhulu Musini (nmusini) >wrote: >> Hi Boaz, &

Re: [PATCH v6 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-05-28 Thread Narsimhulu Musini (nmusini)
ndianness issues. However > >On Wed, 2015-05-27 at 00:19 -0700, Narsimhulu Musini wrote: >> diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig >> index 9c92f41..8baab3f 100644 >> --- a/drivers/scsi/Kconfig >> +++ b/drivers/scsi/Kconfig >> @@ -634,6 +634,23

Re: [PATCH v7 7/9] snic:Add sysfs entries to list stats and trace data

2015-06-14 Thread Narsimhulu Musini (nmusini)
Hi James, Thanks for fixing the errors. the check patch that I used didnĀ¹t list them as error, probably a lower version. Thank you very much for mentoring. Thanks Narsimhulu On 13/06/15 9:47 pm, "James Bottomley" wrote: >On Fri, 2015-05-29 at 01:04 -0700, Narsimhulu

Re: [PATCH v7 8/9] snic:Add event tracing to capture IO events.

2015-06-14 Thread Narsimhulu Musini (nmusini)
Hi James, Thanks for fixing the errors. Thank you very much for mentoring and help. Thanks Narsimhulu On 13/06/15 9:50 pm, "James Bottomley" wrote: >On Fri, 2015-05-29 at 01:04 -0700, Narsimhulu Musini wrote: >> +#define SNIC_TRC(_hno, _tag, d1, d2, d3, d4,

Re: [PATCH 1/1] scsi/snic: fixing the error print

2015-06-25 Thread Narsimhulu Musini (nmusini)
nly for non-zero return from snic_disc_start. > >Signed-off-by: Maninder Singh >Reviewed-by: Rohit Thapliyal Acked-by: Narsimhulu Musini -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH] snic: Return error code on memory allocation failure

2016-12-21 Thread Narsimhulu Musini (nmusini)
061 > >Reported-by: bianpan2...@ruc.edu.cn >Signed-off-by: Burak Ok >Signed-off-by: Andreas Schaertl Acked-by: Narsimhulu Musini >--- > drivers/scsi/snic/snic_main.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/drivers/scsi/snic/snic_main.c b/drivers/scsi

Re: [PATCH] snic: switch to pci_irq_alloc_vectors

2017-02-14 Thread Narsimhulu Musini (nmusini)
Hi Martin, Thanks for the changes. Looks good. Verified. Acked-by: Narsimhulu Musini Thanks simha On 07/02/17 5:47 am, "Martin K. Petersen" wrote: >>>>>> "Christoph" == Christoph Hellwig writes: > >Narsimhulu, > >Please test and re

Re: [PATCH] snic: correctly check for array overrun on overly long version number

2016-03-02 Thread Narsimhulu Musini (nmusini)
n v >allowing one to pass a 5 decimal version number causing v[4] to be >referenced, causing a buffer overrun. Fix the off-by-one error by >comparing to i > 3 rather than 4. Acked-by: Narsimhulu Musini > >Signed-off-by: Colin Ian King >--- > drivers/scsi/snic/snic

Re: [PATCH 2/9] snic:Add interrupt, resource firmware interfaces

2015-03-11 Thread Narsimhulu Musini (nmusini)
Hi Hannes, Thank you for reviewing the patch. Please find responses inline. I will incorporate the comments and suggests in next patch submittal. On 02/03/15 6:23 pm, "Hannes Reinecke" wrote: >Hi Narsimhulu, > >please find comments inline. > >On 02/10/2015 05:43 PM

Re: [PATCH 4/9] snic:Add snic target discovery

2015-03-11 Thread Narsimhulu Musini (nmusini)
Hi Hannes, Thank you for reviewing the patch. Thanks Narsimhulu On 02/03/15 6:29 pm, "Hannes Reinecke" wrote: >On 02/10/2015 05:43 PM, Narsimhulu Musini wrote: >> snic_disc.h contains snic target structure definition. >> >> snic_disc.c contains target discov

Re: [PATCH 7/9] snic:Add sysfs entries to list stats and trace data

2015-03-11 Thread Narsimhulu Musini (nmusini)
Hi Hannes, Thank you for reviewing the patch. Thanks Narsimhulu On 02/03/15 7:03 pm, "Hannes Reinecke" wrote: >On 02/10/2015 05:43 PM, Narsimhulu Musini wrote: >> snic_stats.h contains stats structre definitions for various events >> in snic driver. >> >&

Re: [PATCH 6/9] snic:Add low level queuing interfaces

2015-03-11 Thread Narsimhulu Musini (nmusini)
Hi Hannes, Thank you for reviewing the patch. Please find responses inline. I will incorporate your comments and suggestions in next patch submittal. On 02/03/15 7:02 pm, "Hannes Reinecke" wrote: >On 02/10/2015 05:43 PM, Narsimhulu Musini wrote: >> These files contain

Re: [PATCH 5/9] snic:add SCSI handling, AEN, and fwreset handling

2015-03-11 Thread Narsimhulu Musini (nmusini)
Hi Hannes, Thank you for reviewing the patch. Please find responses inline. I will incorporate the comments and suggestions in next patch submittal. On 02/03/15 6:56 pm, "Hannes Reinecke" wrote: >Hi Narsimhulu, > >please find comments inline. > >On 02/10/2015 05

Re: [PATCH 8/9] snic:Add event tracing to capture IO events.

2015-03-11 Thread Narsimhulu Musini (nmusini)
Hi Hannes, Thank you for reviewing the patch. Please find responses inline. On 02/03/15 7:04 pm, "Hannes Reinecke" wrote: >On 02/10/2015 05:43 PM, Narsimhulu Musini wrote: >> snic_trc.h contains global trace structure definitions for snic driver >> >> snic_t

Re: [PATCH 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-03-11 Thread Narsimhulu Musini (nmusini)
Hi Hannes, Thanks for reviewing the patch. Please find responses inline. I will incorporate the changes in next patch submittal. On 02/03/15 7:05 pm, "Hannes Reinecke" wrote: >On 02/10/2015 05:43 PM, Narsimhulu Musini wrote: >> Kconfig for kbuild >> Make

Re: [PATCH 1/9] snic: snic module infrastructure

2015-03-11 Thread Narsimhulu Musini (nmusini)
Hi Hannes, Thank you for reviewing patches. Please find responses inline. I will incorporate the comments and suggestions in next patch submittal. On 02/03/15 6:09 pm, "Hannes Reinecke" wrote: >Hi Narsimhulu, > >please find comments inline. > >On 02/10/2015 05:43 PM

Re: [PATCH 3/9] snic:Add meta request, handling of meta requests.

2015-03-11 Thread Narsimhulu Musini (nmusini)
Hi Hannes, Thank you for reviewing the patch. On 02/03/15 6:26 pm, "Hannes Reinecke" wrote: >On 02/10/2015 05:43 PM, Narsimhulu Musini wrote: >> snic_io.h contains meta request structure definition >> meta request contains high level information about firmware req

Re: [PATCH v2 1/9] snic: snic module infrastructure

2015-03-11 Thread Narsimhulu Musini (nmusini)
Hi Julian Calby, Sure, thanks. Thanks Narsimhulu On 12/03/15 7:13 am, "Julian Calaby" wrote: >Hi simha, > >On Thu, Mar 12, 2015 at 12:37 PM, Narsimhulu Musini (nmusini) > wrote: >> Hi, >> >> Thanks for pointing the change log location. Do you sugge

  1   2   >