scsi: mpt3sas: Improve the threshold value and introduce module param
authorSuganath Prabu <suganath-prabu.subramani@broadcom.com>
Fri, 15 Feb 2019 07:40:29 +0000 (02:40 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 18 Mar 2019 21:16:44 +0000 (17:16 -0400)
commit288addd63b2478e8bd6d0bb7786a2eeb53bb2986
tree35cb379b1a63b07a3c83b404cf4f9ddab726b327
parent51e3b2ad6de2b135d0fc7170f1b133f4e7a7639d
scsi: mpt3sas: Improve the threshold value and introduce module param

* Reduce the threshold value to 1/4 of the queue depth.

* With this FW can find enough entries to post the Reply Descriptors in the
  reply descriptor post queue.

* With module param, user can play with threshold value, the same
  irqpoll_weight is used as the budget in processing of reply descriptor
  post queues in _base_process_reply_queue.

Signed-off-by: Suganath Prabu <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.h