Commit b27bce7
scsi: ibmvfc: Limit max hw queues by num_online_cpus()
An LPAR could potentially be configured with a small logical cpu count that
is less then the default hardware queue max. Ensure that we don't allocate
more hw queues than available cpus.
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Link: https://lore.kernel.org/r/20230921225435.3537728-4-tyreld@linux.ibm.com
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent e1a4e0d commit b27bce7
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6261 | 6261 | | |
6262 | 6262 | | |
6263 | 6263 | | |
6264 | | - | |
| 6264 | + | |
| 6265 | + | |
6265 | 6266 | | |
6266 | 6267 | | |
6267 | 6268 | | |
| |||
0 commit comments