[PATCH 04/10] fnic: Fix SGEs limit

2013-02-12 Thread Hiral Patel
Driver allows IOs with more SGEs than max SGEs supported by Palo. The current 
max SGEs
supported by the fnic driver is 1024. The current register settings on Palo 
supports
a max of 256 only. Palo would return any IO with more than 256 SGEs with an 
error
indicating INVALID_SGLS. Fnic driver should limit the max supported SGLs in
the driver to 256 to avoid this error.

Signed-off-by: Sesidhar Baddela 
Signed-off-by: Hiral Patel 
---
 drivers/scsi/fnic/fnic_io.h |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/fnic/fnic_io.h b/drivers/scsi/fnic/fnic_io.h
index f0b8969..3455c34 100644
--- a/drivers/scsi/fnic/fnic_io.h
+++ b/drivers/scsi/fnic/fnic_io.h
@@ -21,7 +21,7 @@
 #include 
 
 #define FNIC_DFLT_SG_DESC_CNT  32
-#define FNIC_MAX_SG_DESC_CNT1024/* Maximum descriptors per sgl */
+#define FNIC_MAX_SG_DESC_CNT256 /* Maximum descriptors per sgl */
 #define FNIC_SG_DESC_ALIGN  16  /* Descriptor address alignment */
 
 struct host_sg_desc {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 04/10] fnic: Fix SGEs limit

2013-01-29 Thread Hiral Patel
Driver allows IOs with more SGEs than max SGEs supported by Palo. The current 
max SGEs
supported by the fnic driver is 1024. The current register settings on Palo 
supports
a max of 256 only. Palo would return any IO with more than 256 SGEs with an 
error
indicating INVALID_SGLS. Fnic driver should limit the max supported SGLs in
the driver to 256 to avoid this error.

Signed-off-by: Sesidhar Baddela 
Signed-off-by: Hiral Patel 
---
 drivers/scsi/fnic/fnic_io.h |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/fnic/fnic_io.h b/drivers/scsi/fnic/fnic_io.h
index f0b8969..3455c34 100644
--- a/drivers/scsi/fnic/fnic_io.h
+++ b/drivers/scsi/fnic/fnic_io.h
@@ -21,7 +21,7 @@
 #include 
 
 #define FNIC_DFLT_SG_DESC_CNT  32
-#define FNIC_MAX_SG_DESC_CNT1024/* Maximum descriptors per sgl */
+#define FNIC_MAX_SG_DESC_CNT256 /* Maximum descriptors per sgl */
 #define FNIC_SG_DESC_ALIGN  16  /* Descriptor address alignment */
 
 struct host_sg_desc {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 04/10] fnic: Fix SGEs limit

2012-12-10 Thread Hiral Patel
Driver allows IOs with more SGEs than max SGEs supported by Palo. The current 
max SGEs
supported by the fnic driver is 1024. The current register settings on Palo 
supports
a max of 256 only. Palo would return any IO with more than 256 SGEs with an 
error
indicating INVALID_SGLS. Fnic driver should limit the max supported SGLs in
the driver to 256 to avoid this error.

Signed-off-by: Sesidhar Baddela 
Signed-off-by: Hiral Patel 
---
 drivers/scsi/fnic/fnic_io.h |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/fnic/fnic_io.h b/drivers/scsi/fnic/fnic_io.h
index f0b8969..3455c34 100644
--- a/drivers/scsi/fnic/fnic_io.h
+++ b/drivers/scsi/fnic/fnic_io.h
@@ -21,7 +21,7 @@
 #include 
 
 #define FNIC_DFLT_SG_DESC_CNT  32
-#define FNIC_MAX_SG_DESC_CNT1024/* Maximum descriptors per sgl */
+#define FNIC_MAX_SG_DESC_CNT256 /* Maximum descriptors per sgl */
 #define FNIC_SG_DESC_ALIGN  16  /* Descriptor address alignment */
 
 struct host_sg_desc {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html