diff options
author | Wen Xiong <wenxiong@linux.vnet.ibm.com> | 2016-07-12 17:02:08 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-07-13 22:40:24 -0400 |
commit | cb05cbb389cd162db2d79e82ffaacc2451296ec2 (patch) | |
tree | fbf20c5fe637f6a0deec4de4975b15563e5d8f28 | |
parent | 00da9ffa3900d734e821f6b152faef88a5f0f304 (diff) |
ipr: Increase MSIX vectors number
Increase MSIX vectors from 2 to 16 by default.
Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r-- | drivers/scsi/ipr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 01dc06562769..1f539c288ae8 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -98,7 +98,7 @@ static unsigned int ipr_transop_timeout = 0; | |||
98 | static unsigned int ipr_debug = 0; | 98 | static unsigned int ipr_debug = 0; |
99 | static unsigned int ipr_max_devs = IPR_DEFAULT_SIS64_DEVS; | 99 | static unsigned int ipr_max_devs = IPR_DEFAULT_SIS64_DEVS; |
100 | static unsigned int ipr_dual_ioa_raid = 1; | 100 | static unsigned int ipr_dual_ioa_raid = 1; |
101 | static unsigned int ipr_number_of_msix = 2; | 101 | static unsigned int ipr_number_of_msix = 16; |
102 | static unsigned int ipr_fast_reboot; | 102 | static unsigned int ipr_fast_reboot; |
103 | static DEFINE_SPINLOCK(ipr_driver_lock); | 103 | static DEFINE_SPINLOCK(ipr_driver_lock); |
104 | 104 | ||
@@ -222,7 +222,7 @@ module_param_named(max_devs, ipr_max_devs, int, 0); | |||
222 | MODULE_PARM_DESC(max_devs, "Specify the maximum number of physical devices. " | 222 | MODULE_PARM_DESC(max_devs, "Specify the maximum number of physical devices. " |
223 | "[Default=" __stringify(IPR_DEFAULT_SIS64_DEVS) "]"); | 223 | "[Default=" __stringify(IPR_DEFAULT_SIS64_DEVS) "]"); |
224 | module_param_named(number_of_msix, ipr_number_of_msix, int, 0); | 224 | module_param_named(number_of_msix, ipr_number_of_msix, int, 0); |
225 | MODULE_PARM_DESC(number_of_msix, "Specify the number of MSIX interrupts to use on capable adapters (1 - 16). (default:2)"); | 225 | MODULE_PARM_DESC(number_of_msix, "Specify the number of MSIX interrupts to use on capable adapters (1 - 16). (default:16)"); |
226 | module_param_named(fast_reboot, ipr_fast_reboot, int, S_IRUGO | S_IWUSR); | 226 | module_param_named(fast_reboot, ipr_fast_reboot, int, S_IRUGO | S_IWUSR); |
227 | MODULE_PARM_DESC(fast_reboot, "Skip adapter shutdown during reboot. Set to 1 to enable. (default: 0)"); | 227 | MODULE_PARM_DESC(fast_reboot, "Skip adapter shutdown during reboot. Set to 1 to enable. (default: 0)"); |
228 | MODULE_LICENSE("GPL"); | 228 | MODULE_LICENSE("GPL"); |