summaryrefslogtreecommitdiff
path: root/drivers/scsi/qedi
diff options
context:
space:
mode:
authormanish.rangankar@cavium.com <manish.rangankar@cavium.com>2017-05-19 11:33:16 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-05-24 05:16:43 +0300
commitfc2fbf0d422b54b487c5e7413acd54cbac6d4151 (patch)
tree969ed0a3cded0f066633f8333238dd4ac09cb2f1 /drivers/scsi/qedi
parent5e901d0b15c0cba8c5ba55e4be46fc5a0e2f3cb9 (diff)
downloadlinux-fc2fbf0d422b54b487c5e7413acd54cbac6d4151.tar.xz
scsi: qedi: Correctly set firmware max supported BDs.
Signed-off-by: Manish Rangankar <manish.rangankar@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedi')
-rw-r--r--drivers/scsi/qedi/qedi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qedi/qedi.h b/drivers/scsi/qedi/qedi.h
index 5ca3e8c28a3f..269dac620cf8 100644
--- a/drivers/scsi/qedi/qedi.h
+++ b/drivers/scsi/qedi/qedi.h
@@ -38,7 +38,7 @@ struct qedi_endpoint;
#define QEDI_MAX_ISCSI_TASK 4096
#define QEDI_MAX_TASK_NUM 0x0FFF
#define QEDI_MAX_ISCSI_CONNS_PER_HBA 1024
-#define QEDI_ISCSI_MAX_BDS_PER_CMD 256 /* Firmware max BDs is 256 */
+#define QEDI_ISCSI_MAX_BDS_PER_CMD 255 /* Firmware max BDs is 255 */
#define MAX_OUSTANDING_TASKS_PER_CON 1024
#define QEDI_MAX_BD_LEN 0xffff