]> git.baikalelectronics.ru Git - kernel.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)
commit2743520b8b046adab54bdd5803e847924ea6874b
tree0d890cc0f393a7adb02ca117f4808aacb32ff665
parenta8a54d0c05089bb02654d3c0aed63fe0abd425d8
[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