scsi: mpi3mr: Reduce VD queue depth on detecting throttling
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Fri, 8 Jul 2022 19:50:20 +0000 (01:20 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Jul 2022 03:03:28 +0000 (23:03 -0400)
commitcf1ce8b715240e3e4a86162788958444e9208472
tree7c76bd694c2f1382d326b7cc86ca5b646521ac36
parentf10af057325c251c0dfcba7f3e3b607634d0bb25
scsi: mpi3mr: Reduce VD queue depth on detecting throttling

Reduce the VD queue depth on detecting the throttling condition.

[mkp: incorporate fix for pointer cast issue reported by the test
robot and Guenter Roeck]

Link: https://lore.kernel.org/r/20220708195020.8323-3-sreekanth.reddy@broadcom.com
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpi3mr/mpi3mr.h
drivers/scsi/mpi3mr/mpi3mr_fw.c
drivers/scsi/mpi3mr/mpi3mr_os.c