summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi2012-12-22 04:40:33 +0100
committerJames Bottomley2013-01-30 00:48:49 +0100
commitd450d778cd263dd2ea04b93b1420e8cf49866404 (patch)
tree418853a0f8074ed24cf23d50948c1e63e7e5f382
parent[SCSI] bnx2fc: Tx/Rx byte counts reset to 0 when exceeding 32 bit values (diff)
downloadkernel-qcow2-linux-d450d778cd263dd2ea04b93b1420e8cf49866404.tar.gz
kernel-qcow2-linux-d450d778cd263dd2ea04b93b1420e8cf49866404.tar.xz
kernel-qcow2-linux-d450d778cd263dd2ea04b93b1420e8cf49866404.zip
[SCSI] bnx2fc: Support max IO size to 512KB
Increase max_sectors from 512 to 1024 in order to support max IO size of 512KB. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc_fcoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
index a2ffa9bf0ce9..e9d49bd7a694 100644
--- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
+++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
@@ -2667,7 +2667,7 @@ static struct scsi_host_template bnx2fc_shost_template = {
.can_queue = BNX2FC_CAN_QUEUE,
.use_clustering = ENABLE_CLUSTERING,
.sg_tablesize = BNX2FC_MAX_BDS_PER_CMD,
- .max_sectors = 512,
+ .max_sectors = 1024,
};
static struct libfc_function_template bnx2fc_libfc_fcn_templ = {