Increase the default number of commands that the driver tells the
SCSI mid-layer it can do to increase the default performance of the
driver.

Signed-off-by: Chad Dupuis <chad.dup...@cavium.com>
---
 drivers/scsi/qedf/qedf_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c
index 340cf74..bc85c56 100644
--- a/drivers/scsi/qedf/qedf_main.c
+++ b/drivers/scsi/qedf/qedf_main.c
@@ -708,7 +708,7 @@ static int qedf_slave_configure(struct scsi_device *sdev)
        .module         = THIS_MODULE,
        .name           = QEDF_MODULE_NAME,
        .this_id        = -1,
-       .cmd_per_lun    = 3,
+       .cmd_per_lun    = 32,
        .use_clustering = ENABLE_CLUSTERING,
        .max_sectors    = 0xffff,
        .queuecommand   = qedf_queuecommand,
-- 
1.8.5.6

Reply via email to