linux/drivers/scsi/hisi_sas
John Garry c7669f5012 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>
2019-06-18 19:46:24 -04:00
..
hisi_sas_main.c scsi: hisi_sas: Delete PHY timers when rmmod or probe failed 2019-06-18 19:46:24 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: Some misc tidy-up 2019-04-12 21:30:12 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Fix the issue of argument mismatch of printing ecc errors 2019-06-18 19:46:24 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Fix the issue of argument mismatch of printing ecc errors 2019-06-18 19:46:24 -04:00
hisi_sas.h scsi: hisi_sas: Reduce HISI_SAS_SGE_PAGE_CNT in size 2019-06-18 19:46:24 -04:00
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00