aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/qedf
diff options
context:
space:
mode:
authorChad Dupuis2017-05-31 06:34:01 -0700
committerMartin K. Petersen2017-06-12 20:48:06 -0400
commit6088cfaafba205139f57aaffd8480c2f8b141dca (patch)
treef9e6ed73ee60b3e660e0a3561e670bea19303205 /drivers/scsi/qedf
parenta7746f1e01d05066135a3c3ac7e8a857cab68ba7 (diff)
scsi: qedf: Add change_queue_depth member to scsi_host_template().
Add the change_queue_depth member to our SCSI host template so the queue depth of devices attached to qedf can be changed dynamically. Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedf')
-rw-r--r--drivers/scsi/qedf/qedf_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c
index ed4bca1231a2..5842676e3b71 100644
--- a/drivers/scsi/qedf/qedf_main.c
+++ b/drivers/scsi/qedf/qedf_main.c
@@ -722,6 +722,7 @@ static struct scsi_host_template qedf_host_template = {
.dma_boundary = QED_HW_DMA_BOUNDARY,
.sg_tablesize = QEDF_MAX_BDS_PER_CMD,
.can_queue = FCOE_PARAMS_NUM_TASKS,
+ .change_queue_depth = scsi_change_queue_depth,
};
static int qedf_get_paged_crc_eof(struct sk_buff *skb, int tlen)