mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
scsi: megaraid_sas: Enable msix_load_balance for Invader and later controllers
Load balancing IO completions across all available MSI-X vectors should be
enabled for Invader and later generation controllers only. This needs to
be disabled for older controllers. Add an adapter type check before
setting msix_load_balance flag.
Fixes: 1d15d9098a
("scsi: megaraid_sas: Load balance completions across all MSI-X")
Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
c8f96df5b8
commit
1175b88452
1 changed files with 2 additions and 1 deletions
|
@ -5945,7 +5945,8 @@ static int megasas_init_fw(struct megasas_instance *instance)
|
||||||
instance->is_rdpq = (scratch_pad_1 & MR_RDPQ_MODE_OFFSET) ?
|
instance->is_rdpq = (scratch_pad_1 & MR_RDPQ_MODE_OFFSET) ?
|
||||||
1 : 0;
|
1 : 0;
|
||||||
|
|
||||||
if (!instance->msix_combined) {
|
if (instance->adapter_type >= INVADER_SERIES &&
|
||||||
|
!instance->msix_combined) {
|
||||||
instance->msix_load_balance = true;
|
instance->msix_load_balance = true;
|
||||||
instance->smp_affinity_enable = false;
|
instance->smp_affinity_enable = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue