diff options
| author | Xiang Chen <chenxiang66@hisilicon.com> | 2018-12-06 21:34:42 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-12-12 21:23:17 -0500 |
| commit | 6db831f4ef764ca19d7300d56ab9455af3cb930d (patch) | |
| tree | 1babfdcebac6b223c44a4546764a99ee15de3424 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | scsi: hisi_sas: Relocate some code to reduce complexity (diff) | |
| download | linux-6db831f4ef764ca19d7300d56ab9455af3cb930d.tar.gz linux-6db831f4ef764ca19d7300d56ab9455af3cb930d.zip | |
scsi: hisi_sas: Make sg_tablesize consistent value
Sht->sg_tablesize is set in the driver, and it will be assigned to
shost->sg_tablesize in SCSI mid-layer. So it is not necessary to assign
shost->sg_table one more time in the driver.
In addition to the change, change each scsi_host_template.sg_tablesize
to HISI_SAS_SGE_PAGE_CNT instead of SG_ALL.
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
