diff options
author | 2021-04-11 18:31:21 -0700 | |
---|---|---|
committer | 2021-04-13 01:39:14 -0400 | |
commit | d3de0d11a219f32b185d525cca2568817e22d3a1 (patch) | |
tree | e7c73d6baedd629ee15ce0f00eaa4f70921a4c0a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: lpfc: Fix missing FDMI registrations after Mgmt Svc login (diff) | |
download | wireguard-linux-d3de0d11a219f32b185d525cca2568817e22d3a1.tar.xz wireguard-linux-d3de0d11a219f32b185d525cca2568817e22d3a1.zip |
scsi: lpfc: Fix lpfc_hdw_queue attribute being ignored
The lpfc_hdw_queue attribute is to set the number of hardware queues to be
created on the adapter. Normally, the value is set to a default, which
allows the hw queue count to be sized dynamically based on adapter
capabilities, CPU/platform architecture, or CPU type. Currently, when
lpfc_hdw_queue is set to a specific value, is has no effect and the dynamic
sizing occurs.
The routine checking whether parameters are default or not ignores the
lpfc_hdw_queue setting and invokes the dynamic logic.
Fix the routine to additionally check the lpfc_hdw_queue attribute value
before using dynamic scaling. Additionally, SLI-3 supports only a small
number of queues with dedicated functions, thus it needs to be exempted
from the variable scaling and set to the expected values.
Link: https://lore.kernel.org/r/20210412013127.2387-11-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions