aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2019-05-29 17:58:44 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-06-18 19:46:24 -0400
commitc7669f50121ac43d33fe8fe7c38f737c6c35e323 (patch)
tree670a9626812eea646a31a690aa24797ee23ba2f0 /tools/perf/scripts/python
parentscsi: hisi_sas: Fix the issue of argument mismatch of printing ecc errors (diff)
downloadlinux-c7669f50121ac43d33fe8fe7c38f737c6c35e323.tar.gz
linux-c7669f50121ac43d33fe8fe7c38f737c6c35e323.zip
scsi: hisi_sas: Reduce HISI_SAS_SGE_PAGE_CNT in size
Macro HISI_SAS_SGE_PAGE_CNT is defined to SG_CHUNK_SIZE, which is 128. This means that sizeof(struct hisi_sas_slot_buf_table) is 4192. This is just over a 4K, which can mean inefficient DMA memory usage (for no PI). Reduce the size of HISI_SAS_SGE_PAGE_CNT to 124 to fit in a 4K page. With this change, we experience no performance hit. Cc: dann frazier <dann.frazier@canonical.com> Signed-off-by: John Garry <john.garry@huawei.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