aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2018-01-30 15:58:45 -0800
committerMartin K. Petersen <[email protected]>2018-02-12 11:43:22 -0500
commit04673e38f56b30cd39b1fa0f386137d818b17781 (patch)
treec54093f177e6a73f17533b004b88ad854d56c595 /tools/perf/scripts/python
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
scsi: lpfc: Fix frequency of Release WQE CQEs
The driver controls when the hardware sends completions that communicate consumption of elements from the WQ. This is done by setting a WQEC bit on a WQE. The current driver sets it on every Nth WQE posting. However, the driver isn't clearing the bit if the WQE is reused. Thus, if the queue depth isn't evenly divisible by N, with enough time, it can be set on every element, creating a lot of overhead and risking CQ full conditions. Correct by clearing the bit when not setting it on an Nth element. Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions