]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] mpt3sas: Added a driver module parameter max_msix_vectors
authorSreekanth Reddy <Sreekanth.Reddy@lsi.com>
Wed, 14 Aug 2013 12:53:20 +0000 (18:23 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 3 Sep 2013 14:27:55 +0000 (07:27 -0700)
commit9c5000606d2a0dda8de892ac00b1bcf44b1834f6
tree0d890cc0f393a7adb02ca117f4808aacb32ff665
parenta9623da05f8a2930fadafd27fe621b16886b259d
[SCSI] mpt3sas: Added a driver module parameter max_msix_vectors

Added a driver module parameter max_msix_vectors. Using this module parameter
the maximum number of MSI-X vectors could be set.

The number of MSI-X vectors used would be the minimum of MSI-X vectors
supported by the HBA, the number of CPU cores and the value set to
max_msix_vectors module parameter.

The default value of this module parameter is set to 8. The default value of
this parameter is set to 8 inorder to reduce the amount of memory required for
Reply Descriptor Post queue.  This is because with the higher MSI-X vectors,
some times kernel is not able to allocate the requested amount of memory and
crash is observed. To overcome this problem, the default value is set to 8.

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt3sas/mpt3sas_base.c