diff options
| author | James Smart <jsmart2021@gmail.com> | 2019-08-14 16:57:11 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-19 22:41:12 -0400 |
| commit | c00f62e6c5468ed0673c583f1ff284274e817410 (patch) | |
| tree | cc3d9054a97252f7fe0358461acb76138c58fbd3 /tools/perf/scripts/python | |
| parent | scsi: lpfc: Add NVMe sequence level error recovery support (diff) | |
| download | linux-c00f62e6c5468ed0673c583f1ff284274e817410.tar.gz linux-c00f62e6c5468ed0673c583f1ff284274e817410.zip | |
scsi: lpfc: Merge per-protocol WQ/CQ pairs into single per-cpu pair
Currently, each hardware queue, typically allocated per-cpu, consists of a
WQ/CQ pair per protocol. Meaning if both SCSI and NVMe are supported 2
WQ/CQ pairs will exist for the hardware queue. Separate queues are
unnecessary. The current implementation wastes memory backing the 2nd set
of queues, and the use of double the SLI-4 WQ/CQ's means less hardware
queues can be supported which means there may not always be enough to have
a pair per cpu. If there is only 1 pair per cpu, more cpu's may get their
own WQ/CQ.
Rework the implementation to use a single WQ/CQ pair by both protocols.
Signed-off-by: Dick Kennedy <dick.kennedy@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')
0 files changed, 0 insertions, 0 deletions
